Insérer un commentaire dans une requête SQL Access

nrjindustries -  
 z -
Hello,

I'm trying to insert a simple comment in the SQL code of a simple query I typed in Access.
The standard -- doesn't seem to work, I'm getting a syntax error.
It shouldn't be that difficult, but I can't figure it out.
Could someone please tell me?

Thanks in advance?
Configuration: Windows XP Firefox 3.0

4 answers

  1. varfendell Posted messages 3259 Registration date   Status Member Last intervention   707
     
    Hello,

    Look here for the information:
    https://www.commentcamarche.net/contents/1062-le-langage-sql

    Otherwise, know that:
    It is possible to add comments using:

    * the character %. All characters that come after it on the same line will not be interpreted
    * the delimiters /* and */. All characters between the delimiters are considered comments

    --
    The truth belongs to those who seek it and not to those who claim to possess it.
    (don't forget to mark resolved if you have found your happiness: think of others^^')
    10
  2. TropMarreDACCESS
     
    None of the proposed comments work in ACCESS 2002:

    % does not work
    %% does not work
    /* does not work */
    -- does not work
    10
    1. Lol
       
      Try #
      0
  3. Invité
     
    Hahaha Xorad the useless who posts in reply but not the answer.
    8
  4. Xorad320
     
    Hello,

    Wouldn't your question be about SQL injection, by any chance?

    Well, in any case, you must not be very resourceful to post a question like that on a forum, but good luck.

    Xorad320
    -14
    1. test
       
      And "you don't have to be very resourceful" to respond to things like that.
      0
    2. z
       
      useless answer
      0