Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Help with SQL
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="JayC" data-source="post: 440390" data-attributes="member: 36373"><p>I don't understand your first query. You are inner joining where catalog_items ITEM ID = Furniture Allow Trade</p><p></p><p>Why not just run this query:</p><p>UPDATE furniture SET allow_trade = '0' WHERE is_rare = '1'</p><p></p><p>Or if you really need catalog items:</p><p>UPDATE furniture</p><p> SET furniture.allow_trade = '0'</p><p> FROM furniture INNER JOIN catalog_items ON catalog_items.item_id = furniture.id AND catalog_items.[row]=[value]</p><p>Change row and value to whatever you are looking for in the catalog items i guess?</p></blockquote><p></p>
[QUOTE="JayC, post: 440390, member: 36373"] I don't understand your first query. You are inner joining where catalog_items ITEM ID = Furniture Allow Trade Why not just run this query: UPDATE furniture SET allow_trade = '0' WHERE is_rare = '1' Or if you really need catalog items: UPDATE furniture SET furniture.allow_trade = '0' FROM furniture INNER JOIN catalog_items ON catalog_items.item_id = furniture.id AND catalog_items.[row]=[value] Change row and value to whatever you are looking for in the catalog items i guess? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Help with SQL
Top