I want to create a text file from SQL - something like this..
DECLARE @A_FLD AS CHAR(5), @B_FLD AS CHAR(7)
SET @A_FLD = 'HI'
SET @B_FLD = 'MOM'
EXEC xp_<?????> FILENAME, @A + @B + '!'
The result must be...
'HI...MOM....!' in the text file.
Is there a simple way short of building an active-x control for this need?
DECLARE @A_FLD AS CHAR(5), @B_FLD AS CHAR(7)
SET @A_FLD = 'HI'
SET @B_FLD = 'MOM'
EXEC xp_<?????> FILENAME, @A + @B + '!'
The result must be...
'HI...MOM....!' in the text file.
Is there a simple way short of building an active-x control for this need?