Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [UR] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=23)
-   -   List duplicate items with same URL? (https://www.kinook.com/Forum/showthread.php?t=3113)

cnewtonne 10-10-2007 11:18 AM

List duplicate items with same URL?
 
Is there a way to retrieve items that have same URL? I wanted to clean up duplicate items.

Thank you

kinook 10-10-2007 02:18 PM

Using SQLite

SELECT ItemID, Value FROM ItemAttribute WHERE AttributeID=996 AND UPPER(Value) IN (SELECT UPPER(Value) AS Val FROM ItemAttribute WHERE AttributeID=996 GROUP BY Val HAVING(COUNT(*) > 1)) ORDER BY UPPER(Value);

http://www.kinook.com/Forum/showthre...?threadid=2825

quant 10-10-2007 05:14 PM

Quote:

Originally posted by kinook
Using SQLite

SELECT ItemID, Value FROM ItemAttribute WHERE AttributeID=996 AND UPPER(Value) IN (SELECT UPPER(Value) AS Val FROM ItemAttribute WHERE AttributeID=996 GROUP BY Val HAVING(COUNT(*) > 1)) ORDER BY UPPER(Value);

http://www.kinook.com/Forum/showthre...?threadid=2825

this is second or third user request where UR built in search is simply not enough and you reply directly with sql query. I think it would be great if you add the possibility to create our own queries directly inside UR ... maybe with some simple interface or just a query line ;-)

Thanks!


All times are GMT -5. The time now is 11:28 AM.


Copyright © 1999-2023 Kinook Software, Inc.