Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameters for stored procedures
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00168158
Message ID:
00168308
Views:
22
>I am trying to write some equivalent functions on SQL-Server that are available in VFP. When creating a procedure, it requires you to identify the data type coming in.
>
>In an example of the IIF(exp, val1, val2) function of vfp, you never know what the data types would be for Val1 and Val2.
>
>Is there a way to do a procedure with an unknown data type being passed in?
>
>TIA

I don't think so. You could make the parameters all varchar(255) and do a conversion if needed when sent to SQL Server.
DLC
DLC
"Use the Right Tool for the Job!"
davidandcynthia@email.com
Previous
Reply
Map
View

Click here to load this message in the networking platform