CursorThroughTablesExecuting sp__GenerateInsertUpdateProcedure.sql (CTTEsp_GIUP.sql) is a script that can be run from any user database that will call the sp__GenerateInsertUpdateProcedure for each table with that has a primary key defined and output the necessary code for creating insert/update routines. Simply cut and paste the generated code into a new window to execute it and actually create the procedures.
Author: Joel Janke
Download Script:
CTTEsp_GIUP.sql
Disclaimer: We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
“as -is”, without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose…
Disclaimer Continued
Back to Database Journal Home