Hi
How do we access Stored procedure output into a cursor variable?
For eg. I want to access the FKCOLUMN_NAME output given by the sp_fkeys stored procedure.
EXEC sp_fkeys @pktable_name = N'SCHOOL_DISTRICTS'
will list the foreign keys for SCHOOL_DISTRICTS table. But I want to store the FKCOLUMN_NAME output in a variable for further processing.
Mahesh
How do we access Stored procedure output into a cursor variable?
For eg. I want to access the FKCOLUMN_NAME output given by the sp_fkeys stored procedure.
EXEC sp_fkeys @pktable_name = N'SCHOOL_DISTRICTS'
will list the foreign keys for SCHOOL_DISTRICTS table. But I want to store the FKCOLUMN_NAME output in a variable for further processing.
Mahesh