Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2001-11-12 : 13:50:26
|
| kamal writes "I am facing a problem when i convert my access database to SQl server. My query is as followsSELECT Sum (Questions.[Question TypeID]=1) AS TotScaleType, Sum(Questions.[Question TypeID]=2) AS TotNumType, Sum(Questions.[Question TypeID]=5) as TotListType FROM Questions WHERE Questions.FormID=56 it works with Access but SQL server does not take sum (Questions.[Question TypeID]=1) . It gives error near = . Tell me what will be the best way to overcome this problem if possible without making change in query" |
|
|
|
|
|