Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select Statement of Stored Procedures
Message
 
 
To
24/10/2004 20:58:34
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00954157
Message ID:
00954161
Views:
17
>Is it possible to pass a select statement as a parameter on stored procedures?

Sure, as long as it doesn't exceed the varchar max lenght of 8000 bytes.

>The Idea is to create a Stored Procedure that will accept a Select Statement as a parameter from the calling program.
>
>The parameter will then be used in the stored procedure when declaring cursors.
>
>
>Ex. DECLARE mycur CURSOR FOR @selectparam (Something like this...)


Can you be more specific about what you're trying to do?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform