|
| Databases("'+ @dbname +'").StoredProcedures("'+RTRIM(UPPER(@spname))+'").Script(74077,"'+ @filename +'").. in this what is '74077'? |
[Reply] [Modify] [Delete]
|
|
|
http://binaryworld.net/Main/CodeDetail.aspx?CodeId=1143#copy..... when i execute this code,it gives error like "A cursor with the name 'script_cursor' already exists and The cursor is already open."
when I check the status of cursor,it species thta cursor it is not present.
Thanks |
[Reply] [Modify] [Delete]
|
|
|
Hello How can change this script for generate script for all stored procedure and all Function for the given database? Thanks |
[Reply] [Modify] [Delete]
|
|
|
I was trying to create a script for all my stored procedures so that I may run that script to create all these procdures at at my uploaded database.
For that I copied the code 'generate script for all stored procedures for the given database' in the new query window of Mnagement studio express and ran the query.
Query ran without error but script file c:\script.sql was not created.
Please help.
Prem Garg |
[Reply] [Modify] [Delete]
|
|