Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL2000 - querying from temp cursor on SQL 2000
Message
 
 
À
28/07/2003 16:38:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00814318
Message ID:
00814415
Vues:
12
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform