Hi All,
We are in the process of creating a data warehouse on SQL Server 2000 to centralise our data as we have several different databases and some quite fragmented data. I'm constructing a DTS package as part of this process, which needs to copy a products table from another SQL Server (this works fine) and then update certain fields with data from an Oracle database, specifically the unit cost. I'm struggling to find a way to do this as I can't get the syntax right. I have tried doing an update in a SQL task, but get the 'An error result was returned without an error message' when I try and parse the query. This is the query I am attempting:
The parts in quotes are the database, table and field name on the oracle database. This is the first time we've tried doing this so please ask if I haven't given enough detail.
Thanks
Geraint
The lights are on but nobody's home, my elevator doesn't go to the top. I'm not playing with a full deck, I've lost my marbles. Barenaked Ladies - Crazy
We are in the process of creating a data warehouse on SQL Server 2000 to centralise our data as we have several different databases and some quite fragmented data. I'm constructing a DTS package as part of this process, which needs to copy a products table from another SQL Server (this works fine) and then update certain fields with data from an Oracle database, specifically the unit cost. I'm struggling to find a way to do this as I can't get the syntax right. I have tried doing an update in a SQL task, but get the 'An error result was returned without an error message' when I try and parse the query. This is the query I am attempting:
Code:
UPDATE [Data_Warehouse].[dbo].[Sales_Products]
SET [Latest_Price]= "LIVEDB"."UNITCOSTS"."UNIT_COST"
WHERE [Sales_Product_Code]= "LIVEDB".RM_I01_UNITCOST"."ITEM"
The parts in quotes are the database, table and field name on the oracle database. This is the first time we've tried doing this so please ask if I haven't given enough detail.
Thanks
Geraint
The lights are on but nobody's home, my elevator doesn't go to the top. I'm not playing with a full deck, I've lost my marbles. Barenaked Ladies - Crazy