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
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.
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
Brace yourself while corporate america tries to sell us its things. Some day they will chill and use tiny ads.