Need help with the creation of SQL table

Hi all

I created a table, a month back. Now, I need to create another table in the same structure.
Is there a way for dat I can get the script from the table I created earlier and use the same to create another.
Or y at - it another way, so that we can create a table with the same structure of the existing table.

Help, please.

Kind regards
Mohan

Discover the function [DBMS_METADATA. GET_DDL | http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_metada.htm#i1019414].

Example:

SQL> SET LONG 5000
SQL> SELECT DBMS_METADATA.GET_DDL('TABLE','EMP','SCOTT') FROM DUAL;

DBMS_METADATA.GET_DDL('TABLE','EMP','SCOTT')
--------------------------------------------------------------------------------

  CREATE TABLE "SCOTT"."EMP"
   (    "EMPNO" NUMBER(4,0),
        "ENAME" VARCHAR2(10),
        "JOB" VARCHAR2(9),
        "MGR" NUMBER(4,0),
        "HIREDATE" DATE,
        "SAL" NUMBER(7,2),
        "COMM" NUMBER(7,2),
        "DEPTNO" NUMBER(2,0),
         CONSTRAINT "PK_EMP" PRIMARY KEY ("EMPNO")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
  TABLESPACE "USERS"  ENABLE,
         CONSTRAINT "FK_DEPTNO" FOREIGN KEY ("DEPTNO")
          REFERENCES "SCOTT"."DEPT" ("DEPTNO") ENABLE
   ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
  TABLESPACE "USERS"

Published by: Centinul on January 11, 2010 08:01

Tags: Database

Similar Questions

  • New user needs help with the creation of an animation :)

    Hello

    IM fairly new to all Adobe Premiere Pro Im using CS6 and need help with it.

    I want to make a video and add a scene that looks like the beginning of this video Sarah the movie - YouTube , to be exact - the animation at the location where you type your user name and password, I can do that in Adobe Premiere Pro? I want to do exactly the same animation and no idea of how do

    Would appreciate any help!

    There are several ways to do so.

    One way would be to create a title with the name and title with the password.  Add the crop effect to each and the keyframe as necessary. Adjust the size and position as desired.

  • Need help with the installation of SQL 2005 for my VC 2.5

    Someone can tell me where I can find the instructions for the installation of SQL 2005 and create the DB and connect via ODBC?

    IM assuming that I will first install SQL and then install VC 2.5, correct?

    Hi, take a look at page 21...

    http://www.VMware.com/PDF/vi3_35/esx_3/R35/vi3_35_25_quickstart.PDF

    Dave

  • Need help with the creation of a brush

    Hi guys,.

    I wanted to ask for help in creating a brush (even a link to a tutorial will be goon enough ).

    I got this example:

    Sample.png

    I've created a brush him, and I'm trying to get this kind of result:

    Result.png

    but it is only done to duplicate it and gives me this result:

    Test.png

    Can someone help me please understand what I need to set so that the brush behaves like a continuous brush rather than reproduce them?

    Thank you very much

    Shlomit

    what you need to do, is make a brush that resembles the tip of a brush. Photoshop already has several, but you can make your own that is going to be the best.

    get a brush and a place a bit like what made you, but do not paint a paint stroke. make it kindof grungy look. make your brush, making sure to desaturate and all.

    EDIT:

    Oh, and if you make the filling similar to 10-20% of your race will be better

  • Need help with the creation of a research or time slider bar

    Hello!

    I have three scenes in my fla and I want to create a time slider that shows the current framework of playing time and the total time of the image. Can someone help me on this.

    Thank you

    I made a few changes...

    Creates:
    txtFrameStatus
    TextField: html and multiline.

    mcBar
    A mc with a horizontal bar.

    VARs
    var movieFPS:Number = 12; Here set the FPS
    var porcent:Number;
    var currentFrame:Number;
    var totalFrames:Number;
    var totalSeconds:Number;
    var currentSeconds:Number;
    var textTime:String;

    function that presents information
    this.onEnterFrame = function (): Void {}
    currentFrame = _currentframe;
    totalFrames = _totalframes;
    us = Math.floor ((currentFrame / totalFrames) * 100);
    totalSeconds = Math.floor(totalFrames / 12);
    currentSeconds = Math.floor(currentFrame / 12);

    var cSeconds:Number = currentSeconds % 60; cSeconds = (cSeconds< 10)="">
    '0' + cSeconds: cSeconds;
    var cMinutes:Number = Math.floor(currentSeconds / 60); cMinutes =
    (cMinutes< 10)="" "0"="" +="" cminutes="" :="">

    var tSeconds:Number = totalSeconds % 60; (tSeconds = tSeconds< 10)="">
    '0' + tSeconds: tSeconds;
    var tMinutes:Number = Math.floor(totalSeconds / 60); tMinutes =
    (tMinutes< 10)="" "0"="" +="" tminutes="" :="">

    textTime = "Total images:" + totalFrames + "."
    ";
    textTime += "current Frame:" + currentFrame + "."
    ";
    textTime += "us:" + us + '%' + "."
    ";
    textTime += ' time Total: "+ tMinutes +": "+ tSeconds +". "
    ";
    textTime += ' current time: "+ cMinutes +": "+ cSeconds;"

    txtFrameStatus.htmlText = textTime;

    mcBar._xscale = us;

    if(porcent == 100) delete this.onEnterFrame;
    };

    --
    Kind regards
    Erick Souza
    www.ericksouza.com

  • Need help with the creation of meeting of the calendar in the hive using SOAP

    Hi all

    Here is the SOAP envelope, I am sending you in the CalendarService on the hive:
    <? XML version = "1.0" encoding = "utf-8"? >
    < xmlns:S s: Envelope = 'http://schemas.xmlsoap.org/soap/envelope/' >
    < Body >
    < ns3:createMeeting xmlns:ns3 = "http://www.oracle.com/beehive/2010/01/ws".
    xmlns:ns2 = "http://www.oracle.com/beehive" >
    < creator >
    423d:1645:clnd:A0438CC3371B5F60E040010A1E1E064E000000002F34 < id > < /ID >
    < / creator >
    < meetingUpdater >
    < end > 2011 - 07 - 07T 17: 00:00.000 - 04:00 < / end >
    < includeOnlineConference > false < / includeOnlineConference >
    < inviteeParticipantStatus > ACCEPTED < / inviteeParticipantStatus >
    < inviteePrimaryClientReminderTrigger >
    < offset > - P0Y0M0DT0H10M < / offset >
    < relativeTo > START < / relativeTo >
    < / inviteePrimaryClientReminderTrigger >
    < inviteePriority > NONE < / inviteePriority >
    < inviteePropertiesUpdater >
    < propMods >
    < collabProperty > < / collabProperty >
    operation of <>< / operation >
    < propertyName > < / propertyName >
    < / propMods >
    < / inviteePropertiesUpdater >
    < inviteeTransparency > DEFAULT_TRANSPARENCY < / inviteeTransparency >
    < locationName > PTO < / locationName >
    < participantUpdaters >
    [email protected] < address > < / address >
    < name > [email protected] < / name >
    < operation > ADD < / operation >
    423d:1645: user: 051C9D4373144A67B8069F4C0B5C5A460000000000F3 < member > < / participant >
    < / participantUpdaters >
    < start > 2011 - 07 - 07T 08: 00:00.000 - 04:00 < / start >
    < status > CONFIRMED < / status >
    < textDescription > Maynard PTO < / textDescription >
    < xhtmlFragmentDescription > < / xhtmlFragmentDescription >
    < / meetingUpdater >
    < type > MEETING < / type >
    < / ns3:createMeeting >
    < / Body >
    < / s: Envelope >

    I return the following result:
    <? XML version = "1.0" encoding = "UTF-8" standalone = "yes"? >
    < ns4:Envelope xmlns:ns4 = "http://schemas.xmlsoap.org/soap/envelope/".
    xmlns:NS3 = "http://www.oracle.com/beehive/2010/01/ws".
    xmlns:ns2 = "http://www.oracle.com/beehive" >
    < ns4:Body >
    < ns4:Fault >
    NS4:Server < faultcode > < / faultcode >
    < faultstring > TM_INTERNAL_ERROR < / faultstring >
    < detail >
    < actionString > please notify your system administrator. < / actionString >
    < actionToken > TM_INTERNAL_ERROR_ACTION < / actionToken >
    < causeString > an unexpected internal error has occurred. < / causeString >
    < causeToken > TM_INTERNAL_ERROR_CAUSE < / causeToken >
    < effectString > the requested operation cannot be performed. < / effectString >
    < effectToken > TM_INTERNAL_ERROR_EFFECT < / effectToken >
    oracle.csi.CsiException < exceptionType > < / exceptionType >
    < / details >
    < / ns4:Fault >
    < / ns4:Body >
    < / ns4:Envelope >


    I'm passing in the wrong settings or something wrong with my server of hive?

    Hi Maynard,

    Your soap request is not formatted correctly. Here's a quick example I did.

          MeServiceSoap meServiceSoap = getMeServiceSoap(host, user, password);
          CalendarServiceSoap calendarServiceSoap = getCalendarServiceSoap(host, user, password);
    
          com.oracle.beehive.ObjectFactory objFactory = new com.oracle.beehive.ObjectFactory();
          Projection projFull = objFactory.createProjection();
          projFull.setValue("FULL");  
    
          Calendar defCalendar = meServiceSoap.readMyPersonalWorkspace(projFull).getDefaultCalendar();
    
          MeetingCreator meetingCreator = new MeetingCreator();
          meetingCreator.setCalendar(defCalendar.getCollabId());
          meetingCreator.setType(OccurrenceType.MEETING);
    
          MeetingUpdater meetingUpdater = new MeetingUpdater();
          meetingUpdater.setName("MyMeeting" + System.currentTimeMillis());
    
          DatatypeFactory datatypeFactory = DatatypeFactory.newInstance();
          XMLGregorianCalendar start = datatypeFactory.newXMLGregorianCalendar(2011, 7, 15, 11, 0, 0, 0, 0);
          meetingUpdater.setStart(start);
    
          meetingCreator.setMeetingUpdater(meetingUpdater);
    
          Meeting meeting = calendarServiceSoap.createMeeting(meetingCreator, projFull);
          System.out.println(meeting.getCollabId().getId());
    

    and here is the exchange of soap request

    
    
      
        
          
            ward1
            
            dummypwd1
          
        
      
      
        
          
            
              
              04A7:0227:clnd:A7683FCC881DEABEE040548C87827FA60000000186A8
              clnd
            
            
              MyMeeting1310071418478
              2011-07-15T11:00:00.000Z
            
            MEETING
          
          
        
      
    
    
    
    
      
        
          
            
              
              04A7:0227:invt:55F868509FE5459A825EB6E802D91B89000000000000
              invt
            
            ...
          
        
      
    
    

    It will be useful.
    Ward

  • Need help with the display of content table Spry

    Hey there,

    I am new to the world of Spry and AJAX. I created an online store for a customer using a Spry data set and everything works fine - except before content is loaded I see all of the fields (which is bit ugly). Is it possible to hide these fields during the charge of the content? Please take a look at the site to see what I mean. Any input is greatly appreciated!
    -Joe

    http://ronzacchi.info/pantry/gourmet.html

    Thank you so much, Keith!

    You are a life saver!

    -Joe

  • Need help with the installation of an adapter of Palit GeForce 9500GT Super chart - 512 MB in a M2N68 (narrated

    Need help with the installation of an adapter of graphics Super Palit GeForce 9500GT - 512 MB - DDR2 SDRAM in a M2N68 motherboard (narra6). Should I disable the onboard graphics in the bios? When the card is installed, no VGA work outs and the PC does not start. Checked and recontroler implementation of the card in the PCI slot. PC is a desktop HP G5200uk PC. Windows 7 operating system.

    Hello

    The link below is a guige to install a video card in your Pc.  In particular, it seems that you will have to perhaps specify the location of the new card in the bios and save this change before you install the new card - see step 4 in the guide on the link below.  If your new card fits into the PCI Express x 16 slot, you will need to define PCI Express in the bios and save the changes.

    http://support.HP.com/us-en/document/c01700855

    Kind regards

    DP - K

  • I need help with the program of Photos on my macbook pro

    I use a Macbook Pro with OS of Yosemite. I really need help with the Photo program. I never really got the hang of IPhoto and now that it's a new program, I'm really confused. Where can I go to learn this without waiting for the next workshop in a local store?

    Hi, I'm fighting to open same mine, making a new software update

  • Need help with the launching track pack for forza code 4

    Bought new Forza 4 and the lancer Track Pack code does not work, how do I get a code that is generated in the form I've already paid for it. Rank of loads of numbers and sent 10 s of emails but cant seem to get help.

    This is the help I get when the cat to an Ambassador xbox on xbox.com

    Terry wrote:
    Need help with the launching track pack for forza code 4
    The Xbox Ambassador says:
    Location of Ambassador of the community...
    The Xbox Ambassador says:
    Location of Ambassador of the community...
    The Xbox Ambassador says:
    Your question will be answered by an Ambassador of the Xbox. You have been connected to the Ambassador as a user Xbox [3]
    The Xbox Ambassador says:
    Hello
    Terry wrote:
    Hello
    The Xbox Ambassador says:
    Hey
    Terry wrote:
    just to be on the phone to xbox live support and was told to come here
    The Xbox Ambassador says:
    ok\
    The Xbox Ambassador says:
    What is your problem?
    Terry wrote:
    I bought the 4 for forza ansd 360 new sealed Christmas...
    Terry wrote:
    has got 2 codes that accompanies the game but the pack track code does not work
    The Xbox Ambassador says:
    Wow good
    Terry wrote:
    whenever I put in the code it says code redeemed
    The Xbox Ambassador says:
    I think the code is used. You must return to the retailer
    Terry wrote:
    I tried to, but since I already opened the case they will not accept
    The Xbox Ambassador says:
    Oh. No,
    Terry wrote:
    the code had been used or defective as I am the only person who has touched the game once opened, tried to enter the code when it is open
    The Xbox Ambassador says:
    Maybe it was auto bought?
    Terry wrote:
    so, how do I get another code generated track Pack if defective?
    The Xbox Ambassador says:
    I do not know.
    Terry wrote:
    bought the game new, so I get the track pack
    The Xbox Ambassador says:
    Oh. It's bad.
    The Xbox Ambassador says:
    I think that if you Exchange 1 code it will buy it
    Terry wrote:
    car pack code worked, starter pack did not work
    The Xbox Ambassador says:
    Oh.
    The Xbox Ambassador says:
    It's a bad
    The Xbox Ambassador says:
    BTW you have an evolution of the tests?
    Terry wrote:
    Yes, I want to? but more anxious to get a code object generated for this pack
    The Xbox Ambassador says:
    Hey if I help can u give me this game too?
    Terry wrote:
    ?????????????????
    Terry wrote:
    So is it possible to get a code for that time?
    The Xbox Ambassador says:
    Hey
    The Xbox Ambassador says:
    Yes.
    The Xbox Ambassador says:
    you need to contact them
    The Xbox Ambassador says:
    and tell them that the code is used.
    Terry wrote:
    I was told to come here? where can I go to get the code?

    Hi Terryg76,

    ·         What version of the operating system is installed on the computer?

    I suggest you to contact the game manufacturer for more help and information.

  • Need help with the blue screen issue "NAVEXI5. SYS, PAGE_FAULT_IN_NONPAGED_AREA ".

    Original title: need help with the blue screen issue
    My computer turns saying a blue screen: a problem has been detected and windows were shut down to prevent damage. The problem seems to be caused by the following file: NAVEXI5. SYS PAGE_FAULT_IN_NONPAGED_AREA he seems to have a different error whenever he turns to a blue screen. Can someone help me please.

    Hello

    1. Since when are you facing this problem?
    2. you remember to make changes to the system?
    3. do you get an error with this error code?

    I suggest to unplug external devices such as printer, scanner, etc. that are plugged into the system, and then restart the system and check if the problem persists.

    Method 1.
    I suggest you to do a check disk from the recovery console and check if the problem is resolved. Follow the steps mentioned below.
    a. start into the recovery console using the XP CD. Follow the steps mentioned in the article below.
    Description of the Windows XP Recovery Console for advanced users
    http://support.Microsoft.com/kb/314058
    b. perform a disk check.
    How to perform disk error checking in Windows XP
    http://support.Microsoft.com/kb/315265

    Method 2.
    I suggest you to start with the XP CD and then do a system restore. Follow the steps mentioned in the article below.
    How do I recover from a corrupted registry that prevents Windows XP startup
    http://support.Microsoft.com/kb/307545

    I hope this helps.

  • Need help with the IP configuration on vm ware for the installation of 11 GR 2 on linux vmware 6 on win7

    Need help with the ip configuration on/etc/hosts for the installation of 11 GR 2 on linux vmware 6 on win7.

    Let me know if you need more info... in fact I have a setting error while installation said

    -(/ etc/hosts has no correct entry for the host name)

    Host: 192.168.85.100

    Win7 ip: 192.168.1.x

    Thank you...

    (host computer)

    Win7 64 bit

    (vmware)

    Oracle Linux Server 6.3 version

    Release of Red Hat Enterprise Linux Server 6.3 (Santiago)

    Oracle Linux Server 6.3 version

    -(/ etc/hosts has no correct entry for the host name)

    Then post your/etc/hosts.

    Host: 192.168.85.100

    Win7 ip: 192.168.1.x

    Why 85? have you tried 192.168.1.100?

  • I'm on Acrobat 10 and I need help with the distribution of shape feature. Is there a way to change the registration e-mail download addressed to the? Currently all forms I create and then distribute may only be subjected to my email account... I appreciat

    I'm on Acrobat 10 for mac and I need help with the distribution of shape feature. Is there a way to change the registration e-mail download addressed to the? Currently all forms I create and then distribute may only be subjected to my email account... I appreciate any help!

    Do not use the feature distribute the form. Instead of this, just put up a button "submit" and configure it to send email using any email address you want. Just add a button and set the action of the mouse upward on "Submit a form" and use a type mailto URL and specify that you want to send the full PDF. Then activate the reader of the document: where "Advanced/extended features in Adobe Reader" is located in Acrobat XI?

    If you really want to use distribute the form for some reason, change the e-mail address in your preferences: Edit > Preferences > identity > Email address

  • Hello need help with the opacity mask.

    Hello need help with the opacity mask. I hope someone out there can help

    I inherited a logo that appears to use a Logo of OM has a shape with a grad. This grad at first sight is not used in the Grad scheme and there is not editable.  Looking at the transparency palette I find an OM (pic1) output option. If I choose what the grad on separates it from the page of the form, that is from there I can change/remove as required (Note2).

    However, sometimes (he did no change), I'll be back to the same original form and output option is grayed out and is no longer available. Or I go to the similar shape that has the same treatment and I can't go out OM (pic3)

    The only difference is the thumbnail in the transparency palette, which is strong in pic1 and rated on pic3. What Miss me?    I'm not clear what the advantage is simply OM using the Grad palette to apply a grad in my form, but until I can get rid of OM who is there, I can't comfortably apply to the grad I want.

    The white gradient LHS I have no problem with. I choose fortunately only and each time get the possibility of release of OM.

    Screen Shot 2015-08-06 at 12.26.48.pngScreen Shot 2015-08-06 at 12.00.10.pngScreen Shot 2015-08-06 at 12.01.16.png

    The other thing weird. When I select the white gradient. Sometimes, the exit option is in the palette without going through the drop-down list (Fig 4).

    Other times seems not that OM has already been applied, because the palette gives me the ability to mask rather than liberation (5 photos). Until I go to the drop down and then I find Release is an option after all.

    What is the difference here?   Not much of a problem, because either way I can release OM to be able to change the grad.

    The file is passed through several hands and play anywhere to try to resolve issues, and many stops and save slot, so something along the line was of course done a logo and not the other because of the difference, but I can't for the life of me see what that.

    Screen Shot 2015-08-06 at 12.44.21.pngScreen Shot 2015-08-06 at 12.44.36.png

    I hope someone can help. Very appreciated


    See you soon

    Dave

    Dave,

    I've (mis) understanding the issues, you can account for the box to the right in the main palette transparency (called thumbnail) here.

    Illustrator help | Transparency and blending modes

    represents the masking objects.

    Some of your screenshots show no object mask, so it only is not really a mask even if do the opacity mask has been clicked and there seems to be one in the layers palette, wherever you look.

    I think that it is perhaps the issue.

  • need help with the mac version of PES

    need help with the mac version of PES

    If you follow the 7 steps you can dl a trial via the links here: http://prodesigntools.com/tag/ddl

    and activate it with your serial number.

    If you have a problem dl'g, you don't follow all 7 steps.  the most common mistake is not meticulously follow the steps 1, 2, and/or 3 (which adds a cookie to your system, allowing you to download the correct version of the adobe.com site).

    p.s. If you need a more direct link, you must specify the exact version you want.

Maybe you are looking for