Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql problem, how can i return record row no in table all
Message
From
21/02/2012 02:25:34
 
 
To
20/02/2012 22:56:38
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01535912
Message ID:
01535916
Views:
40
>Hi all,
> I use vb.net and visual foxpro to database(.dbf). I want to write a function and return row no.
>for example, table and 5 record ( sysid sysname )
> 001 add
> 002 update
> 005 delete
> 009 save
> 100 print
>
>How can i do, Thank you ~~~
>
>

>
>select ??? from systable where sysname='delete'
>
>I want to return 3 (row 3 in table )
>


Hi
You can use CTE.
http://msdn.microsoft.com/en-us/library/ms190766.aspx
Help others is first think you must do.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform