General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only