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

Database

 
GeneralRe: date format problem with asp & mssql. Help! Pin
Dave Kreskowiak9-Feb-06 11:10
mveDave Kreskowiak9-Feb-06 11:10 
GeneralRe: date format problem with asp & mssql. Help! Pin
dansoft9-Feb-06 14:37
dansoft9-Feb-06 14:37 
Questioninserting images Pin
Net-Programer-and-developer7-Feb-06 5:30
Net-Programer-and-developer7-Feb-06 5:30 
AnswerRe: inserting images Pin
Dave Kreskowiak7-Feb-06 7:59
mveDave Kreskowiak7-Feb-06 7:59 
Questionsql server credentials Pin
Dimitris Iliopoulos7-Feb-06 4:47
Dimitris Iliopoulos7-Feb-06 4:47 
AnswerRe: sql server credentials Pin
Mike Dimmick7-Feb-06 5:45
Mike Dimmick7-Feb-06 5:45 
QuestionCumalative Sum and Supply/Demand Delay Pin
T-Smooth7-Feb-06 4:41
T-Smooth7-Feb-06 4:41 
QuestionIf statement in select clause... Help! Pin
awisey7-Feb-06 4:25
awisey7-Feb-06 4:25 
Hi all,
Im new to this area of code project,

Just woundering if its possible to have a if statement in the select clause of a sql query in sql server.
I need to convert the ms access version sql:
<br />
Select IIf([OD_STOCK_CODE] Like "**BUPN**",([OD_UNITCST]*0.7)*[OD_QTYORD],0) AS BOXDisc<br />


to an equivilent ms sql syntax

Any ideas
thanks in advance
AnswerRe: If statement in select clause... Help! Pin
Mike Ellison7-Feb-06 5:56
Mike Ellison7-Feb-06 5:56 
AnswerRe: If statement in select clause... Help! Pin
Michael Potter7-Feb-06 5:58
Michael Potter7-Feb-06 5:58 
QuestionSQL & DAO Connection Pin
paykani6-Feb-06 18:00
paykani6-Feb-06 18:00 
AnswerRe: SQL & DAO Connection Pin
Dave Kreskowiak7-Feb-06 7:56
mveDave Kreskowiak7-Feb-06 7:56 
QuestionSQL Server Express 2005 Pin
Bassam Abdul-Baki6-Feb-06 15:41
professionalBassam Abdul-Baki6-Feb-06 15:41 
QuestionPluggable Reports Pin
ProffK6-Feb-06 10:19
ProffK6-Feb-06 10:19 
QuestionHow to menage concurrency with timestamp (C#) Pin
ventomito6-Feb-06 7:00
ventomito6-Feb-06 7:00 
AnswerRe: How to menage concurrency with timestamp (C#) Pin
Edbert P6-Feb-06 15:46
Edbert P6-Feb-06 15:46 
QuestionDatabase Auditing (Urgent) Pin
Roro Adel6-Feb-06 4:08
Roro Adel6-Feb-06 4:08 
AnswerRe: Database Auditing (Urgent) Pin
Alex Deem6-Feb-06 4:41
Alex Deem6-Feb-06 4:41 
QuestionAllow remote host with MySQL Pin
Paul Watson6-Feb-06 2:06
sitebuilderPaul Watson6-Feb-06 2:06 
AnswerRe: Allow remote host with MySQL Pin
Edbert P6-Feb-06 15:50
Edbert P6-Feb-06 15:50 
GeneralRe: Allow remote host with MySQL Pin
Paul Watson6-Feb-06 22:52
sitebuilderPaul Watson6-Feb-06 22:52 
GeneralRe: Allow remote host with MySQL Pin
Edbert P7-Feb-06 12:03
Edbert P7-Feb-06 12:03 
QuestionMS SQL 2000 Enterprise server and C# Windows App. Pin
cbhkenshin6-Feb-06 1:08
cbhkenshin6-Feb-06 1:08 
AnswerRe: MS SQL 2000 Enterprise server and C# Windows App. Pin
Colin Angus Mackay6-Feb-06 2:11
Colin Angus Mackay6-Feb-06 2:11 
QuestionMysql PASSWORD Encryption & Decryption Pin
rpkumar6-Feb-06 0:06
rpkumar6-Feb-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.