Symptom
以下の条件をすべて満たす場合に、257 エラー "データ型 '...' から '...' への暗黙の変換はできません。CONVERT 関数を使って、このクエリを実行してください。" が発生することがあります。
- "statement cache" が設定されている
- パラメータ文 (? パラメータを含む) がオプション "DYNAMIC_PREPARE" なしで実行されている
- パラメータの 1 つまたは複数にセットされた NULL値を送信している
- NULL 値を指定したデータ型が SQL 文の対象カラムと互換性を持たない
Read more...
Environment
Adaptive Server Enterprise 12.5.2 以降
jConnect for JDBC 6.0.5、7.0
Product
SAP Adaptive Server Enterprise all versions
Keywords
statement cache, implicit conversion, 257, jConnect, JDBC, 暗黙的変換 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-SDK , SDK , 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.