PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.db.ms-sqlserver > Newbie - why are column properties greyed out?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Newbie - why are column properties greyed out?

Réponse
 
LinkBack Outils de la discussion
Vieux 24/03/2008, 00h14   #1
Robert
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Newbie - why are column properties greyed out?

I am a newbie with SQL Server Express. In Management Studio Express when I
right-click on a column name and the properties window appears the
properties are greyed out so I can't make any entries into the properties.
Why is this/how can I correct it?

Robert



  Réponse avec citation
Vieux 24/03/2008, 00h52   #2
Erland Sommarskog
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Newbie - why are column properties greyed out?

Robert (cpq1bcle[REMOVE]@verizon.net) writes:
> I am a newbie with SQL Server Express. In Management Studio Express
> when I right-click on a column name and the properties window appears
> the properties are greyed out so I can't make any entries into the
> properties. Why is this/how can I correct it?


To change a column use ALTER TABLE ALTER COLUMN for the changes where it
is possible. Some changes require that you recreate and reload the
table.

At least in SSMS Sr you can right-click the column and select Modify which
opens the Table Designer. But! Don't go there! The Table Designer is
very buggy when it comes to changing tables, and you are a lot better off
without it.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
  Réponse avec citation
Vieux 24/03/2008, 22h26   #3
Robert
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Newbie - why are column properties greyed out?

I was able to find Modify but where is ALTER TABLE ALTER COLUMN?

"Erland Sommarskog" <esquel@sommarskog.se> wrote in message
news:Xns9A6B681C43CYazorman@127.0.0.1...
> Robert (cpq1bcle[REMOVE]@verizon.net) writes:
>> I am a newbie with SQL Server Express. In Management Studio Express
>> when I right-click on a column name and the properties window appears
>> the properties are greyed out so I can't make any entries into the
>> properties. Why is this/how can I correct it?

>
> To change a column use ALTER TABLE ALTER COLUMN for the changes where it
> is possible. Some changes require that you recreate and reload the
> table.
>
> At least in SSMS Sr you can right-click the column and select Modify which
> opens the Table Designer. But! Don't go there! The Table Designer is
> very buggy when it comes to changing tables, and you are a lot better off
> without it.
>
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>
> Books Online for SQL Server 2005 at
> http://www.microsoft.com/technet/pro...ads/books.mspx
> Books Online for SQL Server 2000 at
> http://www.microsoft.com/sql/prodinf...ons/books.mspx
>




  Réponse avec citation
Vieux 24/03/2008, 23h39   #4
Erland Sommarskog
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Newbie - why are column properties greyed out?

Robert (cpq1bcle[REMOVE]@verizon.net) writes:
> I was able to find Modify but where is ALTER TABLE ALTER COLUMN?


In a query window near you. And more details in Books Online.

Yes, modifying table schemas means that you need to learn the SQL
statements to do it. It's not really a game that is apt for point-and-click
GUIs. At least not those that come with SQL Server. And in the end,
changing a production database on 1 TB is something that takes careful
planning. And that is definitely nothing you do from a GUI.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h11.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10343 seconds with 12 queries