SAP Knowledge Base Article - Preview

2016367 - Error 'The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.' - SAP PowerBuilder

Symptom

If you create a SQL Native Client connection in PowerBuilder to access a MSSQL Server database configured for French language, you may encounter the following error message when manipulating datetime values for embedded SQL statements:

[SQLSTATE = 22007]
[Microsoft SQL Server Native Client 10.0]
The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value

 


Read more...

Environment

  • SAP PowerBuilder 12.5
  • Microsoft SQL Server 2008

Product

PowerBuilder 12.5 ; SAP PowerBuilder 12.5

Keywords

KBA , BC-SYB-PB , PowerBuilder , 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.