If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I have dbX on a server.I want to create a new database dbY in my local and I want to copy tables from dbX to my new database dbX with sql commands from a .net application. I couldnt write the sql command.Can anyone help me please?
But I dont understand one thing. Why do we need to call this procedure with the entire syntaxof export , reorg, runstats or update db config when when we can run this commands directly at the db2 command prompt?
But I dont understand one thing. Why do we need to call this procedure with the entire syntaxof export , reorg, runstats or update db config when when we can run this commands directly at the db2 command prompt?
The proc allows the DB2 commands (which are not SQL statements) to be run from inside an application program, stored proc, etc.
If you want to run the commands from the OS command prompt or a shell script, then the proc is obviously not necessary.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390