By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,098 Members | 1,918 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,098 IT Pros & Developers. It's quick & easy.

Insert string (insert without duplicates???)

P: n/a
I have an update string getting a list of names that are list1 but not
in list2. (Sorry for the lame example)

list1
----
Bill
Bill
mike
tom
jim
jim
jim
list2(before insert)
----
Bill
mike

list2 (after insert)
----
bill
mike
tom
jim
jim
jim

Currently, I will get duplicates from my insert. Is there something
that I can use not to get duplicates.

thanks

kubie

Nov 13 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
change the SELECT statement to

SELECT DISTINCT tableX.FieldA....

Nov 13 '05 #2

P: n/a
change the SELECT statement to

SELECT DISTINCT tableX.FieldA....

Nov 13 '05 #3

P: n/a
Thanks. It looks like that worked

Nov 13 '05 #4

P: n/a
Thanks. It looks like that worked

Nov 13 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.