Showing posts with label ids. Show all posts
Showing posts with label ids. Show all posts

Sunday, March 11, 2012

DTS and Co Question?

How can i copy data from one db1 table a to db2 table b?
1) all new data should be inserted
2) all other data should be updated
(ID's should be the same in both db-tables)
thx, mfg Daniel
How do you want to update the data?
If want to update just by TSQL then First run Execute SQL Task to update
the data and then as next step run transform data task it will append
the data.
Regards
Amish
*** Sent via Developersdex http://www.codecomments.com ***

Friday, March 9, 2012

DTS 2005 and quoted table names

We're trying to use DTS from SQL Server 2005 beta 2 to query data
from an Informix IDS server via OLEDB.

Unfortunately DTS is building queries of the form:

select * from "database":"owner"."tabname"

and the quoted table name is being rejected by the Informix server as a
syntax error.

Is there a way to keep DTS from quoting the table name in queries? Or is
this happening within the OLEDB provider?

Thanks.

--
John Hardin
Development and Technology group (Seattle)
CRS Retail Systems, Inc.John Hardin (jhardin@.crsretail.com) writes:
> We're trying to use DTS from SQL Server 2005 beta 2 to query data
> from an Informix IDS server via OLEDB.
> Unfortunately DTS is building queries of the form:
> select * from "database":"owner"."tabname"
> and the quoted table name is being rejected by the Informix server as a
> syntax error.
> Is there a way to keep DTS from quoting the table name in queries? Or is
> this happening within the OLEDB provider?

That question is best asked in microsoft.private.sqlserver2005.dts.

See http://go.microsoft.com/fwlink/?linkid=31765 for access information.

--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp