How to Import All pl/sql code

Hi All
What we want is to get the code from data dictionary and save in a file and so on
e.g. Say i have three packages
x1
x2
X3
after importing we want the code to be saved in c:/x1.sql and c:/x2.sql like that way..
Is it possible.
Regards
Nikhil wani

Hi,
Have you tried : Tools - Database Unload.
There are several types of objects which you can choose - package and package bodies.
I usually put them into a single file. I haven't tried to do so into multiple files.
If you need to get them into different files, use the Unload feature from the Connection - Package - right click and choose Unload. But you need to do this one by one for each package.
Btw, it is not Import. The correct term for what you want is to Export, here in SQL Dev refers to Unload.
Import is used when you want to put something from outside source into the Database.
Regards,
Buntoro

Similar Messages

  • How to debug all PL/SQL code.

    Forms 6i.
    I know debugging in general.
    But I want to debug every pl/sql code in my form, not only a certain trigger.
    How to do this?
    I tried: DEBUG -> Trigger -> "Every Statement". Trigger-Body: "raise debug.break;", but I get following error message:
    PDE-IKP008 » The current source location is undefinedEdited by: WoMo on Sep 11, 2012 5:03 AM
    Edited by: WoMo on Sep 11, 2012 5:38 AM

    Hi,
    Have you tried : Tools - Database Unload.
    There are several types of objects which you can choose - package and package bodies.
    I usually put them into a single file. I haven't tried to do so into multiple files.
    If you need to get them into different files, use the Unload feature from the Connection - Package - right click and choose Unload. But you need to do this one by one for each package.
    Btw, it is not Import. The correct term for what you want is to Export, here in SQL Dev refers to Unload.
    Import is used when you want to put something from outside source into the Database.
    Regards,
    Buntoro

  • How to print all pl/sql code in a form?

    Is there a way in Forms 6i to print out all the PL/SQL code in that form without having to open up every trigger, etc. and click Print? I'd like to get a text file dump of all the code for each Form in my application.

    Have you tried the Object List Report (under File --> Administration) It will include other information as well as the PL/SQL e.g. properties of items etc, but all the PL/SQL should be there.

  • How to find all ORA error code and the message in Oracle10g?

    Does anyone knows how to list all ORA error code and message in SQL Plus or find a full list of ORA error code in documentation?

    If you want ALL Oracle ORA error codes in single page or even downloadable (html or pdf format) then check following post.
    http://www.oratraining.com/blog/2010/08/complete-list-of-all-oracle-ora-errors/
    Regards,
    Tushar
    Edited by: oratraining on Aug 18, 2010 12:20 AM

  • How to import XML into SQL Table

    Dear all,
    There are a lot of books about exporting data into XML format.
    Actually, how to use XML Documents? Sorry I am new that I ask such a question.
    What i think may be exchange or save data using xml. If so, How to import into MS SQL table? Do it need to do any mapping?
    Appreciate for your hints

    Are you sure you want to use XML with tables for this? No doubt importing XML into tables is useful for some specialized tasks, such as importing formatting information inside the XML itself, but for most of the familiar tasks that XML excels at, tables are neither necessary nor useful.
    In my (limited) experience, if the XML elements are well-differentiated, by which I mean different types of data have their own distinctive tags, then the special powers of XML can be exploited more fully using the more familiar tagged text, nested tags etc. in ordinary text frames using paragraph breaks, tab characters, etc. to achieve a suitably "tabular" finished appearance.
    If you must import XML into tables, I recommend Adobe's own PDF "Adobe InDesign CS3 and XML: A Technical Reference" availabe here:
    http://www.adobe.com/designcenter/indesign/articles/indcs3ip_xmlrules.pdf
    It sounds very daunting -- the words "technical reference" make me shudder -- but actually it's very readable and not very technical at all. Some nice pics and everything!
    Jeremy

  • HT4489 how do import all contacts to icloud

    how do import all contacts to icloud

    Ok, well first you have to go on icloud.com and make sure that you delete all the contacts you don't want to have overritten on your iphone or merged. Now on your iPhone go to Settings -> iCloud and just flip the toggle next to contacts to "ON". Now it will syncs everything to iCloud and you are up to date. I hope that is what you ment to do?

  • How to import all Excel in Folder to database by SSIS?

    I have SQL Server 2012 and I would like to import Excel files data to Database.
    I have several files that end-users copy to folder.
    I never know files names or number of files in folder, but I know that structucture of data is same in every single file.
    How to create logic with SSIS that imports all files one by one?
    Kenny_I

    I replace to
    Dts.Variables("FileName").Value.ToString(). I'm still getting error:
    My code:
            Dts.TaskResult = ScriptResults.Success
            Dim CurrentDay As String
            CurrentDay = Now().ToString("yyyyMMdd")
            Dts.Variables("CurrentDayFile").Value = IIf(InStr(Dts.Variables("FileName").Value.ToString(), CurrentDay) > 0, True, False)
    Error:
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript()
    Kenny_I

  • How to 100% Protect PL/SQL Code By Wrapped in Oracle Database 10g R2

    Hello,
    Is Possible to 100% Protect PL/SQL Code By Wrapped in Oracle 10g R2 ?
    If it is not possible by wrap in oracle 10g R2,
    Please, let me suggest, how i will be able to 100% protect PL/SQL code in Oracle Database 10g R2.
    Because, I have lot of functions, procedures & package's in my project.
    Which is running in field filed.
    So, i have needed to protect 100%.
    Also, will i convert to al functions, procedures & package's to .pll file ?
    And .pll file to .plx file?
    Is it possible to convert .plx file to .pll file ?
    Please, let know any better solutions in this case....
    Regards
    Mehedi

    Hello,
    No, wrapping is not a 100% secure method. It could prevent your code from amateurs, but not from professional hackers. Look at the article http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/wrap.htm#BEHGBJAA
    It says: "•Wrapping is not a secure method for hiding passwords or table names.
    Wrapping a PL/SQL unit prevents most users from examining the source code, but might not stop all of them."
    Edited by: apiminov on 03.12.2012 3:23
    Edited by: apiminov on 03.12.2012 3:24

  • How is importance of PL/SQL today?

    Hi,
    I want to begin a commercial training that teaches me how to program an Oracle database in PL/SQL.
    This training lasts 12 months, and before I start it, I want to know what is the importance of PL/SQL today?
    Is PL/SQL still a modern programming language that is up do date and generally used?
    Or are ther other alternatives on the market that play a bigger role today? I think here about Java and other progamming languages.
    And besides, are there other technologies I should learn, if I am going to become a database programmer?
    My experience today is installing and administering databases since 10 years, and I want now to become a PL/SQL programmer.
    Can someone tell me how are job opportunities on the market?
    Thanks
    maffner

    It all depends.
    First of all, PL/SQL is not going to disappear ever, simply because more and more functionality of Oracle relies on PL/SQL. Take the expdp command: Basically this is a commandline interface to the datapump API.
    There are more facilities in the database like that.
    If you work in an Oracle centric shop, which only uses Oracle products, you are going to use PL/SQL. PL/SQL is a compiled language which runs in the database, it will always have more features. and run faster than Java.
    Now, there is the plethora of database-neutral application vendors out there. In this situation Oracle only functions as a 'datastore', so basically those applications do not use any Oracle feature at all, and are written in Java.
    Even worse: everything is cached in the application server, and declarative integrity is not enforced in the database.
    That software usually doesn't use PL/SQL at all.
    Invariably there are major performance problems, and all over the globe there are frustrated Oracle administrators because they can't address the performance problems, as vendor refuses to cooperate.
    In my country, The Netherlands, there seem to be few Oracle centric shops, and everyone is running database-neutral apps, or I don't know the Oracle centric shops.
    In these situations knowledge of Java can come in handy, and likely you won't use PL/SQL.
    Sybrand Bakker
    Senior Oracle DBA

  • How to find all the sql executed in the database

    Hi
    We want to be able to collect all the sql statements executed in the database and be able to dump them in a file or a table. Can anyone tell me how we can get that done?
    Regards,

    if you are using oracle 10g, you can use one of the
    option of datapump tool to do thisthat's new to me, can you show us how ?
    For OP, you can check v$sqlarea view to find out all the sql statement still in shared_pool, however, there's no guarantee you will have all sql executed since database started.
    Like other poster mentioned, enable auditing if you want to collect that information.

  • How to import all images on disc?

    after having used iPhoto 08 for a long time the link between the program and the source files broke. i have a hard time restoring the library. how can i import ALL images on my harddisc into iphoto? is there a function that scans and finds all images automatically?

    after having used iPhoto 08 for a long time the link between the program and the source files broke. i have a hard time restoring the library. how can i import ALL images on my harddisc into iphoto? is there a function that scans and finds all images automatically?
    You really would not want to do this - you would have a mess - many duplicates and lots of images that have nothing to do with photos
    Tell us more about your problem - what is happening and how it occurred
    Most likely you have all of your original Photos in the originals folder of your iPhoto library and simply quitting iPhoto, dragging the iPhoto library to the desktop, launching iPhoto and creating a new library and dragging each folder from the originals folder in your iPhoto library on the desktop onto the iPhoto icon in the dock (check to be sure that the iPhoto preference to split items imported from the finder is NOT checked) - this will recreate your events
    If this is not an option their probably is still help
    LN

  • How to import all column heading of excel to oracle 6i forms(no rows).

    hello,
    I am new to oracle forms.
    There are so many links for importing and exporting data from forms to excel and excel to forms.
    But i want to import all column heading of excel to form (no rows). I am using forms 6i.
    please help me for the same.
    Thank You.
    Edited by: sam8682 on Apr 9, 2013 5:48 AM
    Edited by: sam8682 on Apr 9, 2013 5:50 AM

    Reading from any file is always done in a loop through the records. So, just loop only once. That will give you the first record only.
    If you have some code already you can modify it to something like:
    for i in 1..1 loop
    end loop;

  • How to import all tags, etc to upgrade version 3.2

    I have all my photos organized in Album version 2.0. After installing version 3.2 how do I import all my old tag, collection and title information?
    Version 3.2 found all the pictures but I did not get the related info.

    Nicholas,
    Please understand that these two products are actually quite different.
    Photoshop Album is similar to Photshop Album SE, but as you might imagine
    given that SE is free, it is NOT the next step UP for Photoshop Album.
    Photoshop Elements 3.0 is.
    I am not sure if Version 3.2 has the ability to import the tags from 2.0,
    but I will get confirmation on that. By now you'd think I should know, but I
    run into these things only one at a time.
    I should have an answer in a day or two. If it is supposed to pick up the
    tags, I will have additional questions for you.
    Cheers

  • How to import all layers in Photoshop at one go ?

    Hi there,
    I am trying to import a Photoshop psd file into AE. This file has a lot of layers. When I do File > Import > FIle, it ask me whether I want to import as footage or Layers.
    When I chose Layers, I am asked which layers I wanna import in. As I have to import one layer at a time, this is time consuming. How can I import all layers at one go ?
    Thanks
    Cheers

    Rick Gerard wrote:
    Choose import as a composition. Check the help files. There are two options.
    Thanks Rick, Didn't realize that after clicking File > Import > FIle, when the dialog box appeared, we can still change the option to import as composition.
    Thanks Rick for the tips !!
    Cheers

  • How to Import data via SQL Loader with characterset  UTF16 little endian?

    Hello,
    I'm importing data from text file into one of my table which contains blob column.
    I've specified following in my control file.
    -----Control file-------
    LOAD DATA
    CHARACTERSET UTF16
    BYTEORDER LITTLE
    INFILE './DataFiles/Data.txt'
    BADFILE './Logs/Data.bad'
    INTO TABLE temp_blob truncate
    FIELDS TERMINATED BY "     "
    TRAILING NULLCOLS
    (GROUP_BLOB,CODE)
    Problem:
    SQL Loader always importing data via big endian. Is there any method available using which we can convert these data to little endian?
    Thanks

    A new preference has been added to customize the import delimiter in main code line. This should be available as part of future release.

