Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 01:05

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

Advertisement



Requesting a query for adding new columns in db

Discussion on Requesting a query for adding new columns in db within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
FoxRayz's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 1,713
Received Thanks: 892
Requesting a query for adding new columns in db

Hi i'm requesting a query to add more columns into a table, i need 3 more columns at shardservice since cleaned the db it only appears one column atm.

So if anyone got one feel free to post it.

Thanks in advance!
FoxRayz is offline  
Old 01/28/2012, 01:29   #2
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
Go to your sql management studio right click at the table -> design and add the columns you need

EDIT:

and if you really want the query:

Code:
ALTER TABLE shardservice
SomeColumn BigInt
not sure if this is correct this is my source:
kevin_owner is offline  
Old 01/28/2012, 01:37   #3
 
FoxRayz's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 1,713
Received Thanks: 892
Quote:
Originally Posted by kevin_owner View Post
Go to your sql management studio right click at the table -> design and add the columns you need

EDIT:

and if you really want the query:

Code:
ALTER TABLE shardservice
SomeColumn BigInt
not sure if this is correct this is my source:
Design doesn't work, because it will only add a new column with a new name, i just want to add columns under each name.

Imma try the query you linked, i tried one ALTER TABLE before but it didnt work. So lets see with this one

Nope didn't work at all it was the same as with the design...
FoxRayz is offline  
Old 01/28/2012, 08:36   #4
 
elite*gold: 0
Join Date: May 2011
Posts: 490
Received Thanks: 148
To add a column in a table, use the following syntax

Quote:
ALTER TABLE table_name
ADD column_name datatype
hamada619 is offline  
Reply


Similar Threads Similar Threads
Adding NPC's and Adding Items in Shopping Mall
03/19/2015 - CO2 Private Server - 21 Replies
Hello there, I have an 5518 source; Albetros Source. Now I have a few questions about it. 1. How do you add new NPC's and where can I find them in the Source? 2. How to add items in the Shopping Mall. I tried a few things but that didn't helped me alot. 3. How to set game char to GM. I tried to give it 5 but that didn't helped either. I looked in the Commands file and that was 5. But it didn't helped. Thanks...
Hi, can someone teach me how to insert rows/columns in thread starter?
12/20/2011 - Silkroad Online Trading - 1 Replies
Please? Skype: r3v3nid0
CSV excel columns..
10/19/2011 - Dekaron - 2 Replies
.
itemtype new columns!
07/28/2011 - CO2 Programming - 4 Replies
in the oldest patches itemtype was like this: 111003 IronHelmet 21 0 15 0 0 0 0 0 0 0 150 0 0 0 3 0 0 0 0 3998 3998 0 0 0 0 0 0 0 0 1 1000 0 0 0 0 Warrior`sHelmet None 5 now the itemtype looks like this: 111003 IronHelmet 21 0 15 0 0 0 0 0 0 0 150 0 0 0 3 0 0 0 0 3899 3899 0 0 0 0 0 0 0 0 0 1 1000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Warrior`sHelmet None 5 0 0 0
Adding Pets Query
05/03/2010 - EO PServer Hosting - 0 Replies
Ok So I Know This Is Me Being Lazy In A Way And Maybe Asking A Bit Much But What I Got To Lose Lol? Can Some 1 Make A Guide Of Just The Db Query And Actions And With What Needs To Be Put In And Changed EveryTime You Wanna Add A Pet? Cq_Action Is Whats Really Gettin Me COnfused I have Tried



All times are GMT +2. The time now is 01:05.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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