Larissa, verifique se você consegue acessar o seu banco (firebird) pelo driver ODBC. O erro está informando que o banco está indisponível.
Outra saída para migração de dados, seria a utilização do SQLLoader. Você exporta seus dados para um arquivo TEXTO e carrega no banco de dados Oracle. Se você possui conhecimento de programação em Java ou C#, poderá utilizar estas tecnologias para transferir (caso o Loader seja muito complexo). Marcus Pavan. ________________________________ De: Fernando Martins <femartins.pere...@gmail.com> Para: oracle_br@yahoogrupos.com.br Enviadas: Sexta-feira, 8 de Maio de 2009 21:27:34 Assunto: Re: [oracle_br] Migração Boa noite Larissa, ha algum tempo atras eu passei por algo parecido, migrei uma base de MySQL para Oracle. Na ocasião, tentei usar o HSODBC tb mas não obtive sucesso devido a algumas limitações e a lentidão ao migrar dados do tipo CLOB, demorava muito mesmo. Então parti para o uso de uma ferramenta comercial, cujo nome é MySQL-To-Oracle, talvez vc encontre algo parecido para o Firebird. Caso vc decida tentar pelo HSODBC, eu sugiro que veja a plataforma onde está rodando o Oracle, senão me engano eu passei por erros parecidos e era pq o meu Oracle era 64 bits, e o HSODBC só é suportado em 32 bits. Espero ter ajudado. -- Fernando Martins "God grant us the serenity to accept the things we cannot change, courage to change the things we can, and wisdom to know the difference." 2009/5/8 Larissa Nandi <pwdlari...@gmail. com> > > > Oi Amigos, > > Boa noite. Estou com um pequeno probleminha. .. Tenho aproximadamente 150 > tabelas em uma base firebird que precisamos converte-la. .. realizei uma > pesquisa na lista e encontrei uma opção que seria o oracle heterogeneous > services. Pois bem, tenho um banco oracle 10gR2 no windows e configurei o > serviço conforme a documentação que encontrei no metalink (segue a > documentação) > > https://metalink. oracle.com/ metalink/ plsql/ml2_ documents. showDocument? > p_database_ id=NOT&p_ id=115098. 1 > > Peguei o driver ODBC no site http://www.firebird sql.org/ e mandei ver todo > o > procedimento descrito na documentação.. . > Para certificar, testei a conexao odbc com um software de terceiros e esta > ok... realizei um select e os dados retornaram corretamente. .. > mas quando tento acessar no oracle tenho a mensagem > > SQL> / > select * from tbusuariosis@ msql > * > ERRO na linha 1: > ORA-28500: conexão do ORACLE com um sistema não-Oracle retornou esta > mensagem: > [Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (2085): ; > [ODBC > Firebird Driver]unavailable database (SQL State: 08004; SQL Code: -904) > ORA-02063: precedendo 2 lines a partir de MSQL > > Alguém sabe o pode estar acontecendo ou ... poderia me indicar a maneira > ideal para migrar estas informações? > > Obrigada... > -- > Larissa Nandi > Florianópolis/ SC > > Subject: *QUICK START GUIDE: WIN NT - Generic Connectivity using ODBC* Doc > ID <https://metalink2. oracle.com/ help/usaeng/ Search/search. html#file>: * > 114820.1* Type: *FAQ* Modified Date : *29-FEB-2008* Status: *ARCHIVED* > > Checked for relevance on 29-Feb-2008: ARCHIVED as being a duplicate of > Note 109730.1 < > https://metalink2. oracle.com/ metalink/ plsql/showdoc? db=NOT&id= 109730.1& > blackframe= 1 > > > > QUICK START GUIDE: > Windows NT - Generic Connectivity using ODBC > > Purpose > ------- > > This document describes the steps to be performed when configuring Generic > Connectivity on Windows NT. > > What Is Generic Connectivity? > ------------ --------- -------- > > Generic connectivity is intended for low-end data integration solutions > requiring the ad hoc query capability to connect from Oracle to non-Oracle > database systems. Generic connectivity is enabled by Oracle Heterogeneous > Services, allowing you to connect to non-Oracle systems with improved > performance and throughput. > > Generic connectivity is implemented as a Heterogeneous Services ODBC agent. > An > ODBC agent is included as part of your Oracle system. Be sure to use the > agent shipped with your particular Oracle system and installed in the same > $ORACLE_HOME. > > Generic Connectivity Architecture > ------------ --------- --------- --- > > To access the non-Oracle data store using generic connectivity, the agent > works > with an ODBC driver. Oracle provides support for the ODBC driver interface. > The driver that you use must be on the same machine as the agent. The > non-Oracle > data stores can reside on the same machine as the Oracle installation or on > a > different machine. > > Installation Steps > ------------ ------ > > 1) Configure an ODBC system data source for the target datastore. Use an > ODBC > client application or ODBC test to verify connectivity to the target > datastore. > > 2) Make sure the following entries are in the tnsnames.ora and > listener.ora. > > TNSNAMES.ORA > > hsmsql = > (DESCRIPTION = > (ADDRESS_LIST = > (ADDRESS = (PROTOCOL = tcp)(host=winhost) (port=1521) ) > ) > (CONNECT_DATA = > (SID = msql) <== needs to match the sid in listener.ora. > ) > (HS=OK) <== HS clause goes in the description. > ) > > LISTENER.ORA > > LISTENER = > (DESCRIPTION_ LIST = > (DESCRIPTION = > (ADDRESS_LIST = > (ADDRESS = (PROTOCOL = TCP)(HOST = winhost)(PORT = 1521)) > ) > ) > > SID_LIST_LISTENER = > (SID_LIST = > (SID_DESC = > (SID_NAME = msql) <== needs to match the sid in tnsnames.ora > (ORACLE_HOME = E:\Ora816) > (PROGRAM = hsodbc) <== hsodbc is the executable > ) > ) > > 4) Start the listener. > Run "lsnrctl services" to verify that you now have a service handler for > the > hsmsql sid. > ============ ========= ========= ========= ========= ========= ===== > LSNRCTL> services > Connecting to (address=(protocol= tcp)(host= winhost)( port=1521) ) > Services Summary... > msql has 1 service handler(s) > DEDICATED SERVER established: 0 refused:0 > LOCAL SERVER > The command completed successfully > ============ ========= ========= ========= ========= ========= ===== > > 5) Create the Initialization file. > > You must create and customize an initialization file for your generic > connectivity agent. Oracle supplies a sample initialization file named > "inithsodbc. ora" which is stored in the $ORACLE_HOME\ hs\admin directory. > > To create an initialization file, copy the appropriate sample file > and rename > the file to initHS_SID.ora. In this example the sid noted in the > listener and > tnsnames is msql so our new initialization file is called initmsql.ora. > > 6) Make sure the following noted entries are in the initmsql.ora located in > $ORACLE_HOME/ hs/admin: > > INITMSQL.ORA > > # HS init parameters > # > HS_FDS_CONNECT_ INFO = msql <= odbc data_source_ name > HS_FDS_TRACE_ LEVEL = 0 <= trace levels 0 - 4 (4 is verbose) > HS_FDS_TRACE_ FILE_NAME = hsmsql.trc <= trace file name > # > # Environment variables required for the non-Oracle system > # > #set <envvar>=<value> > > 7) Create a database link to access the target database. Be sure to use the > appropriate quotes as noted below. > > SQL> create database link msql > SQL> connect to "user" identified by "password" <= user/pwd on the target > DB > SQL> using 'hsmsql'; > > 8) To test, run a simple query of a known table on the target datastore. > > SQL> select * from emplo...@msql; > > empid firstname lastname department job > ---------- ------------ --- ------------ --- ---------- --- > 10000 Jerry Ring Networking CDW > 10001 John Lund Sales WNV > 10002 Julie Reynolds Relations NPI > 10003 Peter Loren Relations NPO > 10004 Eric Michael Telemarket PHN > 10005 Ian Alexander Sales WND > 10006 Ed Smith Networking CDG > 10007 Mike Seibt Networking IDW > > 11 rows selected. > > [As partes desta mensagem que não continham texto foram removidas] > > > [As partes desta mensagem que não continham texto foram removidas] Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com [As partes desta mensagem que não continham texto foram removidas]