extraction of the code behind a profile

Is there a way to generate the code behind a profile? I tried "get_ddl" but it didn't work as I assume that Oracle does not profile as an object. I guess I can use the expdp and code in a dump file, but is there another way?


I would like that the output is something like this...

create the profile PROD_USER limit
sessions_per_user 12
Unlimited cpu_per_session
Unlimited cpu_per_call
Unlimited connect_time
Idle 2500
Unlimited logical_reads_per_session
Unlimited composite_limit
Unlimited private_sga
failed_login_attempts 3
password_life_time 180
Unlimited password_reuse_time
Unlimited password_reuse_max
password_grace_time 3
password_verify_function VERIFY_FUNCTION;

Thanks in advance

826203 wrote:
Is there a way to generate the code behind a profile? I tried "get_ddl", but it did not work

What do you mean that it did not work? What have you tried?

SQL> SELECT DBMS_METADATA.GET_DDL('PROFILE','DEFAULT') FROM DUAL;

DBMS_METADATA.GET_DDL('PROFILE','DEFAULT')
-----------------------------------------------------------------

   ALTER PROFILE "DEFAULT"
    LIMIT
         COMPOSITE_LIMIT UNLIMITED
         SESSIONS_PER_USER UNLIMITED
         CPU_PER_SESSION UNLIMITED
         CPU_PER_CALL UNLIMITED
         LOGICAL_READS_PER_SESSION UNLIMITED
         LOGICAL_READS_PER_CALL UNLIMITED
         IDLE_TIME UNLIMITED
         CONNECT_TIME UNLIMITED
         PRIVATE_SGA UNLIMITED
         FAILED_LOGIN_ATTEMPTS UNLIMITED
         PASSWORD_LIFE_TIME UNLIMITED
         PASSWORD_REUSE_TIME UNLIMITED
         PASSWORD_REUSE_MAX UNLIMITED
         PASSWORD_VERIFY_FUNCTION NULL
         PASSWORD_LOCK_TIME UNLIMITED
         PASSWORD_GRACE_TIME UNLIMITED

1 row selected.

Tags: Database

