|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Monday, June 10, 2013 8:22 AM
Points: 163,
Visits: 285
|
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, November 02, 2011 9:50 AM
Points: 15,
Visits: 30
|
|
Interesting but your script have a little problem !
The T-SQL for creation table journal is missing !
I have appending a new parameter @DebugMode for just display the result at the screen.
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Monday, June 10, 2013 8:22 AM
Points: 163,
Visits: 285
|
|
PCI, Create command is "hidden" cause I'm not using create DDL command but Select ... into
Procedure spCreateJournal (follow variable @SQLCommand) will create journal table if it doesn't exist.
|
|
|
|