Table of ContentsPreviousNext

Ispirer             Ispirer


Ispirer SQLWays データベース移行ソフトウェア

DEFAULT 値を IBM DB2 から Oracleへ変換

Oracle では DEFAULT '' は NULL と解釈されます。対して IBM DB2 では空の文字列として解釈されます。Oracle で空の文字列をデフォルトに設定するには、DEFAULT ' ' (単一引用符で囲まれた空白一文字) と指定します。

SQLWays はIBM DB2の DEFAULT '' を Oracle の DEFAULT ' ' に変換します。

TABLE 100. DEFAULT 値を IBM DB2 から Oracleへ変換
IBM DB2
Oracle
CREATE TABLE table_name1
(
col1 varchar(10) default `'
) 
CREATE TABLE table_name1
(
col1 varchar2(10) default ` 
); 


Table of ContentsPreviousNext
Ispirer             Ispirer
Copyright © 1999-2015 Ispirer Systems Ltd. Ispirer and SQLWays are trademarks of Ispirer Systems Ltd. All other product names may be trademarks of the respective companies. All rights reserved.