SAP Knowledge Base Article - Preview

1332587 - Error: 'Failed to retrieve data from Database' while connecting to Teradata in Crystal Reports.


  • Unable to create Crystal Report with a command object with a date prompt using Teradata database.
  • Error: 'Failed to retrieve data from the database. Details: HY000: [NCR] [ODBC Teradata Driver] [Teradata Database] Datatype mismatch in THEN/ELSE expression. [Database Vendor Code: -3800]'



SAP BusinessObjects Business Intelligence platform R2


Teradata, CR, unable to connect. , KBA , BI-RA , Reporting, analysis, and dashboards , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.