May 27, 2011 at 12:03 pm
Hi,
How do I Write query results in tab delimited file and push the file to ftp on daily basis as a sql agent job.
Thanks.
May 27, 2011 at 12:22 pm
Sounds like a simple SSIS package just waiting to be written ...
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
May 31, 2011 at 12:20 am
Use Bcp Utility for this,
create your format file without mentioning -t in format file
Thanks & Regards,
Prashant Avhad
May 31, 2011 at 12:28 am
prashavhad (5/31/2011)
Use Bcp Utility for this,create your format file without mentioning -t in format file
Thanks & Regards,
Prashant Avhad
How does this solution address the ftp requirement?
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
May 31, 2011 at 11:48 am
Hi Prashavhad,
Can you please give me more hint on creating bcp for this?
Thanks
May 31, 2011 at 11:50 am
ramadesai108 (5/31/2011)
Hi Prashavhad,Can you please give me more hint on creating bcp for this?
Thanks
Here's the very best link for this : http://tinyurl.com/3tblqmu
May 31, 2011 at 12:35 pm
May 31, 2011 at 1:10 pm
May 31, 2011 at 2:45 pm
What error are you getting or what is wrong with the output?
June 1, 2011 at 9:40 am
The problem was that I was having a line break within my select statement. I have it working now. Only thing that I need to do is to add column headers.
Thanks.
June 1, 2011 at 9:45 am
Did you manage to automate the FTP part? How did you do it?
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
June 1, 2011 at 10:22 am
I do not know how to ftp using cmdshell, so I wrote a webservice in .Net. Do you know a way to use cmdshell for ftp?
Thanks.
Viewing 13 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic. Login to reply