SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2006
    Location
    Cardiff, Wales. UK
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What does @ mean?

    A really elementary question, but what does the @ sign mean in a query?
    I'm trying to number each row in the query results and all the help online for MySQL shows this kind of thing:
    Code SQL:
    SELECT @rownum := @rownum +1 AS COUNT
    but I don't know what the symbol means and I can't seem to find an explanation in either my book or online.

  2. #2
    SitePoint Enthusiast
    Join Date
    May 2006
    Location
    Cardiff, Wales. UK
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Duh, I just found an explanation! And yes, it was elementary!
    For writing a user defined variable...


Bookmarks

Posting Permissions

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