General information
Forum:
Microsoft SQL Server
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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only