|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Write Stored Procedure in text file
Hi
How to write the Stored Procedure output in text file? Regards -Gopi |
|
#2
|
||||
|
||||
|
You should be able to do this from a prompt with osql:
Code:
C:\>osql /U username /P password /d databasename /S servername /Q "spname" -o output.txt I've just tested this with a sp_help and it works MK |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > Write Stored Procedure in text file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|