Output query result to a file?

Hi,

Is there any method to save the sql query result to a file? I mean auto save the result to the folder. any sql query command to do so?

p/s: I am running php webpage and connect to MS SQL database with setting the query command in php page(it's ok to run the MS SQL query command in my php page).

Thanks in advance!
keekehhungAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Shanmuga SundaramConnect With a Mentor Director of Software EngineeringCommented:
0
 
Shanmuga SundaramDirector of Software EngineeringCommented:
You can use the Mckoi JDBCScriptTool command to do this.
0
 
Ken SelviaConnect With a Mentor RetiredCommented:
OSQL.EXE is a dos command line query tool that is installed with the SQL client. It can also save query results to a file.
BPC.EXE is a similar tool
0
All Courses

From novice to tech pro — start learning today.