Find items using query

Status
Not open for further replies.

tobi3591

Member
Mar 16, 2018
79
19
Hello everyone.
I can't quite remember what query to find specific items from items.
I have some rares that i want to move to different page in catalog_page

You must be registered for see images attach
 

JynX

Posting Freak
Feb 6, 2016
710
438
Code:
SELECT * FROM `catalog_items` WHERE `item_id` = 'ID HERE';

You can find the ID HERE value by checking inside the furniture table for that specific item's ID.
 

tobi3591

Member
Mar 16, 2018
79
19
Code:
SELECT * FROM `catalog_items` WHERE `item_id` = 'ID HERE';

You can find the ID HERE value by checking inside the furniture table for that specific item's ID.
Thanks,
what if i want to only search by name instead of ID? =)
Cheers
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,194
3,901
Find items:
Code:
SELECT * FROM `catalog_items` WHERE `page_id` = 'PAGE_ID';

Move items:
Code:
UPDATE `catalog_items` SET `page_id` = 'NEW_ID' WHERE `page_id` = 'OLD_ID'

Selecting catalog items based on name:
Code:
SELECT * FROM `catalog_items` WHERE `catalog_name` LIKE '%Spill%';

Important to note that having the wildcard between the word will technically look for 'containing' the word. You can adjust the query by removing a wildcard to search for before or after.
 

tobi3591

Member
Mar 16, 2018
79
19
Find items:
Code:
SELECT * FROM `catalog_items` WHERE `page_id` = 'PAGE_ID';

Move items:
Code:
UPDATE `catalog_items` SET `page_id` = 'NEW_ID' WHERE `page_id` = 'OLD_ID'

Selecting catalog items based on name:
Code:
SELECT * FROM `catalog_items` WHERE `catalog_name` LIKE '%Spill%';

Important to note that having the wildcard between the word will technically look for 'containing' the word. You can adjust the query by removing a wildcard to search for before or after.
Thank you sir, helpmed me alot.

I request this threat closed, usefull comment =)

Cheers
 
Status
Not open for further replies.

Users who are viewing this thread

Top