limit 1
-
29. dubna 2012 8:02
How can I do this
SELECT * FROM MYTABLE WHERE THIS = @THIS LIMIT 1
Všechny reakce
-
29. dubna 2012 7:57
How can I do this
SELECT * FROM MYTABLE WHERE THIS = @THIS LIMIT 1
- Sloučený Papy NormandModerator 29. dubna 2012 14:41 Double thread with the same question and the same OP
-
29. dubna 2012 8:53
Hello,
That's MySQL syntax, in T-SQL you can use the TOP clause instead:
SELECT TOP 1 * FROM MYTABLE WHERE THIS = @THIS
Olaf Helper
* cogito ergo sum * errare humanum est * quote erat demonstrandum *
Wenn ich denke, ist das ein Fehler und das beweise ich täglich
Blog Xing- Navržen jako odpověď Ahmed Ibrahim - MSFTMicrosoft Employee, Moderator 29. dubna 2012 12:33
- Označen jako odpověď KJian_ 9. května 2012 3:17
-
29. dubna 2012 8:54See your double post: http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/c8371ef2-c4ec-4766-a4e3-8ad6c77213db
Olaf Helper
* cogito ergo sum * errare humanum est * quote erat demonstrandum *
Wenn ich denke, ist das ein Fehler und das beweise ich täglich
Blog Xing -
4. května 2012 11:49
Please check out the link here given for you.
http://dev.mysql.com/doc/refman/5.5/en/select.html