|
Archives of the TeradataForumMessage Posted: Fri, 18 Feb 2005 @ 11:05:32 GMT
There must be some way to identify which rows to be deleted, if not then: 1. you can use the 'Row Number' function to generate the numbers & check manually which rows to be deleted, use that condition in you delete query. 2. you can create a new table using the 'Identity column' and generate the ids. 3. you can use 'Rank function' if looking for duplicates & can delete the rows which qualify for more than 1 These are just some thoughts , you can see which one fits in your situation. Just a suggesstion, Go for MLOAD delete instead of normal SQL delete, benefits you must be knowing if not consult manual.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||