Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL2000 - querying from temp cursor on SQL 2000
Message
 
 
To
28/07/2003 16:38:38
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00814318
Message ID:
00814415
Views:
11
Dean,

Are you sure that temp table is created by first query? Can you run following simple test code
lcSql = "SELECT * INTO #temp FROM Northwind.dbo.products"
? SqlExec(lnConn, lcSql )
lcSql = "SELECT * FROM #temp"
? SqlExec(lnConn, lcSql, "aaa")
>it returns a -1 when we try to query from the temp table "...ODBC SQL Server Invalid object name '#ccustno'"
>
>
>Thanks Sergey.
>
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform