Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
aoriju
Posting Yak Master
156 Posts |
Posted - 2009-02-16 : 03:22:12
|
| Hai,Iwant to write sqlcode into Textfiles using Sql Query.One thing don't use xp_CmdShell |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2009-02-16 : 07:42:38
|
| You can do this via command prompt. Read abt bcp in sql server help fileMadhivananFailing to plan is Planning to fail |
 |
|
|
sakets_2000
Master Smack Fu Yak Hacker
1472 Posts |
Posted - 2009-02-16 : 07:44:37
|
quote: Originally posted by aoriju Hai,Iwant to write sqlcode into Textfiles using Sql Query.One thing don't use xp_CmdShell
Just curious, why without xp_cmdshell ? |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2009-02-16 : 08:02:55
|
quote: Originally posted by sakets_2000
quote: Originally posted by aoriju Hai,Iwant to write sqlcode into Textfiles using Sql Query.One thing don't use xp_CmdShell
Just curious, why without xp_cmdshell ?
One of the questions asked in interviewMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|