Hi troops
I have a sql procedure that queries the system tables, inserts column info into a temp table and then selects * fro xml auto from that temp table - temp table is then cleared up
I have a function to query system tables to work out what parents a table has according to tableID - this returns a table of tablenames for me to use
I want to combine the two so I can do one call to this first procedure which returns me an xml string of columns for alltables needed..
How can I combine the two effectively - Im thinking maybe cursors perhaps..
Thanks guys and gals
Nev G
I have a sql procedure that queries the system tables, inserts column info into a temp table and then selects * fro xml auto from that temp table - temp table is then cleared up
I have a function to query system tables to work out what parents a table has according to tableID - this returns a table of tablenames for me to use
I want to combine the two so I can do one call to this first procedure which returns me an xml string of columns for alltables needed..
How can I combine the two effectively - Im thinking maybe cursors perhaps..
Thanks guys and gals
Nev G