Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SPT equiv of RECNO in SQL Server & use no. in the temptable
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
SPT equiv of RECNO in SQL Server & use no. in the temptable
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01155452
Message ID:
01155452
Views:
88
Hi I have a SQL statement in VFP which I am to convert to SQL Server SPT

SELECT localcursor.*, RECNO() AS record FROM localcursor INTO CURSOR localcursor

previously I have already created a temptable for this localcursor's original fields (the ones that are being *ed in this statement).

In short I have a temptable in SQL Server, now I have to add this RECNO() equiv. field in the temptable.

Is there any way to go about it.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Next
Reply
Map
View

Click here to load this message in the networking platform