Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stored procedure
Message
From
22/09/2005 10:26:36
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/09/2005 10:21:37
Atif Saeed Khan
Nextbridge Prvt Ltd.
Lahore, Pakistan
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01051966
Message ID:
01051969
Views:
7
>hi!
>
>will u plz tell me that, is it possible to have input parameter in the stored procedure like this.
>
>SELECT @MAX_NO FROM @TABLE_NAME
>
>where both @fields r input fields.

No. But you can build the select in the stored procedure (I don't suggest as it opens the gate to some security known as "SQL injection" - to say it simple you're making your databases guardless. Hackers would love that).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform