Is there a system table that stores the "create table" scripts

Does a Oracle system table exist that contains the "create table" scripts for tables defined under a schema?
I know I can build this with SQL by querying the user_tab_columns, but I was wondering whether the entire DML
statement is already stored in some other system table. In the Quest Toad software you can simply go to the "Schema Brower", "Tables",
then select the "Script" tab and it shows you the "create table" statement for the particular table that you are
looking at. I'm wondering whether Toad behind the scenes is building this "create table" script via the user_tab_columns
table or using another system table.
Thank you in advance,
Wes

you can use the DBMS_METADATA.GET_DDL procedure to obtain the details regarding the ddl statement used to create the table.

Similar Messages

  • Table that stores the business role and user id mapping

    Hi,
    i want to know the table that stores the Business role and the business role and user id mapping in CRM system.
    Thanks in Advance.
    Regards,
    Pricy

    Hi Mary,
    There is no direct table but there is a way to find it.
    HRP1263 is the table where business roles are stored when maintained at org level. These are stored against the Position.
    For getting user ID and position linkage refer table HRP1001.
    In HRP1001 table use below criteria to get the User and Position.
    OTYPE = CP
    SCLAS = US
    SOBID = User ID
    ENDDA = 31.12.9999
    Get the OBJID
    Query the HRP1001 table again with following
    OTYPE = CP
    OBJID = OBJID from above Query
    ENDDA = 31.12.9999
    SCLAS = S
    SOBID = Thats Position.
    Pass the position to HRP1263 as below.
    OTYPE = S
    OBJID = POSITION
    PROFILE - Thats business role assigned for the given position and user.
    Hope this is helpful.
    Regards,
    Naresh

  • Is there a system table or V$ view that will show a user's last logon date?

    Is there a system table or V$ view that will show a user's last logon date?
    I'm using Oracle 9.2.0.7

    sqlplus
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Aug 31 12:44:42 2010
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter user-name: / as sysdba
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> desc user$
    Name                            Null?    Type
    USER#                            NOT NULL NUMBER
    NAME                            NOT NULL VARCHAR2(30)
    TYPE#                            NOT NULL NUMBER
    PASSWORD                             VARCHAR2(30)
    DATATS#                       NOT NULL NUMBER
    TEMPTS#                       NOT NULL NUMBER
    CTIME                            NOT NULL DATE
    PTIME                                  DATE
    EXPTIME                             DATE
    LTIME                                  DATE
    RESOURCE$                       NOT NULL NUMBER
    AUDIT$                              VARCHAR2(38)
    DEFROLE                       NOT NULL NUMBER
    DEFGRP#                             NUMBER
    DEFGRP_SEQ#                             NUMBER
    ASTATUS                       NOT NULL NUMBER
    LCOUNT                        NOT NULL NUMBER
    DEFSCHCLASS                             VARCHAR2(30)
    EXT_USERNAME                             VARCHAR2(4000)
    SPARE1                              NUMBER
    SPARE2                              NUMBER
    SPARE3                              NUMBER
    SPARE4                              VARCHAR2(1000)
    SPARE5                              VARCHAR2(1000)
    SPARE6                              DATE

  • Is there any system table available to check no. of entries in the table?.

    Hi
    Is there any system table available to check the no of entries in the table.
    Note : the table may be whether SAP table or Z-table.(All tables)
    Regards
    Raja.

    Hi Raja,
    I don't think so. Instead, try to perform
    SELECT count(*) FROM dbtab.
    ...to get the number of records of the table dbtab.
    I hope this helps. Kind regards,
    Alvaro

  • My ipod shuffle 1st generation won't restore. There is an error that reads "The ipod cannot be restored. An unknown error has ocurred (1442)". The lights blink orange and green simultaneously...and it just won't restore. help?

    So it's the little thin ipod with no screen...that has the usb thing and the landyard. Whenever I try restoring it it tries to restore and then a message pops up. There is an error that reads "The ipod cannot be restored. An unknown error has ocurred (1442)". The lights blink orange and green simultaneously...and it just won't restore. help?. I have literally tried restoring it like 10 times and nothing happens. When i connect headphones it does not hear and that little light think happens....which i had never seen happen before. I need to fix it. ....please help....if i take it to an apple store....will it cost alot to fix that?

    reset utility should help...for mac
    http://www.apple.com/support/downloads/ipodresetutility103formac.html
    for windows
    http://www.apple.com/support/downloads/ipodresetutility104forwindows.html

  • What is the data dictionary that stores the SQL text of stored procedures?

    I am handling both Oracle 8i on IBM AIX 5L and Oracle9i on SUN Soliars 8 /9.
    What is/are the data dictionary tables, or v$ views that store the SQL text of stored procedured and triggers?
    Thank you in advance!

    If the procedures are not wrapped, you can view them in the dba/all/user_source view. Trigger bodies can be seen in dba/all/user_triggers view.
    Message was edited by:
    Daniel Fink

  • Is there a DVD creator that retains the chapter markers that have been denoted in iMovie project?

    Is there a DVD creator that retains the chapter markers that have been denoted in iMovie project and automatically link them to menu buttons?
    I understand that iDVD used to do this but it is no longer part of the iLife package on my new iMac. I dont want to buy a DVD creator where I have to recreat the chapter positions that i have spent so long positioning on the iMovie project.

    Only iDVD does this correctly, but Apple no longer want you to burn video DVDs.
    The current Apple thinking is that the entire world has access to fast broadband and wants to distribute home movies to friends and relatives via download (iCloud) rather than mailing them a DVD. The fact that in reality not all users do, has so far had no effect on this policy. If you scream and shout loudly enough down the phone Apple may send you a free copy of iDVD. That worked for some, but is now said to have been withdrawn by Apple. Also, you can complain bitterly here, perhaps suggesting that Apple could have provided a choice between using iCloud and burning DVDs:
    http://www.apple.com/feedback/
    Whilst Macs with a Superdrive continue to be able to burn video DVDs, the software for so doing, iDVD, is no longer included in the iLife bundle that comes with OS 10.7 Lion (which also omitted iWeb) or will come with OS 10.8 Mountain Lion. And it is no longer included in the iLife 11 from the online Apple Store: http://www.apple.com/ilife/. Your only solution is to look on Amazon or eBay and try to get an older version that includes iDVD.
    However, the vastly more expensive FCPX can burn a DVD without iDVD or DVD Studio Pro involvement, but lack the themes etc of iDVD. Also, of course, there is Roxio Toast.

  • HT1351 I have a apple ipod touch but recently I restored all the settings, as well as the applications. But now I am not able to add songs to it. There is blank screen that shows the symbol like to connect to itunes first. I'm not able to use that... Plea

    I have a apple ipod touch but recently I restored all the settings, as well as the applications. But now I am not able to add songs to it. There is blank screen that shows the symbol like to connect to itunes first. I'm not able to use that... Please help

    The iPod's firmware is corrupt. You'll need to restore it again in iTunes. If necessary, place the iPod in recovery mode for iTunes to recognize the device. Use the instructions in this Apple support document to walk you through the process of placing the iPod Touch into recovery mode.
    iOS: Unable to update or restore
    B-rock

  • HT201210 i have an iphone 4s and there is a prompt that shows the itunes icon and a connection cable under it, i cant remove it.....connected to itunes and itunes said we are not connected to internet but i am....any help out there

    I have an iphone 4s and there is a prompt that shows the itunes icon and a connection cable i plugged it in and itunes is saying im not connected to the internet but i am....any help out there???

    If you are getting a message that iTunes is not connected to the Internet, try looking at this article: http://support.apple.com/kb/TS1490

  • Create a user key that stores the mantissa into X1

    Hi Friends:
    I was a hp 41cx user but have recently moved up to the Prime. 
    I’d like to create a user key that stores the mantissa into X1 and another user key that recalls the contents of X1 into the mantissa.
    Thanks for your help!
    Migs

    Hi Matt
    I suppose you could do it with a Click Box. Just insert a
    Click Box object on one of your slides. Then configure it so it
    doesn't pause and the action is to jump to the first slide. Then
    assign your hot key.
    I would suggest, however, that you avoid using F1 or other
    hot keys the browser uses, as the browser will trap them and they
    won't be available to the Captivate output. You will be scratching
    your head and wondering why it doesn't seem to work. Now if you are
    creating .EXE output, it should work dandy. But not if it's
    .SWF/.HTM combo.
    Cheers... Rick

  • UCCX8 Is There a Sesion Variable that contains the Call Control Group ID

    Hello,
         Is there a session variable that contains the Call Control Group ID of the trigger that called the script?
    -Lauren

    Hi Lauren,
    sorry, after two hours of analysing call hierarchies and running debugs, I gave up. I can't see any way of getting that value programmatically, in other words, I don't see any public field or method that would yield the desired value.
    However, if you want to use this only for debugging purposes, then getting the contact using the Get Trigger Info step, assigning it to a variable named contact (of type Contact) then calling the following method on it:
    contact.getTask().getTrigger() (which automatically calls the toString() method) would return a String similar to this - and it contains the ID of the Call Control Group apparently:
    "ContactApplicationTrigger[time=1356102368509,locale=en_US,cfg=JTAPITriggerConfig[schema=ApplicationTriggerConfig,time=2011-09-14 18:28:25.0,recordId=414,desc=Cisco JTAPI Trigger,name=82152,type=Cisco JTAPI Trigger,appName=TRAPPA,enabled=true,sessions=5000,idleTimeout=5000,locale=en_US,parms={},taskGroups=[],controlClass=class com.cisco.call.CallControlChannel,controlGroupId=1,contactGroups=[GroupInfo[class=com.cisco.dialog.DialogChannel,id=0]],dn=82152,redirectCSS=redirecting.party,cmDeviceName=TRAPPA_82152,cmDeviceInvalid=false,cmDescription=TransRouting IVRA,cmDevicePoolUUID={978D6B59-356E-FC92-81A9-3AAE9F843120},cmDevicePoolName=DP_Main_C,cmCallingSearchSpaceUUID={87083019-FEBF-9B48-742B-7658396D1D5C},cmCallingSearchSpaceName=CSS_mobily_normal_HelpDesk_IS,cmLocationUUID={29C5C1C4-8871-4D1E-8394-0B9181E8C54D},cmLocationName=Hub_None,cmPartitionUUID={10003B1B-F235-16A7-927D-01EB3DCCB57C},cmPartitionName=P_operatori,cmVoiceMailProfileUUID=,cmVoiceMailProfileName=None,cmCallPickUpGroupUUID=,cmCallPickUpGroupName=,cmDisplay=,cmExternalPhNumMask=,cmFwdBusyVM=false,cmFwdBusyDest=,cmFwdBusyCSSUUID=,cmFwdBusyCSSName=None,cmAlertingNameAscii=,cmPresenceGroupUUID=ad243d17-98b4-4118-8feb-5ff2e1b781ac,cmPresenceGroupName=Standard Presence group],contact=JTAPICallContact[id=16548,implId=3206772/2,state=STATE_ANSWERED_IDX,inbound=true,App name=TRAPPA,task=38000443987,session=17000062888,seq num=0,cn=82152,dn=82152,cgn=0725099603,ani=0725099603,dnis=null,clid=null,atype=REDIRECT,lrd=78866,ocn=78866,route=RP[num=82152],OrigProtocolCallRef=000000000030EE740228F81300000000,DestProtocolCallRef=null,TP=81122]]"
    Looks like the cfg field cannot be accessed, but the automatic toString() method is kind enough to dump all this information.
    Hope this helps.
    G.

  • Is there an FF4 addon that takes the place of Update Notifier 0.1.5.5 in FF 3.6.17

    The question " Is there an FF4 addon that takes the place of Update Notifier 0.1.5.5 in FF 3.6.17 " really says it all.
    I'm wondering whether with FF4 there even is a need for such an extension? In Options>Advanced> Update I have all 3 boxes checked to automatically check for updates to FF, Addons, and Search Engines, but does that mean I'll be automatically notified?
    I also have " automatically download and install the updates" checked, but that appears to be only for the main program?
    Would someone please enlighten me --with FF4 will updates for extensions now be automatically installed, or will I be notified about updates even without something like the old Update Notifier 0.1.5.5, or is there some FF4 compatible update notifier addon?
    Thanks again for the time and help! -- the answers to my other questions really were immensely helpful and solved my problems completely.

    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • I plugged my iPod touch (4th generation) into my computer and when iTunes popped up, there was a notice that read "The iPod cannot be used because the Apple Mobile Device service is not started". What does this mean and what do I do?

    I plugged my 4th generation iPod touch into my computer and when iTunes popped up, there was a notice that read, "The iPod cannot be used because the Apple Mobile Device is not started". What does this mean and what do I do?

    Type "Apple Mobile Device Service" into the search bar at the top of the page by Support and read the help article.

  • When I connect my iPod nano 7th gen. to my computer and open itunes, there is a message that says the iPod could not be detected. Does anybody know how to fix this issue?

    When I connect my iPod nano 7th gen. to my computer and open itunes, there is a message that says the iPod could not be detected. Does anybody know how to fix this issue?

    1. Update iTunes to the latest version. Plug in your iPod. If iTunes still can't recognize it, then in iTunes in the top left corner click help> run diagnostics. On the box that comes up, check the last two things. Click next and it should identify your iPod.
    2. Click on your windows start menu. Type in "services". Click on it and when it pops up, on the bottom of it click on "standard". Now Scroll down to find "Apple Mobile Device" Right click it when you see it and click on "Start". When it has started, close iTunes and replug in your iPod and it should show up.
    3. Check the USB cable
    4. Verify that Apple Mobile Device Support is installed
    5. Restart the Apple Mobile Device Service and verify that the Apple Mobile Device USB Driver is installed.
    6. If you just want to add some photos, songs and movies from computer to your devices, you can use an iTunes alternative to do the job.
    7. Check for third-party software conflicts.

  • I've just bought an iPad and there's a line that runs the whole length of the screen about an inch from the outside edge of the screen. Have I bought a faulty product?

    I've just bought an iPad and there's a line that runs the whole length of the screen about an inch from the outside edge of the screen. Have I bought a faulty product?

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

