Use this tag only for SQL queries with case expressions.
The OR operator in the WHEN clause of a CASE statement is not supported. How can I do this? CASE …
sql sql-server tsql case case-whenCan the mutate be used when the mutation is conditional (depending on the values of certain column values)? This example …
r if-statement dplyr case-when mutateOn SQL server 2005 I am trying to query this select statement SELECT AlarmEventTransactionTableTable.TxnID, CASE AlarmEventTransactions.DeviceID WHEN DeviceID IN( …
sql sql-server sql-server-2005 case-whenI have a huge query which uses case/when often. Now I have this SQL here, which does not work. (…
tsql case-whenI have searched this site extensively but cannot find a solution. Here is the example of my query: SELECT ActivityID, …
sql-server select case-whenGetting error ORA-00932: inconsistent datatypes: expected CHAR got NUMBER 00932. 00000 - "inconsistent datatypes: expected %s got %s" When i run the …
sql oracle oracle-sqldeveloper case-whenMy requirement is to get a number from a complex query and check if the num = desiredNum. If it is …
sql plsql case-whenI have the following code: case when (a.je_source='Revaluation') then 'No_Location' when d.user_name like ('SCHE%…
oracle case-when