Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass 2 SQL commands
Message
 
 
À
20/03/2003 12:58:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00764600
Message ID:
00768203
Vues:
22
Yeap, but it isn't a Query, it is a Structured T-SQL procedure, for this you can create an temporal Stored Procedure, execute it & get the result cursor.



>Hi Esparta,

>Visual FoxPro execute local build of cursor!

>On Visual FoxPro
>Simple examples:

>BEGIN TRAN; SELECT .... -- ok

>IF ..... SELECT .... -- ok

>SET ... ; SELECT ... -- ok

>DECLARE @X INT; SET @X=1; select @X -- NONE CURSOR IS BUILD

>UPDATE/INSERT/DELETE ... ; SELECT @@IDENTITY -- NONE CURSOR IS BUILD

>-- BATCH MODE =.T.

>DECLARE @X INT; SELECT @@IDENTITY X; SET @X=1; SELECT @@IDENTITY Y
>-- 1 CURSOR AND 1 ERROR

>Fabio
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform