Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ids
Message
De
07/02/2002 15:36:34
 
 
À
07/02/2002 14:49:48
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Titre:
Re: Ids
Divers
Thread ID:
00616126
Message ID:
00616967
Vues:
25
I am calling a stored procedure from VFP.

sqlexec(nHandle, "{Call sp_GetNewKey}","nextid")
thisform.txtInvoice.value = nextid.newid


CREATE PROCEDURE sp_GetNewKey
AS

SELECT newid = @@identity
GO


How do I tell the stored procedure what table it is using? And to operate on insert?

Thank you.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform