![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
How can we copy a table from one database to another database in ASA 7. |

#3
| |||
| |||
|
|
On Nov 13, 5:43*pm, Deepali wrote: How can we copy a table from one database to another database in ASA 7. you can use remote servers. Remote servers in ASA 7 can be any ODBC existing on PC. ASA 7 database which connect to remote servers and ODBC "where" connect must be on same machine, but ODBC can reference any server visible to that PC. In short, start both database on separate ASA 7 server. Create ODBC for each database. With sybase central at destination database create remote servers (parameter "dsn=ODBC_source") where ODBC_source is dsn of soruce database. Under remote server, create proxy table, and that is link to the table from source. After that you can use proxy table as any table existing in destination database. Execute command "insert into table_1 select * from table_1_px". table_1 is name in destination database, table_1_px is proxy name in destination of table from source database. If you wish to copy table from one database to another, and destination table does not exists.... that is not possible in ASA 7. I found in SA10 version syntax of select command with INTO TABLE clause, which create table and copy data at same time. We are using delphi and there is one utility datapump.exe. |
#4
| |||
| |||
|
|
Thank you for replying Bofcilo.. On Nov 13, 5:43*pm, Deepali wrote: How can we copy a table from one database to another database in ASA 7. you can use remote servers. Remote servers in ASA 7 can be any ODBC existing on PC. ASA 7 database which connect to remote servers and ODBC "where" connect must be on same machine, but ODBC can reference any server visible to that PC. In short, start both database on separate ASA 7 server. Create ODBC for each database. With sybase central at destination database create remote servers (parameter "dsn=ODBC_source") where ODBC_source is dsn of soruce database. Under remote server, create proxy table, and that is link to the table from source. After that you can use proxy table as any table existing in destination database. Execute command "insert into table_1 select * from table_1_px". table_1 is name in destination database, table_1_px is proxy name in destination of table from source database. If you wish to copy table from one database to another, and destination table does not exists.... that is not possible in ASA 7. I found in SA10 version syntax of select command with INTO TABLE clause, which create table and copy data at same time. We are using delphi and there is one utility datapump.exe. |
#5
| |||
| |||
|
|
How can we copy a table from one database to another database in ASA 7. |
![]() |
| Thread Tools | |
| Display Modes | |
| |