Um, sure it does, both! There is nothing in SQL that should require me to
have a unique key. If the update identifies a single record update a single
record if the update identifies 100 records update 100 records. This is a
set-oriented language, no? I'm not aware of a single other database that
requires unique rows.

-Walden


------------
Walden H Leverich III
President
Tech Software
(516)627-3800 x11
WaldenL@TechSoftInc.com
http://www.TechSoftInc.com



-----Original Message-----
From: Jim Langston [mailto:jlangston@celsinc.com]
Sent: Thursday, December 27, 2001 13:00
To: 'web400@midrange.com'
Subject: RE: [WEB400] Client Access ODBC Driver error


Because if there are 2 records with itemno equal to 12345
which one do you want it to update?  You may know you want
it to update the first one, or the second one, or both of
them, but the ODBC doesn't know.

Regards,

Jim Langston

-----Original Message-----
From: Walden H. Leverich [mailto:WaldenL@TechSoftInc.com]

<SNIP>

Update item set price = 1.3 where itemno = 12345

Itemno may be unique, but then again maybe not, why does IBM's ODBC driver
care?

-Walden
_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a
message email: WEB400@midrange.com To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.