Maybe you are looking for

  • Open Sale Orders against Materials

    Hi Friends, I want a list of Open Sale Orders against a list(set) of Materials. I will give a example :- If material A, B and C. I should be able to search Open Orders against all three materials at a time. Please help me find a solution. Regards, Ni

  • Blackberry Z10 Different Models Question

    Hello All! I live in India and if i were to buy a Z10 from USA unlocked from T-mobile, would it work with my Vodafone IN carrier? Also i heard dat for future OS updates i would require a US sim card as Indian carriers would only pass updates for -001

  • Show in Answers date of end aggregation made in an essbase  ASOcube....

    Hallo all, maybe somebody has desided a problem i have: i need to show in a report, made in Answers Oracle BI EE for a multidimensional essbase ASO cube, a date of end last aggregation in a cube. I dont have any idea about possibilities: firstly get

  • Problem upgrading to 3.2

    We currently have a high availability (mysql cluster) setup with one primary vda host and two secondaries... all running 3.1 for the moment. I went to upgrade these servers to 3.2 and so I started by running "vda-preserve" on all 3 hosts in the order

  • Convert PDF to Pages, TIF Images & Text

    Hi, I need commands in VBG.NET to convert a PDF file into separate pages. Each page needs to be converted to a text file and also an imgage TIF image file. Please help.