Viewing 5 posts - 1 through 5 (of 5 total)
I forgot to get add the code for the custom function ufn_quotestring() found at http://www.sommarskog.se/dynamic_sql.html
CREATE FUNCTION [dbo].[ufn_quotestring](@str nvarchar(1998)) RETURNS nvarchar(4000) AS
BEGIN
DECLARE @ret nvarchar(4000),
...
August 19, 2009 at 1:35 pm
Thanks winash,
I've adapted your solution to SQL Server 2000 and made it so that it could use any stored procedure and it seems to work great. This is definitely...
August 19, 2009 at 1:32 pm
Thanks John,
SSIS and many other client applications read the information into a recordset and then process it in a programming language other than SQL to get the column names. ...
August 19, 2009 at 10:20 am
It is kind of convoluted, but what do you all think of returning the results as XML then querying that XML for the column data? I have been trying...
August 18, 2009 at 5:26 pm
Thanks, I tried this, but it only gets me the same result set without any data. If I run this through a query tool then I see the column...
August 18, 2009 at 4:58 pm
Viewing 5 posts - 1 through 5 (of 5 total)