Hi Folks,
I have a table which table has :Identity Column (Identity), Schema name and Table_Name.
So I would like to write a cursor For each Table Count(*) from Table--@Cnt Int , Schemaname and Tablename need to store another table.
Implement a USP, using a cursor that scan the table, generate select count statement from configuration table and fire the select count statement and record the result of the query in the log table :
Can you please help me how can I write a cursor and Import Those results into to Another table. Can you please help me.
Thanks in Advance.
- Edited by Cherukuri19 19 hours 26 minutes ago