Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 11 to 12 of 12 total |
Another SQL Question - Update table data from another table |
Thu, Jun 6 2013 2:58 PM | Permanent Link |
Barry | Roy,
<wild cackling laughter> until they find out all the useful data was on the subsequent records - then they blame you </wild cackling laughter> This may help a bit. It will return the latest record with a MatchingField. This assumes the latest record has the more recent data. update _Tmp2 T Set T.ParentID = (Select ID From Names where MatchingField = T.Matchingfield order by SomeDate desc range 1 to 1) It would be nice if everyone had properly normalized databases to eliminate redundancy. But that isn't likely going to happen in my lifetime. Maybe the gov't should start taxing people for having un-normalized data??? "Your data isn't normal - so we're gonna tax it!" ROFL Barry |
Fri, Jun 7 2013 4:31 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Barry
>It would be nice if everyone had properly normalized databases to eliminate redundancy. But that isn't likely going to happen in my lifetime. Maybe the gov't should start taxing people for having un-normalized data??? "Your data isn't normal - so we're gonna tax it!" ROFL DO NOT LAUGH with the level of IT literacy exhibited by most politicians your scenario is all to likely! Roy |
« Previous Page | Page 2 of 2 | |
Jump to Page: 1 2 |
This web page was last updated on Monday, April 29, 2024 at 05:23 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |