Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

Re: PB .net 12.5.2, datawindow retrieves choke on Oracle TO_CHAR function

$
0
0

You can't used database specific commands (e.g., TO_CHAR) in a SQL statement using an ODBC driver   What you have to do is specify the ODBC equivalent than then let the ODBC driver convert it for you.  For example, if you do:

 

WHERE {fn CONVERT(EMPNO,SQL_CHAR)}

 

Then what the ODBC driver should pass when it's talking to Oracle is:

 

WHERE to_char(EMPNO)


Viewing all articles
Browse latest Browse all 7329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>