Subject | RE: [firebird-support] Creating domain with check and character set |
---|---|
Author | Rick Debay |
Post date | 2006-11-16T18:07:26Z |
It works on FB 1.5 and 2.0, but I swear I could have tested that
combination. My bad, but the docs may have to be updated. I'll check
the Firebird Book errata to see it it's already been reported.
-----Original Message-----
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Thomas
Steinmaurer
Sent: Thursday, November 16, 2006 12:19 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Creating domain with check and character
set
CREATE DOMAIN D_TEST4 AS
CHAR(3) CHARACTER SET ASCII
CHECK (
VALUE IN ('T','E','S')
)
COLLATE ASCII
--
Best Regards,
Thomas Steinmaurer
LogManager Series - Logging/Auditing Suites supporting InterBase,
Firebird, Advantage Database, MS SQL Server and NexusDB V2 Upscene
Productions http://www.upscene.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Visit http://www.firebirdsql.org and click the Resources item
on the main (top) menu. Try Knowledgebase and FAQ links !
Also search the knowledgebases at http://www.ibphoenix.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Yahoo! Groups Links
Disclaimer: This message (including attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. RxStrategies, Inc. shall not be liable for the improper or incomplete transmission of the information contained in this communication or for any delay in its receipt or damage to your system. RxStrategies, Inc. does not guarantee that the integrity of this communication has been maintained nor that this communication is free from viruses, interceptions or interference.
combination. My bad, but the docs may have to be updated. I'll check
the Firebird Book errata to see it it's already been reported.
-----Original Message-----
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Thomas
Steinmaurer
Sent: Thursday, November 16, 2006 12:19 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Creating domain with check and character
set
> This failsThis will work:
>
> CREATE DOMAIN D_TEST AS
> CHAR(3)
> CHECK (
> VALUE IN ('T','E','S')
> )
> CHARACTER SET ASCII COLLATE ASCII
CREATE DOMAIN D_TEST4 AS
CHAR(3) CHARACTER SET ASCII
CHECK (
VALUE IN ('T','E','S')
)
COLLATE ASCII
--
Best Regards,
Thomas Steinmaurer
LogManager Series - Logging/Auditing Suites supporting InterBase,
Firebird, Advantage Database, MS SQL Server and NexusDB V2 Upscene
Productions http://www.upscene.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Visit http://www.firebirdsql.org and click the Resources item
on the main (top) menu. Try Knowledgebase and FAQ links !
Also search the knowledgebases at http://www.ibphoenix.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Yahoo! Groups Links
Disclaimer: This message (including attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. RxStrategies, Inc. shall not be liable for the improper or incomplete transmission of the information contained in this communication or for any delay in its receipt or damage to your system. RxStrategies, Inc. does not guarantee that the integrity of this communication has been maintained nor that this communication is free from viruses, interceptions or interference.