Maybe you are looking for

  • I need help with a SELECT query - help!

    Hello, I need help with a select statement. I have a table with 2 fields as shown below Name | Type John | 1 John | 2 John | 3 Paul | 1 Paul | 2 Paul | 3 Mark | 1 Mark | 2 I need a query that returns everything where the name has type 1 or 2 but not

  • Shortdumps because of missing RFC authorization!?

    Hello, I developed a report, that calls a function module, stored in many other SAP Systems. This report will be called by hundreds of users. But many of these users do not have the appropriate authorizations to call function modules in other systems

  • Error installing Premiere Pro CC

    Whenever I try installing and launching Premiere Pro CC from the Creative Cloud app manager, I get the error message that "WMVCORE.DLL is missing on the system" and that I should install Windows Media Player on the system. The curious thing is that P

  • Acessing EJB from standard java applications

    Hello, What is the best way to access Enterprise Java Beans from a standard java Application? Any suggestions, documentation, links, ... are welcome. To illustrate the problem, take the shopping cart example (http://java.sun.com/j2ee/tutorial/1_3-fcs

  • Problem starting an app with Siri via Bluetooth

    I want to use my iphone 5s without taking it out of my pocket in my car via my bluetooth Flexsmart X2.  I am able to use Siri and start a navigation with no problem.  The problem is when I try to start Slacker radio, it asks to type in my pin.  Is th