Write output to .sql file

Got a problem you cannot solve? Try here.
Speedy84
Posts: 18
Joined: Tue May 01, 2007 4:02 am

Write output to .sql file

Postby Speedy84 » Tue Jul 03, 2007 8:45 am

Is there a possibility to write the script output to an .sql file.

I need this to make a schedule task in windows to be executed and call a stored procedure to backup my SQL Express 2005 database.

But i can only write the output to an .txt file or an .ini file.

Edhy
Posts: 138
Joined: Sun Jul 31, 2005 4:09 pm
Location: New York, USA

Postby Edhy » Tue Jul 03, 2007 9:01 am

Hi,

I really don't know the answer to this, but maybe you could simply rename the resulting .txt file to .sql when the process is done.
Edhy Rijo
Thom Child and Family Services

jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Postby jimo » Tue Jul 03, 2007 4:25 pm

The write to text file command will write to any fielname, I do this all the time. The file does not have to have a txt extension in can have a sql extension, it's still a text file.
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 70 guests