theresatan
Programmer
Dear Sir:
I need to export data from oracle 9i to SQL server 2000. Oracle server is on hosting site and connction is SSH Tunnel.
I set up a linked server in SQL server with oralce ODBC connection.
For small table, it works fine.
For large table, it did not work. When I run select count (*) from tablenme, I got "OLE DB provider 'MSDAORA' supplied inconsistent metadata for a column. Metadata information was changed at execution time."
But I can run select * from tablename using SQL Plus.
Is there any utility can do that?
If not, I am going to export the data to a .cvs or .txt file, then load them to SQL server.
When I use spool filename, the first line is
"SQL> select * from tablename; "
My questions are:
1. How to get rid of it without manually effor( my file is 100 MB and difficult to open)?
2. How to keep the heading on first line only?
3. how to spool to a cvs or excel file.
Thanks in Advance!
Theresa
I need to export data from oracle 9i to SQL server 2000. Oracle server is on hosting site and connction is SSH Tunnel.
I set up a linked server in SQL server with oralce ODBC connection.
For small table, it works fine.
For large table, it did not work. When I run select count (*) from tablenme, I got "OLE DB provider 'MSDAORA' supplied inconsistent metadata for a column. Metadata information was changed at execution time."
But I can run select * from tablename using SQL Plus.
Is there any utility can do that?
If not, I am going to export the data to a .cvs or .txt file, then load them to SQL server.
When I use spool filename, the first line is
"SQL> select * from tablename; "
My questions are:
1. How to get rid of it without manually effor( my file is 100 MB and difficult to open)?
2. How to keep the heading on first line only?
3. how to spool to a cvs or excel file.
Thanks in Advance!
Theresa