I need to pass 2 parameter to SP/function to return date
I will be passing the tableName and DateValue in return I should be getting the max(dt_date) from tableName can anyone help me in building this simple logic
create function fun( @tableName varchar(250), dtdate datetime) return datetime begin end create function sproc( @tableName varchar(250), dtdate datetime) As begin end
Neil