在存储过程中,能够将一些数据写入操作系统的文件中?
请高手指点。
---------------------------------------------------------------
用xp_cmdshell执行吧!
---------------------------------------------------------------
example:
declare @bcpname char(100)
select @bcpname='copy f:\fac.txt d:\fac.txt'
exec master..xp_cmdshell @bcpname