Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. what @ mean in sql statement?

what @ mean in sql statement?

Scheduled Pinned Locked Moved C#
questiondatabase
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    ShiroAmada123
    wrote on last edited by
    #1

    I see someone coding today. I found that his SQL statement got @ symbol in front of it. what is @ that mean? Examples Coding:- sqlText = @"SELECT DISTINCT TOP 100 PERCENT dbo.Member.id, ========================================= what is the @ meaning and why need it?? any one can tell me. Thank you^^

    A 1 Reply Last reply
    0
    • S ShiroAmada123

      I see someone coding today. I found that his SQL statement got @ symbol in front of it. what is @ that mean? Examples Coding:- sqlText = @"SELECT DISTINCT TOP 100 PERCENT dbo.Member.id, ========================================= what is the @ meaning and why need it?? any one can tell me. Thank you^^

      A Offline
      A Offline
      autekre
      wrote on last edited by
      #2

      Its not the sql statement with the @ in, the @ signifies that its a verbatim literal string iirc.

      S 1 Reply Last reply
      0
      • A autekre

        Its not the sql statement with the @ in, the @ signifies that its a verbatim literal string iirc.

        S Offline
        S Offline
        ShiroAmada123
        wrote on last edited by
        #3

        o.. thank a lot^^ now i understand already~~

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups