Dynamic table name in UDF

rmatthew

Well-known member
Joined
Dec 30, 2002
Messages
115
Location
Texas
I am atemptting the following

select @tstint = max(field) from @table

@table is passed in the UDF paramaters

I get the following: Must declare the variable @table.


What gives?
 
Back
Top