Hi,
I was wandering if anyone could give me some help...
The idea is that I want to create a stored procedure that will check a bunch of tables and give me the latest 'LastUpdated' field
Something like:-
Select Max(LastUpdated )
from Table1
= @date1
Add Date1 to tempTable
Repeat for each table
And then get the max date of all dates in the temp table and return this...
Any Help would be much appreciated
I was wandering if anyone could give me some help...
The idea is that I want to create a stored procedure that will check a bunch of tables and give me the latest 'LastUpdated' field
Something like:-
Select Max(LastUpdated )
from Table1
= @date1
Add Date1 to tempTable
Repeat for each table
And then get the max date of all dates in the temp table and return this...
Any Help would be much appreciated
Comment