ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   import external data sql case statement (https://www.excelbanter.com/excel-discussion-misc-queries/127683-import-external-data-sql-case-statement.html)

burkecrosby

import external data sql case statement
 
i have a sql query with a complex CASE statement that returns the results i
want in Query Analyzer. however, when i use the script to import into excel
the ELSE elements of the results are blank. interestingly, if i put the
script into a stored procedure all the results (including the ELSEs) come
into excel ok.

anyone seen this? know the reason? obviously the stored procedure is my
workaround, but was wondering if there is another.

thanks,
burke


All times are GMT +1. The time now is 09:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com