[Solved] How to use if else in select statement in sql server 2008 - CodeProject

[Solved] How to use if else in select statement in sql server 2008 - CodeProject

瀏覽:1122
日期:2025-10-04
can you Provide your table structure, and also explain what you want to achieve? can't say about others but i am having little doubt in your logic used. well in your case you have missed 'end' keyword.. case when P.Factor1=' ' then 0 else P.Factor1 End as...看更多