Thanks,Xu and Menard. But my problem is I do not know the source table's schema ( how many columns, column's type ), only know table's name. I know I can use metadata in jdbc to get table's schema, then create a new table, and copy all data. Is there a easy way to do it? Thanks! -Zhining
vaibhav punekar
Ranch Hand
Joined: Jan 20, 2001
Posts: 134
posted
0
You can download/copy one database to the other with ease if you are using SQL or ORACLE.They have the option of import/export database in management console.It will just ask for the location of the table,username password if any and start downloading. Isn't it easy?You can even download the database of two different vendors.
VAIBHAV <BR>SCJP
vaibhav punekar
Ranch Hand
Joined: Jan 20, 2001
Posts: 134
posted
0
No need of JDBC also.
ZhiningZhang
Greenhorn
Joined: Jun 13, 2001
Posts: 18
posted
0
My project is to write a utility using jdbc to convert database. The source database could be MS SQL Server on one server, while target database could be ORACLE on another server. I do not the schema of table ( different users could have different schema ), only know the table name. I am wondering if there is a easy way to copy tables. -Zhining
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.