Connect Sybase IQ to remote Oracle data via Component Integration Services.
Prerequisites
Log in to dbisql or iqisql.
- Create a server using the data source name from the .odbc.ini file:
CREATE SERVER myora CLASS 'oraodbc' USING 'MyOra2'
- Create an external login:
CREATE EXTERNLOGIN DBA TO myora REMOTE LOGIN system IDENTIFIED BY manager
- Confirm the connection:
sp_remote_tables myora
- Create a table of Oracle data:
CREATE EXISTING TABLE my_oratable at 'myora..system.oratable'
- Verify that the connection works by selecting data:
SELECT * FROM my_oratable