Similar Questions

  • How can I retrieve the code behind reports ORACLE XML?

    Every afternoon.

    I need to customize a copy of one of ORACLE's XML reports.  (Receipts not invoiced report - CSTACREP - PL/SQL, stored procedure)

    So I need to work on the data behind the original report model... But how home? Where is he? This is a directory issue somewhere because you can not download the app.

    Thanks a lot a lot for research.

    Al

    #facepalm wrote:

    .. Thank you very much both of you for your help.

    The problem I have is that I only know 11i (and now proceed to r12.1.3) report delopment via rdf style and/or xsl data report models and have no idea how I can take this code in order to create a customized version of it.

    Is there a Note/link somewhere that can tame me through the method of reports customized using PL/SQL procedures?

    Thanks a lot, a lot.

    Al

    There are many examples/docs/tutorials available, just google "XML report customized pls/sql" and you should get a lot of success.

    Oracle, SQL, PL/SQL applications: Development XML Publisher report - using Data Source as PL/SQL stored procedure

    http://erpschools.com/articles/XML-Publisher

    Thank you

    Hussein

  • How to find the code-behind application

    Hi all

    I work with iRecruitment responsibility of the recruiter.
    Here I can create new job opportunities.
    After the creation of vacancies, they should be approved by a Manager


    When I create vacancy and submit this vacancy for approval
    It is stored in table hr_api_transactions.

    and when the Manager has approved this particular post then this vacancy
    stored in another table per_all_vacancies.
    But the problem is this position that stored in the hr_api_transactions table
    It removes from this table.
    I want to know who transfer the information of this hr_api_transactions to per_all_vacancies table manager vacancy.


    In my view, there are some concurrent java programs that transfers information of vacancy from one table to another table.


    If there is no concurrent java programs, so that that work?

    Your question has been answered? If so, please report the relevant positions as useful response and close this message so that others can find and benefit from the same solution.

  • Extraction of the DDL (Code) of the stored procedures only

    DB Version: 11 g

    I have a list of stored procedures (about 250) whose code IE. Statements to CREATE or REPLACE STORED PROCEDURE I want to extract a file.
    Is there an option in imp or impdp where I can extract only the code of these stored procedures?

    Apart from the imp/impdp, is there another way to do this?

    Is there an option in imp or impdp where I can extract only the code of these stored procedures?

    Impdp, Yes. Write the contents of a file, the option SQLFILE.

    DUMPFILE = exp.dmp
    LOGFILE = exp.log
    SCHEMAS = TEST
    INCLUDE = PROCEDURE: 'IN ("SP") '.
    SQLFILE = sp... SQL

    Or use dbms_metadata.get_ddl

    set long 99999
    set pagesize 0
    SELECT DBMS_METADATA.GET_DDL(object_type, object_name, owner) FROM DBA_OBJECTS WHERE OBJECT_TYPE = 'PROCEDURE' and OWNER='OWNER';
    

    HTH
    -André

  • File extraction gives the error code 0x80004005

    I received a file compressed by e-mail.  The sender has tested the file successfully.  When you try to extract the file I get 2 messages.  Firstly, Windows can not extract because the destination folder could not be found.  Second error message 0 x 80004995.  I tried to move the file to another folder, but it's the same thing.  How can I fix these problems?

    I don't know why you receive these error messages, and you can't find any information about the error code (be it in Bing, Google, or Microsoft Knowledge Base).

    Try to use another program to extract the file.  Try 7-zip (which is free) to: http://www.7-zip.org/.  Maybe the extraction will work if you are not using Vista extraction program.

    I hope this helps.

    Good luck! Lorien - a - MCSE/MCSA/network + / A +.

  • API to change the profile in the Code?

    Guy:

    To change the profiles of BB in the code. (Vibrate etc) in Java...

    should which API we use? Or such an API available?

    If not, what would be the best way to handle this?

    Thanks a lot for your advice

    Xiao

    There is no API to access profiles.

  • Code can be extracted from the .bar file

    Hi all

    I'm a little uncertain on what I understand the .cod files seem to protect your code from others seeing, but if someone has a playbook application .bar file, can they get the code it?

    Thanks in advance for this compensation for me.

    Easily, if you mean, by 'code', the code compiled. Get the original source is not possible, but getting something closely resembling the original source is pretty easy using "decompilers' commercial.

    The .bar himself file is just a .zip file. Extract using a standard zip tool (or rename to have a .zip extension, if that's your only way to do this) and you will see what is in it. The .swf was ActionScript3 bytecode, which is actually the "machine language" for the virtual machine AVM2 which contains the Flash 10 runtime to run your program.

  • Getting the text with the code to add phone to profile

    At some point during my adobe CC and Setup adobe ID, I received a text from saying Adobe: xxxxx is your Adobe ID to add this phone to your profile. Problem is, I don't know where to enter the code.

    The same message comes back repeatedly every minute, and it happened at least half an hour. I deleted all my account telephone numbers and the text message keeps coming up.

    Any ideas? This could be a problem?

    Hi Renee,.

    Please see account Adobe ID and login troubleshooting

    I would like to know if this document will help!

    Kind regards

    Sheena

  • Code/script to extract all the text in the Illustrator document?

    Any who have code/script for this, or how to create the code to extract all the text on an active document in Illustrator. Extract the text as the text for any and all text elements in the document (TextFrameItem, TextRange, TextPath, etc.). We can just empty the text with alerts().

    I'm not sure of is what order or hierarchy to retrieve the text. Where do we start from activeDocument.textFrameItems/TextRanges/etc. How are text in Illustrator? I'm new to Illustrator scripting.

    Something as simple as that can do the trick.

    It will act on all open documents.

    you could then create a file and write to this alert, rather then just

    for(var i = 0; i < app.documents.length; i++){
        for(var j = 0; j < app.documents[i].textFrames.length; j++){
            var str = app.documents[i].textFrames[j].contents;
            alert(str);
            }
        }
    
  • Script to extract the code of the package (coil)

    I wrote the following code to the code in the package of the coil. However, at the beginning of the file put on hold the SQL statement is coming. I want to get rid of him.
    SET LINESIZE 32000
    SET PAGESIZE 0
    SET TRIMSPOOL ON
    SET ECHO OFF
    SET FEEDBACK OFF
    SPOOL D:\test.txt
    
    select text 
    from dba_source 
    where name='TEST'
    and type='PACKAGE BODY'
    and owner='PMP'
    order by line;
    
    SPOOL OFF

    Run as a script.

    Save your code in a file, spooltest.sql.

    Then, run it like this:

    SQL > @spooltest.sql

    BTW, code tags must be lowercase.

  • Does not include the webclips in a profile on a shared iPad

    In our shared environment of iPad, I am not able to include the webclips to configuration profiles. If I understand those, the configuration profile will always fail to install. In the past, we have had no problem doing this, this problem came only since we recorded our iPads as 'shared '.

    I am including the webclips in standard settings per device group.

    I monitor something?

    Hey, I have this problem also.  I have a profile with just a webclip and it fails with the error code 4001 MCInstallationErrorDomain.  My supplier MDM said that the profile must be a limited user profile, but there is no option of payload web clip when I try to set up a limited user profile.  So far, my MDM said it could be a UI thing and it is available and just do not show on the page, or they just have not written the code yet.  Anyway, I couldn't make it work again.

    I'm just wondering if you found a solution yet.

  • Shows the code from other sites to the top of my page. - Security Possible question

    I'm working on a Web page behind a firewall. I use firebug for firefox script debugger and the IE for IE script debugger. If I go to another site (cnn or reddit), then back to my test page, that there is an error in the code for drop down menu jquery that I wrote, rather than the advice that there is an error in jquery - 1.8.3.js, I get a notice that there is an error in the code on the previous page. For example http://www.redditstatic.com/reddit-init.en.IY9Adp1eOs.js will appear in the error console when I'm on my own test server.
    Given that the code on my page tries to run code from someone else, it seems to me that this could be a major security problem. It is perhaps difficult to understand. I have screen shots I try to load.
    Thank you
    Brita
    PS when I debug in IE. I show only the expected jQuery error.

    I rarely use Firebug, so I have not seen myself. Or simply ignored. I hope someone else here or on the list of Firebug/forum can address this problem.

  • Copy the Code from Labview

    Hi guys,.

    I'm sure this has been posted in advice, but my search does not show good results.

    I noticed in some messages that people could "join code" as an image. I've tried ctrl + c after have selected them

    in the block diagram view, and then ctrl + v in the insertion code section. Is it thus you are supposed to

    Do it? I uses a version of LabView 2012 assessment, would be - which is why it does not work?

    Thank you

    William

    Select your code.  Then go into editing-> create extract selection VI.  This will create a png file that you can publish.  Better yet, you can drag this excerpt on a VI and the code will automatically appear.  It is a great tool.

  • set chart properties in code-behind

    I am trying to add graphics dynamically in WPF code behind. It works fine, but I can't find a way to set the default interaction for zoom and pan interaction - is it possible to do in code-behind?

    Yes, you can affect both the column admitted Interactions and DefaultInteraction on a chart for all valid GraphInteraction instance. For example:

    graph.DefaultInteraction = GraphInteraction.Zoom;
        graph.Interactions = new GraphInteractionCollection { GraphInteraction.Pan };

  • Optimization of DMA in the Code in time real (cRIO FPGA-&gt; RT)

    Howdy,

    I am acquiring data from a microphone using the NI9234 module.  I wrote my RT and FPGA code.  I am communication of data between the FPGA and RT layers using a DMA FIFO.  I noticed that the layer of RT has difficulty to empty the FIFO, since the FPGA layer runs at a much faster pace.  I would like some pointers or suggestions on stupid things I do in the layer of RT that are causing it to run more slowly than necessary.

    Currently, my RT code simply opens the FPGA reference in a loop, extracts data from the FIFO and writes to a file.  I know that if I want to plot the data or perform an FFT on it, I would in a loop of lower priority, for not to slow down the data streamed from the FIFO.  Are there accessories simple performance that I'm missing in my code?  Thank you.

    I enclose a copy my code FPGA and RT (screenshots and screw), so that you can watch.

    I would seriously consider redesigning completely the code and using this reference request model.

    http://zone.NI.com/DevZone/CDA/tut/p/ID/9196

    There are reference points that show how this model makes.  With the acquisition of waveform, there are a lot of optimization.  This referenace application addresses all these to give you the best performance.

Maybe you are looking for