SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Adding a new field to an already existing table?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kingsofleo
Starting Member

United Kingdom
7 Posts

Posted - 07/18/2012 :  07:29:35  Show Profile  Reply with Quote
Hi all,

I'm looking to add a new field to an already existing table and it won't let me. I'm not sure if this is a permissions issue or not.

It's SQL 2008 I'm working with. I'm used to SQL 2000 and before I could just go to the table in question, right click > Design View and add it there and save but with SQL 2008 it doesn't seem to work.

webfred
Flowing Fount of Yak Knowledge

Germany
8529 Posts

Posted - 07/18/2012 :  07:39:12  Show Profile  Visit webfred's Homepage  Reply with Quote
Please tell us the steps you are doing and tell us what happens.
"it doesn't seem to work" isn't a great help for us to help you.



No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

sunitabeck
Flowing Fount of Yak Knowledge

5152 Posts

Posted - 07/18/2012 :  07:47:19  Show Profile  Reply with Quote
I tried to do that on my SQL 2008 where I have administrative privileges, and it works exactly as you described. So it may be a permissions issue. Do you see any messages/warnings/popups?

You can also add a column using T-SQL with this syntax - you would get an error message if you don't have the required permissions:
ALTER TABLE YourTableName ADD YourNewColumnName VARCHAR(32);
I should not have tabbed away from Chrome without clicking "Post" button, or I could have beaten Fred ;)

Edited by - sunitabeck on 07/18/2012 07:48:22
Go to Top of Page

kingsofleo
Starting Member

United Kingdom
7 Posts

Posted - 07/18/2012 :  08:38:04  Show Profile  Reply with Quote
Thanks guys.

I'm pretty sure it's a permissions issue since I can't do anything of what sunitabeck suggested.

Thanks for your help

Edited by - kingsofleo on 07/18/2012 08:40:25
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000