Click here to Skip to main content
15,902,275 members
Home / Discussions / Database
   

Database

 
GeneralRe: SSIS PACKAGES Pin
Mark J. Miller7-Apr-08 5:35
Mark J. Miller7-Apr-08 5:35 
GeneralRe: SSIS PACKAGES Pin
kibromg7-Apr-08 6:21
kibromg7-Apr-08 6:21 
GeneralRe: SSIS PACKAGES Pin
Mark J. Miller7-Apr-08 6:33
Mark J. Miller7-Apr-08 6:33 
GeneralRe: SSIS PACKAGES Pin
kibromg8-Apr-08 0:15
kibromg8-Apr-08 0:15 
GeneralView Pin
.NET- India 7-Apr-08 3:36
.NET- India 7-Apr-08 3:36 
GeneralRe: View Pin
John_Adams7-Apr-08 4:26
John_Adams7-Apr-08 4:26 
QuestionHow to add not null column in SQL Server 2005? Pin
salon6-Apr-08 22:35
salon6-Apr-08 22:35 
AnswerRe: How to add not null column in SQL Server 2005? Pin
Ashfield7-Apr-08 1:46
Ashfield7-Apr-08 1:46 
Nothing is wrong.


salon wrote:
ALTER TABLE only allows columns to be added that can contain nulls, or have a DEFAULT definition specified, or the column being added is an identity or timestamp column, or alternatively if none of the previous conditions are satisfied the table must be empty to allow addition of this column. Column 'xyz' cannot be added to non-empty table 'abc' because it does not satisfy these conditions.


It says it all. You cannot add NOT NULL columns to an existing table unless you specify a default as, obviously, the new column will contain NULL.

Bob
Ashfield Consultants Ltd

AnswerRe: How to add not null column in SQL Server 2005? Pin
Mark J. Miller7-Apr-08 5:29
Mark J. Miller7-Apr-08 5:29 
Generallink database to adialog based application Pin
lahom6-Apr-08 12:33
lahom6-Apr-08 12:33 
Generalwhere add related tables automatically on diagram sql server 2005 Pin
Rami Said Abd Alhalim5-Apr-08 23:42
Rami Said Abd Alhalim5-Apr-08 23:42 
GeneralRe: where add related tables automatically on diagram sql server 2005 Pin
Blue_Boy6-Apr-08 20:17
Blue_Boy6-Apr-08 20:17 
GeneralSql qstn(bit) Pin
hari4ur5-Apr-08 0:22
hari4ur5-Apr-08 0:22 
GeneralRe: Sql qstn(bit) Pin
Colin Angus Mackay5-Apr-08 5:04
Colin Angus Mackay5-Apr-08 5:04 
GeneralRe: Sql qstn(bit) Pin
Mycroft Holmes5-Apr-08 18:16
professionalMycroft Holmes5-Apr-08 18:16 
GeneralMSSQL 2000 trigger on update [modified] Pin
Ronni Marker4-Apr-08 23:12
Ronni Marker4-Apr-08 23:12 
GeneralRe: MSSQL 2000 trigger on update Pin
Ronni Marker5-Apr-08 1:24
Ronni Marker5-Apr-08 1:24 
GeneralI have an Interesting Problem Pin
keencomputer4-Apr-08 20:43
keencomputer4-Apr-08 20:43 
GeneralRe: I have an Interesting Problem Pin
Rami Said Abd Alhalim5-Apr-08 23:44
Rami Said Abd Alhalim5-Apr-08 23:44 
GeneralConcurrency violation on update command. Pin
msx234-Apr-08 14:11
msx234-Apr-08 14:11 
GeneralRe: Concurrency violation on update command. Pin
Rami Said Abd Alhalim5-Apr-08 23:49
Rami Said Abd Alhalim5-Apr-08 23:49 
QuestionStored-Procedure (SP) - Executed as single transaction? Pin
Adeel Chaudhry4-Apr-08 9:26
Adeel Chaudhry4-Apr-08 9:26 
AnswerRe: Stored-Procedure (SP) - Executed as single transaction? Pin
Mark J. Miller4-Apr-08 12:03
Mark J. Miller4-Apr-08 12:03 
GeneralRe: Stored-Procedure (SP) - Executed as single transaction? Pin
Adeel Chaudhry5-Apr-08 4:50
Adeel Chaudhry5-Apr-08 4:50 
GeneralRe: Stored-Procedure (SP) - Executed as single transaction? Pin
Mark J. Miller6-Apr-08 4:31
Mark J. Miller6-Apr-08 4:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.