How to get code written for perticular purpose of database using sqlplus?

Hello

I'm trying to get the syntax written for the purpose of perticular (view/Table) database using sqlplus.

Can someone help me on this please.

Thanks in advance,

NISH

I'm trying to get the syntax written for the purpose of perticular (view/Table) database using sqlplus.

Can someone help me on this please.

Use the DBMS_METADATA package:

Select dbms_metadata.get_ddl ('TABLE', 'EMP', 'SCOTT') of double

Select dbms_metadata.get_ddl ('DISPLAY', 'V_EMP', 'SCOTT') of double

Tags: Database

Similar Questions

  • How to get codes installation for education versions legally purchased Creative Suite design CS5?

    Hello

    My name is Andrew and a couple of years ago, I bought a new copy of education of Adobe Creative Suite SC5, accompanied by proof of my job in a University legally.

    I assumed that the product would have all the serial numbers in the box.

    I kept the unopened product until yesterday and found that I have to prove that I currently have a job at the University to get the serial numbers for the software.

    Unfortunately my job was fired at the University several months ago.

    - - - - - - - - - - - - - - - - - - -

    So I now have a legally purchased copy of Adobe software, but I can't use because I'm no longer used at the University.

    Adobe online help informed me that they provide phone or help online for users of CS5 and have directed me to this forum.

    - - - - - - - - - - - - - - - - - - -


    I would be interested in any suggestions or advice on how I can solve this problem.


    Thank you


    Andrew

    Hi Andrew

    I see that our support team have asked if you could provide evidence of your previous job, so they can help others.

    If you have trouble with this, please let me know.

    Kind regards

    Bev

  • How to get code authorization for Photoshop CS (Version)

    I installed a new computer and I have to re - install Photoshop CS (Version 8) (education Version). Seems I need phone system using Adobe. Could someone help tell me the phone number. Activtion phone was no longer supported, what can I do?

    Hi andrewsbngan,

    If you try to activate the CS2 version, then follow the link below.

    Error: "Activation Server is not available. CS2, Acrobat 7, pass a hearing 3

    Activation server is unavailable for the CS2 applications.

    Kind regards

    Mohit

  • How to get the password for my blackberry BlackBerry Smartphones?

    Hello everyone,

    I would like to know how to get the password for the purpose of activation. My phone is blackberry bold 9700...

    Thank you

    You must call your network and they will advise you the plans they have. There is usually a monthly for the BIS service, which includes the internet aswell.

    Once this is done, your phone will be automatically the personal e-mail address of installation option.

    I hope this helps.

  • Re: How to get a refund for an iTunes gift card

    I have $20 for a game that I bought a gift card, but when I buy the application/game it tells me I have insufficient funds and wants to put me in the information of credit card or redeem a gift code that I have already bought. The problem is that I have enough credit, and he's trying to me to put in a code that is already in use.

    Its like the "you must connect disconnect." Situation a bit please connect to log out. ». My mother bought me a gift card for $20 that I can't use. It's outright theft, and Apple will not give us a refund for fraud issues, when Apple is the one that scam us. If they did do that, we would not ask for refund.

    More I'm going with Apple and more I don't like it.

    How to get a refund for an iTunes gift card?

    < published by host >

    What is the price of the item you are trying to buy? Depending on what country you are in you may need to add sales tax to the price of the article - if that takes the price on your balance that you'll either have to redeem another gift on your account card, or add a payment method valid to cover the additional amount necessary to purchase this item.

  • How to get the date for the first Monday of each month

    Dear members,

    How to get the date for the first Monday of each month.

    I wrote the following code

    SELECT decode (to_char (trunc (sysdate + 30, 'MM'), 'DAY'), 'MONDAY', trunc (sysdate + 30, 'MM'), NEXT_DAY (trunc (sysdate + 30, 'MM'), "LUN")) FROM DUAL

    But he looks at complex bith.

    Abhishek

    Published by: 9999999 on 8 March 2013 04:30

    Use the IW format - it will make independent NLS solution. And all you need is truncated 7th day of each month using IW:

    select  sysdate current_date,
            trunc(trunc(sysdate,'mm') + 6,'iw') first_monday_the_month
      from  dual
    /
    
    CURRENT_D FIRST_MON
    --------- ---------
    08-MAR-13 04-MAR-13
    
    SQL> 
    

    Here is the list of the first Monday of the month of this year:

    with t as(
              select  add_months(date '2013-1-1',level-1) dt
                from  dual
                connect by level <= 12
             )
    select  dt first_of_the_month,
            trunc(dt + 6,'iw') first_monday_the_month
      from  t
    /
    
    FIRST_OF_ FIRST_MON
    --------- ---------
    01-JAN-13 07-JAN-13
    01-FEB-13 04-FEB-13
    01-MAR-13 04-MAR-13
    01-APR-13 01-APR-13
    01-MAY-13 06-MAY-13
    01-JUN-13 03-JUN-13
    01-JUL-13 01-JUL-13
    01-AUG-13 05-AUG-13
    01-SEP-13 02-SEP-13
    01-OCT-13 07-OCT-13
    01-NOV-13 04-NOV-13
    
    FIRST_OF_ FIRST_MON
    --------- ---------
    01-DEC-13 02-DEC-13
    
    12 rows selected.
    
    SQL> 
    

    SY.

  • How to get a password for old apple_id on my phone? I know what id

    How to get a password for old apple_id on my phone? I know what id

    If you don't remember the password, reset it to...

    iForgot.com

  • How to get the manual for Satellite Pro 4200?

    How to get the manual for Pro 4200. I have download olm_up and setup.exe (72 kt) of http://eu.computers-toshiba-europe.com?.

    Hello

    Please visit this link:
    http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/download_manuals.jsp

    I m you will find a good manual of your device.

    Good bye

  • How to get iPad pro for free?

    How to get iPad pro for free? Can I get

    Why do you think you could get a free iPad?

  • How to get ms office for free

    Hello..

    I'm new user is very difficult without MS Office in my mac pro book. could someone tell how to get MS office for free in my mac.

    The office is payware. Any source offering free did something illegal, and our recommend something illegal is not allowed here by terms of use Apple.

    If "free" is important, look at LibreOffice. This is a great productivity suit that can read and write files in MS Office formats;

    http://www.LibreOffice.org/discover/LibreOffice/

  • Anyone know how to get a license for Exchange Server 2007?

    Exchange Server on Windows Server 2008

    Hello

    Does anyone know how to get a license for Exchange Server 2007. I've been on the Microsoft Web site, and it is only showing Exchange 2010.

    Thank you

    Hello R McMullen,

    The Microsoft Answers community focuses on issues and problems related to the consumer environment. Please join the public IT pro TechNet forums below:
    TechNet - Windows Server
     
    Thank you

  • How to get pc-doctor for win7?

    How to get pc-doctor for win7?  Thank you.

    Hello

    The PC Doctor that HP had provided on some PCs using VISTA was a licensed software.  If you still are running VISTA then you can burn a bootable CD containing PC Doctor. A non - OEM for PC Doctor license is quite expensive in the last time that I had checked.

  • How to get free wifi for apple than i pod touch fourth generation

    How to get free wifi for apple than i pod touch fourth generation

    Hello

    The iPod has wifi, it can be configured and connect directly to your wireless router.

    http://support.Apple.com/kb/ht2031

    http://support.Apple.com/kb/ts1398

  • I forgot my password for my admin user account, but I have a secondary account how to get the password for the admin

    original title: admin password.

    I forgot my password for my admin user account, but I have a secondary account how to get the password for the admin

    Hello
    Microsoft technical support engineers cannot help you recover the passwords of the files and Microsoft who are lost or forgotten product features. For more information about this policy, please refer to the sticky below.

    http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/3eba3150-8742-4264-be9f-0daaad2282cd Lisa
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to fix code 39 for cd/dvd-rom readers

    How to fix code 39 for cd/dvd-rom readers

    Here the answer

Maybe you are looking for

  • back in time do you keep my emails on your server

    while cleaning my computer running slowly, a technician wiped my Thunderbird e-mail history.Is it stored on your server, and if yes, what is the capacity limit of calendar, etc.. ?

  • Airport Extreme, Time Capsule best practices configuration

    I searched for articles showing exactly what are the settings that I would see in my Airport Extreme Time Capsule. I put in place of the years before, but more recently WIFI was slow or choked several times a day. Our internet service provider recent

  • How can I get the button tab to work again?

    The button tab and the '+' have been working fine until this morning. Since this afternoon, however, they are all two has stopped working. I click on each of them and nothing happens. I can't open a new tab. I have to open multiple browsers in order

  • Satellite A300-1BZ - C: drive failure - c:\$secure is corrupted

    I get the meesage following whenever trying to downloads recently 'c:\$secure is corrupt & unreadable. Please run the chkdsk utility. I tried to run this in various ways, but the error persists. Any ideas without having to use the recovery disc. Than

  • Google OK

    My e bike recognizes my voice, even if my screen is off... Is this a new update? XT1524 running 5.0.2