Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select Statement to get record number
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00858802
Message ID:
00858819
Views:
15
>Hey all,
>I am trying to do a select, similar to what I do in VFP.
>
>Select recno() as Record,* from myTable
>
>Can you tell me the syntax for this or is this even possible

SQL Server (well, RDMBS's) doesn't have a concept of record number, but if you need to show some kind of numerical ordering based on the order of the data desired, you can do this

http://support.microsoft.com/default.aspx?scid=KB;EN-US;q186133
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform