Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stored Procedure
Message
 
To
21/01/1999 15:51:09
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00178605
Message ID:
00178707
Views:
34
>Nope....the "execute" is implied.
>
>>Should it be: SQLEXEC(nConn,"execute sp_whatever") ?
>>
>>>Hmmm, Mark
>>>
>>>I mean, it's pretty clear cut. I've used SQLEXEC(nConn,"sp_whatever") many times. Are you sure you have a good connection and a good proc name?
>>>
>>>>Does not work. SQLEXEC does not recognize sp name and returns -1.
>>>>Mark

If it is a user defined stored procedure, make sure that the procedure has been granted to all users, if not, it won't be visible to anyone... And with respect to "EXEC sp_name", it was required for me just for purpose of using "sp_helpindexes" which is a system stored procedure.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform