Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return a value from an SQL procedure
Message
From
30/12/2005 14:56:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Return a value from an SQL procedure
Miscellaneous
Thread ID:
01082155
Message ID:
01082155
Views:
40
Hi

I'm trying to return a value from an SQL procedure without much luck. My SQL procedure has the following code in it

CREATE Procedure Test
AS
return(-99)
GO

I'm using VFP to call this procedure:

=SQLExec(lnConnection, "execute myDatabase.dbo.Test", lnReturn)

Any ideas why this doesn't work?

Regards
Next
Reply
Map
View

Click here to load this message in the networking platform