Redian新闻
>
import data into SQL server
avatar
import data into SQL server# Database - 数据库
i*e
1
When I import data in to the SQL server, it gives an error because the
duplicate record and stops. However, is there a way to let the work keep
going for the rest of records?
avatar
e*s
2

Are you using DTS to import to a new table or existing table?

【在 i******e 的大作中提到】
: When I import data in to the SQL server, it gives an error because the
: duplicate record and stops. However, is there a way to let the work keep
: going for the rest of records?

avatar
i*e
3
Existing table. My purpose is to let the primary key of the destination table
to get rid ofduplicate records in the source table.

【在 e*********s 的大作中提到】
:
: Are you using DTS to import to a new table or existing table?

avatar
a*a
4
how about drop the primary key contraint first and then run a query
after DTS to delete dup copies, then turn on primary key contraint again

【在 i******e 的大作中提到】
: Existing table. My purpose is to let the primary key of the destination table
: to get rid ofduplicate records in the source table.

avatar
l*r
5
how to delete dup copies?

【在 a*****a 的大作中提到】
: how about drop the primary key contraint first and then run a query
: after DTS to delete dup copies, then turn on primary key contraint again

avatar
a*a
6
hmm.. at least you can select distinct into another table bah;

【在 l*********r 的大作中提到】
: how to delete dup copies?
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。