G
Guest
Hi all, I've written a recursive stored procedure that will navigate one of my tables in a hierarchical fashion.
When I run the stored procedure within query analyzer it returns the proper data.
However, when I "fill" the DataSet with them - there only appears to be one row of data.
I should also add that instead of returning the data using a "select <column(s) from <table_name>" I'm using a cursor data type and am returning the data using this syntax:
select <local_variable1> as <name of first column in table>, <local_variable2> as <name of second column in table>
The proper data must be filling the dataset (since the stored procedure returns the right data when I execute it from within query analyzer). But I'm just not certain of how to get at it.
Thanks,
Novice
When I run the stored procedure within query analyzer it returns the proper data.
However, when I "fill" the DataSet with them - there only appears to be one row of data.
I should also add that instead of returning the data using a "select <column(s) from <table_name>" I'm using a cursor data type and am returning the data using this syntax:
select <local_variable1> as <name of first column in table>, <local_variable2> as <name of second column in table>
The proper data must be filling the dataset (since the stored procedure returns the right data when I execute it from within query analyzer). But I'm just not certain of how to get at it.
Thanks,
Novice