|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Tuesday, June 19, 2012 10:53 PM
Points: 544,
Visits: 62
|
|
|
|
|
|
Right there with Babe
      
Group: General Forum Members
Last Login: 2 days ago @ 9:18 AM
Points: 772,
Visits: 1,825
|
|
Great script. Keep up the good work.
My only difficulty is that xpcommandshell is forbidden at some of my production sites.
ATB
Charles Kincaid
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, November 04, 2009 5:14 PM
Points: 1,
Visits: 0
|
|
Okay I seem to be missing something here, the query seems to fail at the SET command. May seem like a silly question but I am failing to also see where the query gets inputted into all this. Can some one please help...the description of the script sounds like a perfect fit for what I am trying to do. I have 3 sql scripts that I have to run in order to get a output which I copy paste into txt file. This script sounds like it would eliminate that problem.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, March 24, 2010 2:00 PM
Points: 1,
Visits: 3
|
|
What is the max size of the file that can be created using this method? I am trying to write a text file in more or less same manner, but it wont write file above 2 MB and the table contents would definitely make the file size go upto or > 10 MB.
Please suggest.
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Tuesday, April 09, 2013 1:20 PM
Points: 936,
Visits: 1,184
|
|
Nice script! As an alternate workaround you could also make use of bcp command.
Thanks
Amol Naik
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: 2 days ago @ 2:10 PM
Points: 19,
Visits: 78
|
|
This seems to be nice. However, I ahve a question. I am trying to get SQL to create a tab delimited text file but I keep getting a comma delimited text file with the stored procedure I use. Now, I am wondering what kind of text file is created using the code you have given also will it be possible to specify what kind of text file can be output? Thank you, Asha
|
|
|
|