Register for your free account! | Forgot your password?

You last visited: Today at 05:50

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help creating a query!

Discussion on Help creating a query! within the SRO Private Server forum part of the Silkroad Online category.

Closed Thread
 
Old   #1

 
devdash's Avatar
 
elite*gold: 14
Join Date: Feb 2016
Posts: 1,607
Received Thanks: 446
Lightbulb Help creating a query!

i need a query to use IDs like "MOB_CH_STONEGHOST"

and get all the RefNest lines that linked with it, so i can go there and edit the lines as i want


i got the idea, but idk how to create a query

so the query will use mob ID "MOB_CH_STONEGHOST" to search in RefObjCommon & get the ID Number then with the number it will go to RefTactics then with RefTactics it will get the RefNest lines


i hope that help in creating...


i will really appreciate if someone make it, since everyone of us have to edit RefNest somehow, so why not have a good query instead of manual searching..

NOTE: "MOB_CH_STONEGHOST" is an example
thanks in advance.
devdash is offline  
Thanks
1 User
Old 04/02/2019, 17:10   #2
 
VeRo!'s Avatar
 
elite*gold: 0
Join Date: Sep 2016
Posts: 235
Received Thanks: 156
Here you are..

Quote:
USE [SRO_VT_SHARD]
SELECT [dwNestID] FROM [dbo].[Tab_RefNest] WHERE dwTacticsID in
( SELECT [dwTacticsID] FROM [dbo].[Tab_RefTactics] WHERE dwObjID like
(select ID from _RefObjCommon where CodeName128 like 'MOB_RM_ROC') )
VeRo! is offline  
Thanks
1 User
Old 04/03/2019, 03:00   #3

 
devdash's Avatar
 
elite*gold: 14
Join Date: Feb 2016
Posts: 1,607
Received Thanks: 446
Lightbulb

Quote:
Originally Posted by yossf666666 View Post
Here you are..
thank you so much, that's what i wanted but




can we make it showup the full line ? not only the IDs..


thanks in advance.
devdash is offline  
Thanks
1 User
Old 04/03/2019, 03:22   #4

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,661
instead of "Select dwNestID from...", just type "select * from..."
or if you want specific columns, type them one by one, seperated by a comma.
sarkoplata is offline  
Thanks
1 User
Old 04/03/2019, 03:36   #5

 
devdash's Avatar
 
elite*gold: 14
Join Date: Feb 2016
Posts: 1,607
Received Thanks: 446
Quote:
Originally Posted by sarkoplata View Post
instead of "Select dwNestID from...", just type "select * from from..."
or if you want specific columns, type them one by one, seperated by a comma.
gonna try it now, and write back.

Quote:
Originally Posted by sarkoplata View Post
instead of "Select dwNestID from...", just type "select * from..."
or if you want specific columns, type them one by one, seperated by a comma.
fixed with * welldone bruh

thanks,

#RequestCloseTopic please.
devdash is offline  
Thanks
1 User
Closed Thread


Similar Threads Similar Threads
[Release][Query] Query _InvCOS Items WITH _Char Connection
12/29/2015 - SRO PServer Guides & Releases - 1 Replies
Ok, so i needed to write this query for a procedure im working on and not many people know how to connect the pet inventory table to the character table.... so this query will explain how its done... im not going to explain every single detail, like how there is no charcos when pet is despawned / dead... but yea you can probably figure that all out from this query... The code... USE SELECT pet_invo. ,pet_invo. PetSlot
Query for Creating Account
11/14/2015 - Rohan - 5 Replies
can anyone share an idea on how to create an account via SQL query? if any can.. it would be a big thanks from me :)
[Suche]Query für "Alteklinge, Reichsklinge" &' Stichdolche NUR QUERY!
08/18/2010 - Metin2 Private Server - 1 Replies
Ich weiß ich werd nervig aber ich suche die Query's für Alteklinge, Reichsklinge &' Strichdolche Why? Naya, weil ich in der DB i-wie nur Drachenmaulglocke hab ... not more -.- Auf jeden Fall Icon's etc. etc. etc. hab ich ich brauche nur die Query's



All times are GMT +1. The time now is 05:51.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.