Article View: borland.public.interbase.ibconsole
Article #41Re: New beta release for IBConsole available (8.1.0.266)
From: Brent Rose
Date: Wed, 20 Feb 2008 19:01
Date: Wed, 20 Feb 2008 19:01
47 lines
2280 bytes
2280 bytes
Hi Gelein The syntax taken from "View Metadata" in ibc (ie the full db metadata) is like this: CREATE DOMAIN "DOM_FIRSTNAME" AS VARCHAR(20) DEFAULT NULL COLLATE DB_US437; Interestingly, the syntax taken from the "Metadata" tab of the domain definition reads: CREATE DOMAIN "DOM_FIRSTNAME" AS VARCHAR(20) CHARACTER SET DOS437 DEFAULT 'NULL' COLLATE DB_US437; ie the default NULL value is enclosed in single quotes, which would explain the result I observe. I re-checked the original script I used to declare the domains, and it did not include any quotes at all - in fact it was: CREATE DOMAIN DOM_FIRSTNAME AS VARCHAR(20) CHARACTER SET DOS437 DEFAULT NULL COLLATE DB_US437; -- Brent Rose Whats On Report brent@whatson.co.nz "Gelein van de Voorde" <gelein@gvsnet.nl> wrote in message news:47bb38e7$1@newsgroups.borland.com... > Brent Rose wrote: > >> When entering new records in IBC, domain based DEFAULT NULL fields >> default to text value "NULL" rather than actual <null> value. > > Brent, > > Can you post the Metadata of an example of a domain that has this > effect? > > > -- > Gelein van de Voorde (IBConsole team) > > "The blossoms on an apple tree are standardized, > and yet they are all different. > That is how we, too, should learn to build." > > Alvar Alto
Technical Details
Message-ID:
<47bc77b6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<479f8ded$1@newsgroups.borland.com> <47b91cb8@newsgroups.borland.com> <47bb38e7$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f4565,754b9e4ac3bf3612 X-Google-Attributes: gidf4565,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Brent Rose" <brent@whatson.co.nz> Newsgroups: borland.public.interbase.ibconsole References: <479f8ded$1@newsgroups.borland.com> <47b91cb8@newsgroups.borland.com> <47bb38e7$1@newsgroups.borland.com> Subject: Re: New beta release for IBConsole available (8.1.0.266) Date: Thu, 21 Feb 2008 08:01:14 +1300 Lines: 49 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 203.79.66.167 Message-ID: <47bc77b6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1203533750 203.79.66.167 (20 Feb 2008 10:55:50 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail