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 |
pithhelmet
Posting Yak Master
183 Posts |
Posted - 2005-10-13 : 09:46:44
|
Hello everyone -I need to write (append) to a text filethe resides on the local drive.Can this be accomplished?If so - a code snippet would be appreciated.thankstony(sybase asa 7) |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
pithhelmet
Posting Yak Master
183 Posts |
Posted - 2005-10-13 : 10:50:12
|
comes close -but i simply need to write that the process was executed,a simple line of textto the text file...thankstony |
|
|
X002548
Not Just a Number
15586 Posts |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
pithhelmet
Posting Yak Master
183 Posts |
Posted - 2005-10-14 : 16:03:10
|
must be some kinda "inside joke"the posted link is for MS SQLas listed - i am running sybasebut thanks for the response!!take caretony |
|
|
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
7020 Posts |
Posted - 2005-10-14 : 18:20:05
|
Did you notice that this forum is for Microsoft SQL Server Transact-SQL questions? If you really need help with Sybase, you should try to find a site that is focused on that.The "inside joke" might have been a reference to the DOS ECHO command, one of many ways you might write to a file using, for example, the xp_cmdshell stored procedure. I'm not sure if xp_cmdshell is available in Sybase, so that may or may not be helpful to you. Of course, if you are not running a Windows server, a DOS shell may not be available.Echo example from command prompt:C:\Temp>echo Help me please! >myfile.txtC:\Temp>type myfile.txtHelp me please!C:\Temp>quote: Originally posted by pithhelmet must be some kinda "inside joke"the posted link is for MS SQLas listed - i am running sybasebut thanks for the response!!take caretony
CODO ERGO SUM |
|
|
|
|
|