Click here to Skip to main content
15,888,239 members
Home / Discussions / Database
   

Database

 
QuestionSRSS 2008 RepeatOnNewPage not really work on the “2nd last” page Pin
F.E.L.I.X.15-Nov-13 0:44
F.E.L.I.X.15-Nov-13 0:44 
GeneralMessage Closed Pin
14-Nov-13 15:34
professionalMember 1040275014-Nov-13 15:34 
GeneralRe: Hadoop + esProc Help You Replace IOE Pin
Eddy Vluggen14-Nov-13 22:29
professionalEddy Vluggen14-Nov-13 22:29 
Questionstoredprocedures Pin
Member 1039766114-Nov-13 4:07
Member 1039766114-Nov-13 4:07 
AnswerRe: storedprocedures Pin
Eddy Vluggen14-Nov-13 6:52
professionalEddy Vluggen14-Nov-13 6:52 
GeneralRe: storedprocedures Pin
Member 1039766114-Nov-13 7:31
Member 1039766114-Nov-13 7:31 
GeneralRe: storedprocedures Pin
Eddy Vluggen16-Nov-13 1:26
professionalEddy Vluggen16-Nov-13 1:26 
QuestionAlter statement - Pin
vkEE13-Nov-13 4:46
vkEE13-Nov-13 4:46 
Hi,

Well, this is kind of embarrassing, i always used the GUI for altering the database tables in sql server 2005. Now, in sql server 2008, I need to write sql statements to do this.

I need to alter the existing column, and set it to not null with default value 0.

I got the not null part working, get error on default value.

alter table dbo.mytable
alter column [VendorLevelId] INT Not NULL Default 0


Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword 'Default'.
AnswerRe: Alter statement - Pin
Richard Deeming13-Nov-13 5:10
mveRichard Deeming13-Nov-13 5:10 
AnswerRe: Alter statement - Pin
RedDk15-Nov-13 11:55
RedDk15-Nov-13 11:55 
QuestionOLAP database missing... Pin
SalCon12-Nov-13 22:46
SalCon12-Nov-13 22:46 
SuggestionRe: OLAP database missing... Pin
Richard MacCutchan13-Nov-13 0:37
mveRichard MacCutchan13-Nov-13 0:37 
AnswerRe: OLAP database missing... Pin
GuyThiebaut13-Nov-13 2:57
professionalGuyThiebaut13-Nov-13 2:57 
QuestionMariaDB and c# Pin
Septimus Hedgehog12-Nov-13 3:59
Septimus Hedgehog12-Nov-13 3:59 
AnswerRe: MariaDB and c# Pin
Simon_Whale13-Nov-13 3:40
Simon_Whale13-Nov-13 3:40 
GeneralRe: MariaDB and c# Pin
Septimus Hedgehog13-Nov-13 7:29
Septimus Hedgehog13-Nov-13 7:29 
AnswerTested successfully. Pin
Septimus Hedgehog14-Nov-13 1:12
Septimus Hedgehog14-Nov-13 1:12 
QuestionConcat NULL yields NULL inside a Function Pin
Fabricio Dos Santos Antunes12-Nov-13 0:36
Fabricio Dos Santos Antunes12-Nov-13 0:36 
AnswerRe: Concat NULL yields NULL inside a Function Pin
Simon_Whale12-Nov-13 1:01
Simon_Whale12-Nov-13 1:01 
AnswerRe: Concat NULL yields NULL inside a Function Pin
Mycroft Holmes12-Nov-13 1:57
professionalMycroft Holmes12-Nov-13 1:57 
SuggestionRe: Concat NULL yields NULL inside a Function Pin
Richard Deeming12-Nov-13 3:08
mveRichard Deeming12-Nov-13 3:08 
GeneralRe: Concat NULL yields NULL inside a Function Pin
Fabricio Dos Santos Antunes13-Nov-13 6:26
Fabricio Dos Santos Antunes13-Nov-13 6:26 
QuestionAccess 2003 tables to link sqlexpress 2005 but i had not seen table .DBO ? Pin
Member 245846711-Nov-13 17:02
Member 245846711-Nov-13 17:02 
AnswerRe: Access 2003 tables to link sqlexpress 2005 but i had not seen table .DBO ? Pin
Eddy Vluggen14-Nov-13 6:57
professionalEddy Vluggen14-Nov-13 6:57 
Questiondatabase schema Pin
Member 1039287510-Nov-13 19:09
Member 1039287510-Nov-13 19:09 

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.