case-statement
case-statement or if-statement efficiency perspective [duplicate]
This question already has answers here: Closed 12 years ago. Possible Duplicates: Is "else if"开发者_StackOverflow; faster than "switch() case"?[详细]
2023-01-09 16:34 分类:问答Matching BIT to DATETIME in CASE statement
I\'m attempting to create a T-SQL case statement to filter a query based on whether a field is NULL or if it contains a value. It would be simple if you could assign NULL or NOT NULL as the result of[详细]
2023-01-05 19:15 分类:问答SQL Server Query with "ELSE:"
I have various VB6 projects I\'m maintaining with some of the queries being passed to the server having \"ELSE:\" with the colon used in case statements.[详细]
2023-01-04 04:52 分类:问答SQL: Using a CASE Statement to update 1000 rows at once
Ok, I would like to use a CASE STATEMENT for this, but I am lost with this.Basically, I need to update a ton of rows, but just on the \"position\" column.I need to UPDATE all position values that are[详细]
2022-12-29 10:19 分类:问答SQL Server - How to switch between 2 possible SELECT statements
I would like to use a parameter in my mssql stored procedures to switch between a small and a detailed result (for maintainability, performance and network load reasons).[详细]
2022-12-28 07:19 分类:问答Using a Case statement within the values section of an Insert statement
Please forgive my ignorance and poor SQL programming skills but I am normally a basic SQL developer. I need to create a trigger off the insertion of data in one table to insert different data into an[详细]
2022-12-26 19:59 分类:问答syntax case statement with calculated column
What is the right syntax for this query in MS-SQL 2005? select case app.NAMED_USER WHEN app.NAMED_USER > 50 AND app.NAMED_USER <=0 THEN 4[详细]
2022-12-26 19:57 分类:问答Help with MySQL Query using CASE statement
I am trying to group a number of customers together based on their \"Head Office\" or \"Parent\" location.[详细]
2022-12-26 14:27 分类:问答Case statements evaluate to strings
I\'ve caught the functional programming bug, so naturally nothing is goo开发者_开发知识库d enough for me anymore. ;)[详细]
2022-12-20 17:05 分类:问答What is the Fastest Way to Check for a Keyword in a List of Keywords in Delphi?
I have a small list of keywords. What I\'d really like to do is akin to: case MyKeyword of \'CHIL\': (code for CHIL);[详细]
2022-12-17 18:14 分类:问答
加载中,请稍侯......