MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now Learn More
Quote from: dougp on 15 Dec 2025 10:20:30 AMThat's always a good double-check. So if you write custom SQL for this, you get different results than what Cognos is producing? Cognos is just generating SQL for you based on what you have created in Reporting combined with the way the model was defined. So what's different between the SQL that Cognos is generating and the SQL that you wrote that produced the result you wanted? Did you make a mistake in the report? Is there an incorrect relationship in the model? ...?
Quote from: Good Friend on 27 Jan 2026 02:01:52 PM2. When you test that column, what does the data look like?
In CSV the format changes to YYYY/MM/DD
Quote from: Good Friend on 27 Jan 2026 02:01:52 PM3. If you use the cast function to cast the column to date what does the data look like?
I casted it to varchar and HTML AND EXCEL gives YYYY-MM-DD which is the desired format but users are running this report in CSV and exporting it
select * from [blah]select * from [blah]| BSP Software Documentation |
| MetaManager Documentation and Knowledgebase |
| Version Control Documentation and Knowledgebase |
| BSP Software | Resources | About Us | ||
| MetaManager | BSP Software Training | BSP Software | ||
| Integrated Control Suite | YouTube Channel | Micro Strategies Inc | ||
| Security Migration | IBM Cognos | |||
| Integrated Management Suite | ||||