Click here to Skip to main content
15,896,278 members
Home / Discussions / Database
   

Database

 
AnswerRe: Can i insert "Dec-08" in Sql server 2005 database table column having Datatype "DateTime" Pin
Wendelius12-Feb-09 3:00
mentorWendelius12-Feb-09 3:00 
GeneralRe: Can i insert "Dec-08" in Sql server 2005 database table column having Datatype "DateTime" Pin
Dattatraya K12-Feb-09 3:05
Dattatraya K12-Feb-09 3:05 
GeneralRe: Can i insert "Dec-08" in Sql server 2005 database table column having Datatype "DateTime" Pin
Wendelius12-Feb-09 4:07
mentorWendelius12-Feb-09 4:07 
QuestionHelp with a very complex query Pin
www.Developerof.NET12-Feb-09 0:54
www.Developerof.NET12-Feb-09 0:54 
AnswerRe: Help with a very complex query Pin
Wendelius12-Feb-09 4:28
mentorWendelius12-Feb-09 4:28 
QuestionAdd 100 in null Pin
.NET- India 11-Feb-09 21:59
.NET- India 11-Feb-09 21:59 
AnswerRe: Add 100 in null Pin
Wendelius11-Feb-09 22:22
mentorWendelius11-Feb-09 22:22 
AnswerRe: Add 100 in null Pin
Rob Philpott11-Feb-09 22:22
Rob Philpott11-Feb-09 22:22 
Well, firstly that where clause is bonkers. If you want to update all records you want to do away with that.

try this:

update Rough set Salary = isnull(Salary, 0) + 100

It's a good idea to avoid nullable columns where they're not appropriate or you end up having to do stuff like this all over the place.

Regards,
Rob Philpott.

QuestionSql Reporting services Pin
member2711-Feb-09 20:54
member2711-Feb-09 20:54 
AnswerRe: Sql Reporting services Pin
Wendelius11-Feb-09 20:59
mentorWendelius11-Feb-09 20:59 
GeneralRe: Sql Reporting services Pin
member2712-Feb-09 0:44
member2712-Feb-09 0:44 
GeneralRe: Sql Reporting services Pin
Wendelius12-Feb-09 4:53
mentorWendelius12-Feb-09 4:53 
QuestionRegarding StoredProcedure Pin
chinni111-Feb-09 19:33
chinni111-Feb-09 19:33 
AnswerRe: Regarding StoredProcedure Pin
Wendelius11-Feb-09 20:00
mentorWendelius11-Feb-09 20:00 
QuestionSQL server 2008 Pin
NidhiKanu11-Feb-09 19:28
professionalNidhiKanu11-Feb-09 19:28 
AnswerRe: SQL server 2008 Pin
Wendelius11-Feb-09 19:58
mentorWendelius11-Feb-09 19:58 
GeneralRe: SQL server 2008 Pin
NidhiKanu11-Feb-09 20:06
professionalNidhiKanu11-Feb-09 20:06 
GeneralRe: SQL server 2008 Pin
Wendelius11-Feb-09 20:12
mentorWendelius11-Feb-09 20:12 
GeneralRe: SQL server 2008 Pin
NidhiKanu11-Feb-09 20:19
professionalNidhiKanu11-Feb-09 20:19 
GeneralRe: SQL server 2008 Pin
Wendelius11-Feb-09 20:37
mentorWendelius11-Feb-09 20:37 
QuestionMSSQL how do I get the schema setup Pin
alex.barylski11-Feb-09 14:26
alex.barylski11-Feb-09 14:26 
GeneralRe: MSSQL how do I get the schema setup Pin
Luc Pattyn11-Feb-09 14:46
sitebuilderLuc Pattyn11-Feb-09 14:46 
GeneralRe: MSSQL how do I get the schema setup Pin
alex.barylski11-Feb-09 17:43
alex.barylski11-Feb-09 17:43 
AnswerRe: MSSQL how do I get the schema setup Pin
Wendelius11-Feb-09 18:21
mentorWendelius11-Feb-09 18:21 
QuestionDeploying Stored Procedures in Visual Studio - GRANT EXECUTE Pin
Mike Ellison11-Feb-09 13:38
Mike Ellison11-Feb-09 13:38 

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.