DennisTheMenace
IS-IT--Management
Can I use Query Analyser from Enterprise Manager to
- execute a stored procedure
- have those records in a recordset
While Not rs.eof
- execute another SP to delete related
in another table based on recordset("idrecord"
- execute a third SP to delete the original record
from the the recordset("idrecord"
Movenext
loop
I am new to scripts. When I execute the one line script:
execute sp_RetrieveEmptyRecords
It simply displays them in the results window and not a recordset that I can scroll thru. A very simple sample would GREATLY be appreciated.
Thanks! =====================
Dennis B
Remember - YOU ARE UNIQUE!!!... Just like EVERYONE ELSE! ;o)
- execute a stored procedure
- have those records in a recordset
While Not rs.eof
- execute another SP to delete related
in another table based on recordset("idrecord"

- execute a third SP to delete the original record
from the the recordset("idrecord"

Movenext
loop
I am new to scripts. When I execute the one line script:
execute sp_RetrieveEmptyRecords
It simply displays them in the results window and not a recordset that I can scroll thru. A very simple sample would GREATLY be appreciated.
Thanks! =====================
Dennis B
Remember - YOU ARE UNIQUE!!!... Just like EVERYONE ELSE! ;o)