Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro substitution
Message
From
21/04/2006 00:29:06
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
Macro substitution
Miscellaneous
Thread ID:
01115231
Message ID:
01115231
Views:
52
Hi
I want to write a generic stored procedure to get the max value in a field. In VFP I would do it something like
SELECT MAX(&lcField) FROM &lcTable
how should I do this as a stored procedure in SQL?

TIA
Stuart
Next
Reply
Map
View

Click here to load this message in the networking platform