CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2004
    Location
    South Africa
    Posts
    48

    Access has comments?

    Hey guys, I was just wondering what the code is for comments in an Access query. I know sql uses -- for comments, but this doesn't seem to work in Access.

    The reason I ask is I'm going thru all db code to make sure there's no possibility of SQL injection anywhere and I need to know what character combinations to watch out for.

    Thanks in advance

  2. #2
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210
    Hi
    as far as i know there is no comments in access
    i tried to find a way do make them but no way.

  3. #3
    Join Date
    Jun 2001
    Location
    Mi
    Posts
    1,249

    Re: Access has comments?

    Originally posted by Octavo
    Hey guys, I was just wondering what the code is for comments in an Access query. I know sql uses -- for comments, but this doesn't seem to work in Access.

    The reason I ask is I'm going thru all db code to make sure there's no possibility of SQL injection anywhere and I need to know what character combinations to watch out for.

    Thanks in advance
    What do you mean by comments?

  4. #4
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210

    Re: Re: Access has comments?

    Originally posted by M Owen
    What do you mean by comments?
    he wants to know if it's possible to comment out a part ofthe sql statement using comments like :
    // and /* */ in c++
    and
    ' or REM in vb
    or -- in sql server

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured