I used to work with Interbase and Firebird and used databases the keyword "domain". I am now switchig to Oracle as a primary database and would like to find an alternative appropriate "domain" in Oracle, as it appears he does ' t taken in charge the stand

I used to work with Interbase and Firebird and used databases the keyword "domain".

I am now switchig to Oracle as a primary database and would like to find a suitable

Variant of 'area' in Oracle such that it appears he does ' t support the standard SQL syntax.

for example:

Create the int2 smallint field;

create domain id2 int2 default 0 not NULL; / * for the primary key * /.

create domain rel2 int2 default 0 not NULL; / * foreign key * /.

I tried a couple of approaches to achieve this "area" is:

1. create synonym - cannot be used with the basic types;

2. create the type - type of work, but the implementation is rather clumsy

and can be costly in terms of performance.

Is there something else to Oracle that can emulate the feature "domain"?

Thanks in advence, I got really approciate any help on this.

Alex.

Your best approximation is CREATE TYPE, but their is nothing of what is a 100% adjustment.

For example, if you create a domain with a check constraint you need to implement than separately on each table.

Tags: Database

Similar Questions

  • Pavilion hpe-112y: I have a hp Pavilion hpe-112y and would like to find the firewire port

    I have a hp Pavilion hpe-112y and would like to find the firewire port

    Looking at the back - #4 is the firewire port

  • Why pes 2012 does not work with me and my video card is 1699 MB Intel HD Graphics(core i3)?

    Why pes 2012 does not work with me and my video card is 1699 MB Intel HD Graphics(core i3)?

    Hello

    You receive an error message?

    Method 1:

    You can update the drivers of graphics cards and check.
    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly


    Method 2:

    You can also perform a clean boot and check if it works:
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: after a repair, be sure to set the computer to start as usual as mentioned in step 7 in the Knowledge Base article

    You can also check out the link:
    The problems of the game performance
    http://Windows.Microsoft.com/en-us/Windows7/fixing-game-performance-problems
    Diagnose problems running DirectX
    http://Windows.Microsoft.com/en-us/Windows7/diagnosing-basic-problems-with-DirectX

  • The NI9423 will work with Sound and Vibration VI

    Will be that the NI 9423 mounted on a chassis cRIO work with the NO audio and vibration of VI?

    I have an optical encoder of 10-30 V 100 pulses/revolution and would like to make angle field order analysis with her.

    is the NI9423 a card appropriate for this purpose or is something else better suited, I'm open to change the type of encoder if necessary.

    Hi Bodger

    How fast do you think the tree to turn to? The speed of switching module is able to pass to the 1uS extremely quickly. This means that you should be fine unless you are turning the tree at a ridiculously fast speed of approximately 600000 RPM.

    Regarding the reading of signals with the sound and vibration screw, you should be able to do this using the digital tachometer functions.

    Thank you very much

    Dan.H

    NIUK Applications Engineering

  • Lightroom 6.4 not work with nikon and nikon d610 d810 in 10.10 mac, anyone else have this problem?

    Lightroom 6.4 not work with nikon and nikon d610 d810 in mac10.10, anyone else have this problem?

    When you say won't work, what are the exact symptoms that you see on the screen? Error messages? Codes?

    How do get you pictures from the camera to the computer? If you use the Nilkon software, try using a card reader instead.

  • graphic and CPU recommended for a freelance artist working with cintiq and photoshop

    im going to use the cintiq 22hd to use advanced daily for digital art.
    What processor and graphics card type recommended for a freelance artist working with cintiq and photoshop?

    Hi Drok'e,.

    Please see the following articles:
    For graphics card: video card FAQ and Adobe Photoshop CC GPU (graphics processor)

    Requirements of CC of Photoshop: Photoshop system requirements

    Kind regards

    Tanuj

  • What I see if I work with Microsoft and exchange of data on the creative clouds with people working on Apple?

    What I see if I work with Microsoft and exchange of data on the creative clouds with people working on Apple?

    That all depends on what you want to share

    The data files that are "industry standard" such as the JPG images are the same on both platforms

    Files that are specific to the platform, such as video files on a Mac or Windows, AVI video files MOV will either require conversion or additional software (to open a MOV file with a Windows program, you must have installed Apple Quicktime for Windows)

    In addition to this, the files that are specific to Adobe... such as the InDesign files... are not always compatible because of new features in newer versions, like a Premiere Pro video project file created in the 2015 version cannot open in 2014 version

    If you have problems with files and specific programs, you should ask for help in the forums for these programs

    If you start the https://forums.adobe.com/welcome Forums Index

    You will be able to select a forum for the specific Adobe products you use

    Click on the symbol "arrow down" on the right (where it is said to see all our products and Services) to open the drop-down list and scroll

  • Working with date and time of the request for help from acrobat JavaScript...

    This coming from

    Working with date and time in Acrobat JavaScript (part 1 of 3)

    The following code adds five days to the current date, and then prints the new date in the console window.

    Get the date and time

    var rightNow = new Date();

    Get the value of millisecond

    Article date

    var msRightNow = rightNow.getTime ();

    Calculate in milliseconds, of 5 days

    5 days x 24 hours/day x 60 min / h x 60 s / min x 1000 ms/s

    Challenge of var = 5 * 24 * 60 * 60 * 1000;

    Do the calculation of var CFAbsoluteTime = msRightNow + challenge;

    Create a new Date from the calculated value

    var theNewDate = new Date (finalTime);

    In the actual work on a form code, you'll want to place the

    the object of a field value. But since this is test code, we will

    Print the result to the Console window (great for debugging)

    Console.println ("5 days from now is:" + theNewDate.toString ());

    The foregoing is the exact code (cut and paste)

    The error I get here is;

    ReferenceError: theNewDate is not defined

    1:Console:exec

    undefined

    To get the "undefined" question a lot... it seems to me, learn to distinguish the undefined 'of type' undefined 'variable' and undefined 'value '.

    in this case 'theNewDate' seems to be defined as a variable equal to the current date plus 5 days... BUT I am now "educated" enough to 'see' Why am I getting the error...


    Any thoughts... Any who...

    You need to highlight all the text that you want to run.

    You have not set the rightNow variable before you can apply a method to the variable.

    You can just add a new variable as msRightNow name. Why not use rightNow.

    Executes the code that you provided with a new departure of Acrobat, I get the following error messages:

    rightNow.getTime is not a function

    1:Console:exec

    TypeError: rightNow.getTime is not a function

    1:Console:exec

    undefined

    What you are showing probably works because your previous attempts have left behind them a variable "rightNow" and as long as you do not have the object of time date change too much, you will not notice the error.

    Cleaning of your code:

    get the number of milliseconds of the date object.

    rightNow var = (new Date()) .getTime ();

    define 5 days in milliseconds;
    Challenge of var = 5 * 24 * 60 * 60 * 1000;

    Add 5 days to the value of this moment and assign the result to the last time;
    var CFAbsoluteTime = rightNow + challenge;

    convert finalTime value in a date object.
    var theNewDate = new Date (finalTime);

    display the result;
    Console.println ("5 days from now is:" + theNewDate.toString ());

    Have you tried the code that I provided, it is another way to add days to the date object.

  • I'm working with Gmail and I see that my browser too old! I have also the same without any extension. Please help me. Thank you

    I'm working with Gmail and I see that my browser too old! I have also the same without any extension. Please help me. Thank you

    You have a user agent which is corrupt and which identifies you as: undefined GoogleToolbarBB

    See:

  • Is - this windows 7 works with SDRAM and DDR Rams (1)?

    Original title: RAM for win7

    Hello

    Did windows 7 works with SDRAM and DDR Rams (1)? !!!

    Yes, Windows 7 works with this type of memory RAM. Windows 7 requires a minimum of 1 GB of RAM, which is more important.

    System requirements:

    * 1 gigahertz (GHz) or faster 32-bit (x 86) or 64-bit (x 64) processor
    * 1 gigabyte (GB) of RAM (32-bit) or 2 GB RAM (64-bit)
    * 16 GB of disk space available (32-bit) or 20 GB (64-bit)
    * Peripheral figure DirectX 9 with WDDM 1.0 or higher driver

    Also run the Windows 7 Upgrade Advisor:
    http://www.Microsoft.com/Windows/Windows-7/Upgrade-Advisor.aspx

  • Working with XML and button

    Hello

    How are you all. Well, I'm new to Flex. But I started to build simple applications. One of the best most problem I face in working with XML and the button. Can you please help me in this. I explain my problem:

    I have an external XML file like this:
    < menu >
    < button >
    < idnt > 0 < / idnt >
    General Health < label > < / label >
    pages of < text > general health is currently under construction < / text >
    < / button >
    < button >
    < idnt > 1 < / idnt >
    < label > mental health < / label >
    pages of < text > mental health is currently under construction < / text >
    < / button >
    < / menu >

    Now, I want to generate dynamically buttons from this XML file. And the second thing that is the most problematic is that how I code so that when I press the button marked 'General health', it will display the same text as in the XML corresponding to the tag tag "< label > General Health < / label >?
    I seriously need it. I'm really confused on this. Kindly help me.

    Concerning
    .. : DeX

    Dear Peter,

    Thank you, thank you very much... bundles of thanks from me. You really help me with this. I wasn't expecting such a detailed response from anyone. But you the wrong given. Thank you very much.
    My MSN account ID is "[email protected]". I would be very happy if you add me to your contact list or let me know your email address. I am not your hotmail ID ask you many questions, would just be a friend to share new ideas and knowledge.

    I thank once again...
    .. : DW

  • I used a time capsule in my house.  Now, I have another network put in place and would like to set my time for back ups and NOT as a WiFi capsule

    I used a time capsule in my house.  Now, I have another network put in place and would like to set my time for back ups and NOT as a WiFi capsule

    If it is possible to turn off the WiFi on the Time Capsule, which only leaves you with the option to back up your Mac (s) using a wired Ethernet cable connection between the Mac (s) and the Time Capsule.

    Are you OK with that?

  • I have a Toshiba laptop with Windows 7 Professional 64 bit installed and would like to change to Windows 7 32 bit. How can I do this?

    I have a Toshiba laptop with Windows 7 Professional 64 bit installed and would like to change to Windows 7 32 bit.  How can I do this?

    Original title: Harold

    Usually this is impossible on computers with Windows 7.  In almost all cases, you need to go to the store, buy Windows 7 32-bit and use the CD to install it on your computer.  This also requires the deletion of your system, you will need to reinstall all your programs and settings.

  • Upgrade to Windows 7 and would like to know if all my tablet/pen functions still work?

    Original title: Windows7 and Tablet PC

    I have a Gateway Tablet PC.  He who is like a laptop, not these new without a keyboard.  For some reason, she has two model numbers: TA1.0 and M280E.  At the moment it has Windows XP (gateway) Tablet PC edition 2005 Version 2002 Service Pack 3 on it.  It has a processor Intel Pentium M 1.73GHz, 1,999 GB of RAM or processor if you look in the BIOS, 2048 MB of RAM.  I think it's the RAM Max will take this particular PC.  The processor is scalable?  I know that I have contributed to a maximum of one of my doors from the other monitor has collapsed on me one day and is unusable, so I think this is one.  The ugly manual, I downloaded did not about the Max RAM, a Fujitsu 37.2 GB HD and a CD - RW Optiarc.

    Because Windows XP is longer supported, no. updates (although I find it odd that a pop-up saying updates are ready for your computer is fun) and for some reason it will run is more than some previous programs I ran over it, such as MSE and Windows Media Player 11, and I don't know I'll find others.

    The important question is: I want to upgrade to Windows 7 and would like to know if all my tablet/pen functions still work, since it's the main reason I want to use?  And of course running WinXP is a safety hazard as well.

    I use my ASUS X54C now and you want to reset to factory settings and reformat the HD, so I want a computer to use while I'm this, as well as using his pen to create a clip art image and also many other things.  Is there anything else I should know?

    The first thing to do is to check the support web site of the gateway to see if there are drivers for devices on Windows 7 for your model. If there is no record of specific device in Windows 7 listed then you will not be able to run Windows 7 correctly, or it may not work at all.

    Gateway driver support web site: http://us.gateway.com/gw/en/US/content/drivers-downloads

    Note: There is an "Auto Detect" option that can help you determine the right model you have.

    M280 using as a guide I tried to see what is available and found only XP / Vista and Windows 2000 drivers, so you may be out of luck, but try to auto detect and see if you have Windows 7 drivers listed.

    J W Stuart: http://www.pagestart.com

  • I want to use my "windows email" as my main mail page layout. I recentily opened a Gmail account and would like Gmail to turn on my page of Windows Mail. How to configure it.

    I was using before my email windows to manage all my e-mail.  At this time, I used century link as my internet provider.  Since then, I changed to Comcast as my ISP.  Century Link closed my account and my email address has been arrested.  I have opened a gmail account and would like to continue to use my Windows Messaging to send and receive my gmail.

    Windows Mail: Setting up an account of end-to-end
    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-mail-setting-up-an-account-from-start-to-finish

    • Servers POP Gmail to Outlook:
      -Server: pop.gmail.
      -Outgoing mail: smtp.gmail.com.

      -The field 'Server incoming (POP3)', enter 995 and check the box "this server requires an encrypted connection (SSL)";

    • -The field "Mail outgoing (SMTP)", enter 465 and check the box "this server requires an encrypted connection (SSL)".

Maybe you are looking for

  • Watch on satellite question

    Hello everyone, I am a new user. I'm having a problem with sleep, firstly if I close the lid of the laptop that he wakes up again without a full reboot. It all happened since I'm using the Toshiba Recovery CD. None of the options standby works. I tri

  • HP ENVY 15 t-3200: HP ENVY 15 t-3200 Windows 10 compliance

    I have the HP ENVY 15 t-3200 running on Windows 7 Pro.  The computer will be compatible with Windows 10? I am concerned about the dual video card configuration.  I use two monitors with a station host Targus USP 3.0 and Solidworks 2015 and I won't be

  • KB972270 error number 80070005

    I downloaded windows update today, two installed but the third did not, giving me the error code 80070005.because it happened that I was unable to do a search for new updates and get the above error code.Can anyone solve this problem?

  • Z5 Compact dictionary

    Hey everybody. At my Compact Z5 for about 2 months now and "fairly" happy with her (miss some things from my Z3 - as the adequate battery life but good ) My problem now is probably more related to the Android software, Sony's "but" I got a software u

  • Visitors are able to download versions that are not issued for their device

    Version 1.1 and 1.0 of my application were sold two groups of devices at the launch of my application on App World. A few weeks later (two days ago), I submitted version 1.2 which is set up to offer to all devices in the two groups, and it has been a