Click here to Skip to main content
15,912,329 members
Home / Discussions / Database
   

Database

 
QuestionUnable to run the SQL Server critical update Pin
Suj_7822-Mar-06 23:03
Suj_7822-Mar-06 23:03 
AnswerRe: Unable to run the SQL Server critical update Pin
André Ziegler23-Mar-06 22:32
André Ziegler23-Mar-06 22:32 
GeneralRe: Unable to run the SQL Server critical update Pin
Suj_7823-Mar-06 23:04
Suj_7823-Mar-06 23:04 
GeneralRe: Unable to run the SQL Server critical update Pin
André Ziegler24-Mar-06 0:43
André Ziegler24-Mar-06 0:43 
GeneralRe: Unable to run the SQL Server critical update Pin
Suj_7824-Mar-06 2:11
Suj_7824-Mar-06 2:11 
GeneralRe: Unable to run the SQL Server critical update Pin
André Ziegler24-Mar-06 2:45
André Ziegler24-Mar-06 2:45 
QuestionUsing a switch in SQL Pin
MatthysDT22-Mar-06 22:46
MatthysDT22-Mar-06 22:46 
AnswerRe: Using a switch in SQL Pin
Colin Angus Mackay23-Mar-06 1:26
Colin Angus Mackay23-Mar-06 1:26 
evilnoodle wrote:
Is my understanding that all Switch statements in SQL must be within a query statement correct?


Yes.


evilnoodle wrote:
If so it will explain why this wont work.


Because it isn't in a query statement context. Your are using it in a control flow context

Try something like this:
SET @METHOD_VERSION = CASE LEFT(@STREAM, 1) WHEN '7' THEN 'CX' WHEN '8' THEN 'DX' END


ColinMackay.net
Scottish Developers are looking for speakers for user group sessions over the next few months. Do you want to know more?

QuestionImage in Datagrid Pin
naveenieus22-Mar-06 17:13
naveenieus22-Mar-06 17:13 
QuestionDoes anybody know open source db of countries, cities... Pin
e-laj22-Mar-06 14:47
e-laj22-Mar-06 14:47 
QuestionHow to: Reset value of autoincrement column, after delete the datarow? Pin
krzychub22-Mar-06 6:46
krzychub22-Mar-06 6:46 
QuestionRe: How to: Reset value of autoincrement column, after delete the datarow? Pin
Chris Meech22-Mar-06 7:16
Chris Meech22-Mar-06 7:16 
AnswerRe: How to: Reset value of autoincrement column, after delete the datarow? Pin
Steve Schaneville22-Mar-06 7:19
professionalSteve Schaneville22-Mar-06 7:19 
AnswerRe: How to: Reset value of autoincrement column, after delete the datarow? Pin
krzychub23-Mar-06 21:19
krzychub23-Mar-06 21:19 
Questionusing aggregates on NULL Pin
Rob Philpott22-Mar-06 4:48
Rob Philpott22-Mar-06 4:48 
AnswerRe: using aggregates on NULL Pin
Michael Potter22-Mar-06 4:54
Michael Potter22-Mar-06 4:54 
GeneralRe: using aggregates on NULL Pin
Rob Philpott22-Mar-06 6:14
Rob Philpott22-Mar-06 6:14 
GeneralRe: using aggregates on NULL Pin
Michael Potter22-Mar-06 8:29
Michael Potter22-Mar-06 8:29 
GeneralRe: using aggregates on NULL Pin
Rob Philpott22-Mar-06 8:59
Rob Philpott22-Mar-06 8:59 
AnswerRe: using aggregates on NULL Pin
albCode22-Mar-06 4:55
albCode22-Mar-06 4:55 
AnswerRe: using aggregates on NULL Pin
Steve Schaneville22-Mar-06 7:15
professionalSteve Schaneville22-Mar-06 7:15 
AnswerRe: using aggregates on NULL Pin
Chris Meech22-Mar-06 7:22
Chris Meech22-Mar-06 7:22 
JokeRe: using aggregates on NULL Pin
Jorge Novo23-Mar-06 13:09
Jorge Novo23-Mar-06 13:09 
QuestionBLOB size in oracle 8? Pin
chilituna22-Mar-06 1:56
chilituna22-Mar-06 1:56 
QuestionProcedure Pin
ArielR22-Mar-06 0:06
ArielR22-Mar-06 0:06 

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.