Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7790

Unload statement differences

$
0
0

I have two versions of the same database (separate servers one an older version) and the results of an unload are different only by the double quotes around to column names in column constraints,view definitions etc (see below ACCOUNT_ID) in the  I cannot find where this is coming from database settings,options server settings etc

 

One Version with quotes

CREATE TABLE "ACCOUNT" (

    "ACCOUNT_ID"                     integer NOT NULL DEFAULT autoincrement CONSTRAINT "CKC_ACCOUNT_ID" check("ACCOUNT_ID" >= 1)

   ,"ACCOUNT_NUMBER"                 varchar(20) NOT NULL

   ,"ACCOUNT_DESCRIPTION"            varchar(100) NOT NULL

   ,CONSTRAINT "PK_ACCOUNT" PRIMARY KEY ("ACCOUNT_ID" ASC)

)

 

Another version without quotes

CREATE TABLE "ACCOUNT" (

    "ACCOUNT_ID"                     integer NOT NULL DEFAULT autoincrement CONSTRAINT "CKC_ACCOUNT_ID" check(ACCOUNT_ID >= 1)

   ,"ACCOUNT_NUMBER"                 varchar(20) NOT NULL

   ,"ACCOUNT_DESCRIPTION"            varchar(100) NOT NULL

   ,CONSTRAINT "PK_ACCOUNT" PRIMARY KEY ("ACCOUNT_ID" ASC)

)

 

I have checked quoted_identifier documentation etc etc

 

Any suggestions greatly appreciated

 

Dieter


Viewing all articles
Browse latest Browse all 7790

Trending Articles



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