![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello All, I have a SQL Server Database (2000) that pulls data from Oracle (9i). Currently I am using a 'Linked Server' for Oracle, as I am passing values |
|
Here is the environment: SQL Server has a table called Emp_Data, which has a primary key field called EMP_NBR, and an additional field called EMP_ACTIVE. Oracle has a table called HR_TABLE which also has a field called EMP_NBR. The thing is, I am only interested in the records that are in (or have recently been added in) the EMP_DATA where the EMP_ACTIVE field = 'YES', and |
|
Is there a better way of implementing this, without the use of 'Linked Servers'? Any help would be great!!! Thanks, Tom. |
#3
| |||||
| |||||
|
|
Honestly - I am not sure of what that is, or what that encompasses. ----- Ilya Margolin wrote: ----- Is this possible to use OPENROWSET or OPENQUERY statements? "Tom" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:98797955-2126-4918-A80A-A8785F2BA54C (AT) microsoft (DOT) com... Hello All, I have a SQL Server Database (2000) that pulls data from Oracle (9i). |
|
Here is the environment: SQL Server has a table called Emp_Data, which has a primary key field |
|
Oracle has a table called HR_TABLE which also has a field called EMP_NBR. The thing is, I am only interested in the records that are in (or have |
|
Is there a better way of implementing this, without the use of 'Linked |
|
Any help would be great!!! Thanks, Tom. |
#4
| |||
| |||
|
|
Is this possible to use OPENROWSET or OPENQUERY statements? "Tom" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:98797955-2126-4918-A80A-A8785F2BA54C (AT) microsoft (DOT) com... Hello All, I have a SQL Server Database (2000) that pulls data from Oracle (9i). Currently I am using a 'Linked Server' for Oracle, as I am passing values from SQL Server to Oracle in a 'Where Clause' to retrieve the data that is of interest. The problem with this is that the package is taking over 2 hours to run, whereas if I just 'hard-coded' the values in the SQL Statment getting passed to Oracle (without the use of Linked Servers), the entire package runs in under 15 minutes. Here is the environment: SQL Server has a table called Emp_Data, which has a primary key field called EMP_NBR, and an additional field called EMP_ACTIVE. Oracle has a table called HR_TABLE which also has a field called EMP_NBR. The thing is, I am only interested in the records that are in (or have recently been added in) the EMP_DATA where the EMP_ACTIVE field = 'YES', and those values (EMP_NBR) are what I am interested in passing into and receiving from Oracle. Is there a better way of implementing this, without the use of 'Linked Servers'? Any help would be great!!! Thanks, Tom. |
![]() |
| Thread Tools | |
| Display Modes | |
| |