We are using SQL Server 2005. I want to create the file of the output of the stored procedure.
相关问题
- What is the best way to cache a table from a (SQL)
- Lazily Reading a File in D
- DirectoryStream.Filter example for listing files t
- Replacing or recreating a file in Windows 8 RT kee
- SQL [Conversion to bool]
相关文章
- How to replace file-access references for a module
- Why is file_get_contents faster than memcache_get?
- Transactionally writing files in Node.js
- SQL Server 2008: Joining results of STORED PROCEDU
- Is SaveChanges() Necessary with Function Imports (
- Can I lazy load a navigation property by delegatin
- Getting the cluster size of a hard drive (through
- how to pass two parameters to call a stored proced
If you are using MySQL you may want to start from the following:
Borrowed from: MySQL Forums :: General :: SELECT .. INTO OUTFILE not possible with stored procedure parameters?
If you want to hardcode the filename in the stored procedure, then there is no need to use a prepared statement:
If you get a
Can't create/write to file
error, make sure to check the following reference: MySQL 5.1 Reference Manual :: Can't create/write to file.