Click here to Skip to main content
16,004,944 members
Home / Discussions / Database
   

Database

 
AnswerRe: Recursive drill down query? Pin
Jon Sagara19-Jan-07 9:34
Jon Sagara19-Jan-07 9:34 
QuestionSQL Server table names has (dbo) as part of name Pin
dptalt19-Jan-07 3:26
dptalt19-Jan-07 3:26 
AnswerRe: SQL Server table names has (dbo) as part of name Pin
Bassam Saoud20-Jan-07 0:00
Bassam Saoud20-Jan-07 0:00 
QuestionWhat You See Is What You Get (WYSIWYG) .... doesn't work with SQL Reporting Services Pin
Member 331398919-Jan-07 3:05
Member 331398919-Jan-07 3:05 
QuestionComparing Dates Problem: Pin
Shahzad.Aslam19-Jan-07 0:56
Shahzad.Aslam19-Jan-07 0:56 
AnswerRe: Comparing Dates Problem: Pin
WoutL19-Jan-07 2:21
WoutL19-Jan-07 2:21 
GeneralRe: Comparing Dates Problem: Pin
Shahzad.Aslam19-Jan-07 18:41
Shahzad.Aslam19-Jan-07 18:41 
AnswerRe: Comparing Dates Problem: Pin
Mike Dimmick19-Jan-07 2:44
Mike Dimmick19-Jan-07 2:44 
SELECT LAST_TRAN_DATE =
   (CASE
       WHEN LastCardTxn > LastDDTxn THEN LastCardTxn 
       <s>ELSE</s> WHEN LastDDTxn > LastCardTxn THEN LastDDTxn
       ELSE NULL
   END) AS Last_Tran_Date
FROM USERHISTORY
The first, crossed-out, ELSE is incorrect - ELSE is only used for the 'default' case i.e. when no WHEN clauses match. Therefore, when the query parser encounters ELSE, it's expecting an expression, and reports that WHEN is an error.

Stability. What an interesting concept. -- Chris Maunder

Questionneed query Pin
Tauseef A19-Jan-07 0:56
Tauseef A19-Jan-07 0:56 
AnswerRe: need query Pin
Pete O'Hanlon19-Jan-07 2:32
mvePete O'Hanlon19-Jan-07 2:32 
Questionhi its very urgent Pin
Tauseef A19-Jan-07 0:11
Tauseef A19-Jan-07 0:11 
GeneralRe: hi its very urgent Pin
Guffa19-Jan-07 0:54
Guffa19-Jan-07 0:54 
Questionquery to rename a field of an existing table in SQL Server?? Pin
Saira Tanwir18-Jan-07 21:48
Saira Tanwir18-Jan-07 21:48 
AnswerRe: query to rename a field of an existing table in SQL Server?? Pin
andyharman19-Jan-07 0:10
professionalandyharman19-Jan-07 0:10 
AnswerRe: query to rename a field of an existing table in SQL Server?? Pin
Elina Blank19-Jan-07 3:14
sitebuilderElina Blank19-Jan-07 3:14 
Questionquerry Pin
pradeep kulkarni18-Jan-07 20:03
pradeep kulkarni18-Jan-07 20:03 
AnswerRe: querry Pin
Christian Graus18-Jan-07 22:10
protectorChristian Graus18-Jan-07 22:10 
Questionquerry Pin
pradeep kulkarni18-Jan-07 19:48
pradeep kulkarni18-Jan-07 19:48 
AnswerRe: querry Pin
gskumar11118-Jan-07 19:53
gskumar11118-Jan-07 19:53 
GeneralRe: querry Pin
Christian Graus18-Jan-07 22:11
protectorChristian Graus18-Jan-07 22:11 
Questionstoring images in sql server Pin
gskumar11118-Jan-07 19:37
gskumar11118-Jan-07 19:37 
AnswerRe: storing images in sql server Pin
Pete O'Hanlon19-Jan-07 2:56
mvePete O'Hanlon19-Jan-07 2:56 
GeneralRe: storing images in sql server Pin
gskumar11122-Jan-07 22:46
gskumar11122-Jan-07 22:46 
Questionquerry Pin
pradeep kulkarni18-Jan-07 18:55
pradeep kulkarni18-Jan-07 18:55 
AnswerRe: querry Pin
maxiachun18-Jan-07 19:28
maxiachun18-Jan-07 19:28 

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.