Use this tag only for SQL queries with case expressions.
Hi all (my first post on the Stack!), This works: where Tran_date between @FromDate and @ToDate and Range = @Range …
sql sql-server tsql case-when in-operatorI want to set the session_id automatically using the request_time parameter so i opted for a mysql stored …
mysql timestamp procedures case-whenI'm trying to return true or false based on a CASE WHEN THEN tsql statement, but the only thing that …
tsql case-wheni want to write nested case when condition in query to store the value that will come from one case …
postgresql if-statement nested case-whenI want to select a stored proc to execute based on user input. Something like - EXEC CASE @InputParam WHEN …
sql-server case-whenI would like to have a query that uses the greater of two values/columns if a certain other value …
sql sql-server tsql select case-whenI have a huge table of customer orders and I want to run one query to list orders by month …
postgresql sum case-whenI have the following SQL query that I need to use in a Derived Column Transformation available in SSIS. CASE …
sql ssis case-whenI want to run this query by using Doctrine in Symfony 2.3. But it seems like Doctrine does not understand CASE …
php mysql symfony doctrine-orm case-when