• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[MSSQL]How to find something from a table

-sama
Loyal Member
Joined
May 3, 2008
Messages
1,392
Reaction score
7
Hmm,
This tut will be about MSSQL,
on how to find any rows w/ similar and exact name.

Okay, back to the tut.
•Finding an exact name on any column, row, or table.
1. Open MSSQL Management Studio
2. Click Open Query
Insert this code
Code:
use [color=red]gc[/color] select * from [color=red]goodsinfolist[/color] where [color=red]goodsname[/color]='[color=red]Insert Here[/color]'
Change the GoodsInfoList to your specific Table, the GC to your specific database, Insert Here to the name of you're finding (row), Goodsname as the name of the column of the row.

Example:
Code:
use gc select * from goodsinfolist where goodsname='Carta'
I used GC as Database, GoodsInfoList as the table where I will find the name of what is at the row, Goodsname as the column of the row, and the Carta as the what's on the row I'm finding.
3. Refresh / Execute.

*Sorry, I really can't explain, Testing is bettah.

•Finding a name w/ any similar to it:
1. Open MSSQL Management Studio
2. Click Open Query
Insert this code
Code:
 use [color=red]gc[/color] select * from [color=red]goodsinfolist[/color] where [color=red]goodsname[/color] like '%[color=red]Insert Here[/color]%'
**DO NOT ERASE THE %**
3. Refresh / Execute.

Hope this helps
Credits:
Jumong - for explaining how to and codes. 99.9%
SeraphiPod - Doing it ONLINE:p. 0.1%

-------
Some Items:
Carta Da Luna
Carta da Pixie
Foice da Nobreza
Pacote da Nobreza
Transformacao 3 / Transformacao3
 
Skilled Illusionist
Joined
Jan 9, 2009
Messages
359
Reaction score
43
Of course that is not limited to searching. You can do much, much more... but it's a nice tut.
 
-sama
Loyal Member
Joined
May 3, 2008
Messages
1,392
Reaction score
7
^^, since many people does a hard work, searching for a item, w/ a very long list!!
 
Newbie Spellweaver
Joined
Feb 3, 2009
Messages
12
Reaction score
0
Now i can add some cash item , but hard to find item name . I'll translate it to eng soon !
 
-sama
Loyal Member
Joined
May 3, 2008
Messages
1,392
Reaction score
7
baka.
use br client then logingame.
then list the items u want and search via this guide,.
 
-sama
Loyal Member
Joined
May 3, 2008
Messages
1,392
Reaction score
7
on the navigation bar where the execute is.
no SS./
 
Newbie Spellweaver
Joined
Mar 10, 2009
Messages
25
Reaction score
0
I may sound noobish but I still can't find the button. :/. Just to make sure, Microsoft SQL Server Management Studio Express 2005, correct?
 
Newbie Spellweaver
Joined
Jan 14, 2009
Messages
17
Reaction score
0
Can u post a pic on where can I find the "Open Query" button? I cant seem to find it!
 
-sama
Loyal Member
Joined
May 3, 2008
Messages
1,392
Reaction score
7
Here:
SeraphiPod - [MSSQL]How to find something from a table - RaGEZONE Forums

---------------------------------------------------
SeraphiPod - [MSSQL]How to find something from a table - RaGEZONE Forums
 
Back
Top