SAP Knowledge Base Article - Preview

2232034 - Cannot use a DataWindow with a SQL statement containing comment lines - SAP PB


  • You are using the assembly Sybase.PowerBuilder.DataWindow.Win.DLL in a C# or a Visual Basic application.
  • Below error is reported when a dataobject has comments in its SQL statement.

SQL DB Code -131
SQL Error Text Select Error: SQLSTATE = 37000 [Sybase][ODBC Driver][SQL Anywhere]Syntax error near '(end of line)' on line 1



  • SAP PowerBuilder (PB) 12.6 SP00 PL05 (build 4081)
  • Microsoft Visual Studio 2010


SAP PowerBuilder 12.6


CR791220, 791220, CR#791220, Datastore , KBA , BC-SYB-PB , PowerBuilder , Product Enhancement

About this page

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

Search for additional results

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