Hi everyone.
I am fairly new to using stored procedures but for the past few days I've been reading up on them and I need to do the following:
Get all the table names from the sysobjects table
Take all of those names and use them as the table name in the SELECT command
Process each table individually.
I also need to be able to either output a view or have the stored procedure output all the rows that it has processed.
I've done some reading on using cursor and I think thats the way I want to go but I'm really not sure where to go. If anyone has any ideas on how to do this or could just point me in the right direction, it would be greatly appreciated.
Thanks.