我需要在执行MSSQL中的存储过程时更改exec命令的输出流,这样我就可以将输出写入套接字并远程获取,而不是文件。我将远程访问系统,因此无法访问除数据库之外的任何内容。因此我需要将数据放入我的套接字而不是文件。
exec命令的语法是:
exec sql_dump '-d (databasename) [-t (tablename)] [-f (outputfilename)] [-a] [-s]'
-d (databasename) : The database whose backup is to be taken -t (tablename) : This option is to be used if you need to take the structure or data belonging to a particular table only. [Optional - If omitted then all the tables are involved in the dump process] -f (outputfilenamewithpath) : This option is to be used if you need to specify the path and name of file to which dump is to be written. [Optional - If omitted then the dump is stored at the Backup folder found in the installation directory of MS SQL Server, with database name as the filename.] -s : Dumps the database Schema also. -a : Dumps the data found inside the database also.
任何人都可以帮我吗?
感谢。