|
-
I'm not sure how it will work, but I think it should look something like this:
C> create_new_table.bat NEWTBL (NEWTBL being the parameter that is passed into create_new_table.bat
Inside of Create_new_table.bat:
call SVRMGRL command=@new_table.sql%1
(%1 has the value of NEWTBL)
Inside of new_table.sql is:
CREATE TABLE &new_table AS SELECT * FROM someothertable;
(&new_table should be the value of NEWTBL
I'm open to any and all suggestions as to how to do this.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|