Quantcast
Channel: Toad Data Point Forum - Recent Threads
Viewing all articles
Browse latest Browse all 2544

RE: Querying connected excel worksheet data

$
0
0

Excel does not support the CASE statement like many SQL databases do. I think you'll have to use IIF in your select statement. I did a Google search and one good example I found was: 

SELECT
   IIF(test_expression, value_if_true, value_if_false) AS FIELD_NAME
FROM
   TABLE_NAME



Viewing all articles
Browse latest Browse all 2544


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>