Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
V6s5 & FireBird - Logical Field in FireBird???
Message
 
To
28/02/2004 15:15:35
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00881775
Message ID:
00881954
Views:
35
Hi Dorin

>I use smallint as well.

Thanks Dorin

>You can create a domain that can emulate a logical column.
>
>CREATE DOMAIN LOGICAL AS SMALLINT DEFAULT 0 CHECK (VALUE IN (0,1))
>
>or
>
>CREATE DOMAIN LOGICAL AS CHAR(1) DEFAULT 'F' CHECK (VALUE IN ('T','F'))
>
This means that we can create custom datatypes or atleast custom datatype names?

>If you are using domains for columns definition, you can easily change all columns based on a certain domain in all tables.

I just go in for the defaults.

>The good news are that records are not physically changed untill they are "visited"

In what manner
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform