Tool for creating sample data

Greetings all,
I have a application and I have some lookup tables used in the application for select lists etc... When I export the application I can get it to create the tables on installation but they are empty and I was wondering if there are instructions out there on how to have the data inserted into the table (Like the sample data is inserted in the OEHR Database). I know I can import the data from csv files after the application is installed, but wanted to have the lookup table populated when the application is deployed.
I have been taking my application and installing it on other APEX instances, but then have to go in and import table data. I looked at the OEHR sample data build and I see that they do some insert into statements, but wanted to find out if there is an automated way to do this or some instructions out there to add this to the application sql file? There is much information in the OEHR sql file, and I don't know what is required or mandatory to make the insert into stuff work.
Thanks in advance
Wally
Example table
CategoryTable
CategoryID (Number) PK
CategoryName(VARCHAR2)(50)
Data
CategoryID CategoryName
1 Cat1
2 Cat2
3 Cat3
4 Cat4
5 Cat5

Thi sis what I do when I want to bundle supporting (lookup) table data.. I use SQL Developer to download a my table data as insert statements. I save those insert statements to a script and then add them to the application install file, via the supporting objects tab in APEX..
See this site for more information: http://www.yocoya.com/downloads/apexsuppaper.pdf
Thank you,
Tony Miller
Webster, TX
Never argue with an idiot. They drag you down to their level, then beat you with experience.

Similar Messages

  • For this sample data how to fulfill my requirement ?

    For this sample data how to fulfill my requirement ?
    with temp as
    select 'MON' WEEKDAY,'9-10' TIMING,'I' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'9-10' TIMING,'II' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'9-10' TIMING,'III' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'10-11' TIMING,'I' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'10-11' TIMING,'II' CLASS FROM DUAL UNION
    select 'TUE' WEEKDAY,'9-10' TIMING,'I' CLASS FROM DUAL UNION
    select 'TUE' WEEKDAY,'9-10' TIMING,'II' CLASS FROM DUAL
    select ?? (what will be the query ??)
    How can i get output data in this way :
    WEEKDAY TIMING CLASS
    MON 9-10 I,II,III
    MON 10-11 I,II
    TUE 9-10 I,II

    If in 11g, you can use LISTAGG
    with temp as
    select 'MON' WEEKDAY,'9-10' TIMING,'I' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'9-10' TIMING,'II' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'9-10' TIMING,'III' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'10-11' TIMING,'I' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'10-11' TIMING,'II' CLASS FROM DUAL UNION
    select 'TUE' WEEKDAY,'9-10' TIMING,'I' CLASS FROM DUAL UNION
    select 'TUE' WEEKDAY,'9-10' TIMING,'II' CLASS FROM DUAL
    select
    WEEKDAY,
    TIMING,
    LISTAGG(CLASS,',') WITHIN GROUP (order by 1) as class_aggregate
    from temp
    GROUP by WEEKDAY,TIMING;
    WEEKDAY       TIMING     CLASS_AGGREGATE
    MON           9-10       I,II,III
    MON           10-11      I,II
    TUE           9-10       I,IIOther techniques for different versions are also mentioned here :
    http://www.oracle-base.com/articles/misc/StringAggregationTechniques.php#listagg

  • ODI 11g 11.1.1.7 with Win64 bit OS : Starange problem : Right click does not work for Create new data server in Topology.

    ODI 11g 11.1.1.7 with Win64 bit OS : Strange problem : Right click does not work for Create new data server in Topology.
    On right click nothing happens at all. I have  reinstall the ODI multiple times with right installer. issue persist.
    Please help.

    Hi,
    Did you use the generic installer or the win32 one ? You should use the former with Win64.
    You can also check that your version of Java is supported in the certification matrix.
    Regards,
    JeromeFr

  • Tool for creating batch jobs

    Hello,
    I need to create a batch job, which is having round about 90--100 steps, so is there any tool, by which i can create this quickly?
    Please help me, this is little urgent.
    Thanks,
    Anand.

    Hi anand,
    CATT/ECATT is the best tool for creating batch jobs.
    For more information on how to use these tools, go through the below links.
    http://www.*********************/tutorials/secat.htm
    http://www.*********************/tutorials/scat.htm
    Regards,
    Bharath

  • Does CS5 have tools for creating websites for mobile devices?

    Does DW CS5 have any built in tools for creating web pages for mobile devices, iPads, iPhones, etc?
    Thanks.

    This will go back to your other post about the CSS tables, it depends on how much you know.  CSS3 is a style language and while support is growing in Dreamweaver and within browsers it is taking some time so the more you understand the code the better off you will be.  With regards to HTML5 animations, you will find that no tool out there can do this easily outside of some Apple developer tools and if you are serious about programming to work with the iPhone/iPad you will want to sign up (registration is free) and download their developer tools.  Adobe has mentioned making some strides and trying to use their existing tools (ie: Flash) to help transition to HTML5 animations from Flash and Illustrator has also gained some HTML5 vector tools to help out.
    To find out more about what Adobe is doing for HTML5 there was a post made on John Nack's blog not too long ago that you might want to read over (and follow the links).
    http://blogs.adobe.com/jnack/2010/11/so-what-has-adobe-actually-done-for-html5-lately.html
    Dreamweaver is not going to hand you everything though.  To get the most out of it you have to put something into it.  It is easily the most advanced tool in the PHP and ColdFusion realms (ASP/.NET goes to Visual Studio).  But in order to do more and customize things to your needs, understanding the code is a must in the world of web design.

  • Tools for creating executables

    I am on a look out for a installation development tool for windows.
    Requirements :Should be easy to use and update for patch release. It should automatically create desktop icons, do any registry entries if reqd, automatically install and launch JVM.
    I think most of you who develop applications in java must be using some or the other tool for creating executables. So can you send me some suggestions on products avaliable and their popularity.

    Thanx for your response. I will go thro' that site

  • Tool to create XML definition, a tool for creating XSD

    I need a tool to create XML definition, a tool for creating XSD.
    I was trying to do this with Oracle packages. But again there are some problems. Could you tell me which one, I should use?
    Can I do it with the Oracle SQL Developer?

    Hello,
    i get the error message and I don't know, what I can do
    The user have the permissions to use DBMS_LOB package.
    Is it the sofware, do I need a license version tool for XML generation
    SQL> select DBMS_XMLSCHEMA.GENERATESCHEMA( 'HR', 'EMP_DATA' )
    2 from dual;
    select DBMS_XMLSCHEMA.GENERATESCHEMA( 'HR', 'EMP_DATA' )
    ERROR at line 1:
    ORA-00904: "DBMS_XMLSCHEMA"."GENERATESCHEMA": invalid identifier

  • PXE booting - any tool for creating image?

    Hi All,
     can anybody help me with PXE bootin'? I need a tool for creating boot image...
     Thanx
       duhaCZek

    You can use the install Shild to create the installation package

  • Is SSAS the right tool for my active data monitoring?

    I'm looking for a solution for actively monitoring many millions of records for abnormalities in data trends.  I'm familiar with warehouses, star and snowflake schemas, all of that good stuff.  I'm really interested in SSAS as the front end tool
    or any other Microsoft tool that may lay on top of it.
    I have a ton of client databases, all with nearly identical structure, which have data loaded to them weekly or monthly.  I want to automatically monitor this data when it's loaded (when new records are added to the database, basically).  I would
    assume that this would be done through processing a cube periodically - I can trigger a reprocessing of the cube programmatically or whatever. I want to automatically get some kind of alerts when individual metrics that I have defined are outside of a threshold
    that I have defined (one field as a percentage of another, a standard deviation range as compared to previous months, etc).
    I have something like this in place already, but it's all home grown and becoming a maintenance nightmare.  We want to expand it to other areas, add more metrics to monitor, etc etc.  If there's a product out there (ideally SSAS which I already
    own a license for) that makes this more manageable that would be fantastic.
    Any other information you might be able to provide - articles, other product information, companion products, other tools, whatever - would be greatly appreciated also!  Thanks!

    I'm looking for a solution for actively monitoring many millions of records for abnormalities in data trends.  I'm familiar with warehouses, star and snowflake schemas, all of that good stuff.  I'm really interested in SSAS as the front end tool
    or any other Microsoft tool that may lay on top of it.
    I have a ton of client databases, all with nearly identical structure
    Hi Mateoc,
    In your scenario, you said that you have a ton of client databases, all with nearly identical structure,
    so you can use SQL Server Integration Services (SSIS) to load the data to Data Warehouse. Then create a SQL Server Analysis Services Multidimensional database using this data warehouse as the data source.
    SQL Server Analysis Services (SSAS) Multidimensional model is used when having large amount of data with complex requirements. In order to improve query performance, there will be a cube doing heavy time-consuming processing and then synchronize it
    to query cubes.
    Reference
    http://blog.aditi.com/data/choosing-between-analysis-services-multidimensional-and-tabular-models-part-3/
    http://blogs.technet.com/b/pfelatam/archive/2012/07/25/analysis-services-tabular-mode-vs-multidimensional-mode.aspx
    http://www.element61.be/e/resourc-detail.asp?ResourceId=485
    Regards,
    Charlie Liao
    TechNet Community Support

  • What are all the different methods/tools for creating animations that work in IBA?

    I've been developing HTML5 animations in Sencha and attempting to use the HTML widget in IBA.  It's not going as seamless as I was hoping, and I was wondering if there are better methods/tools to create animations for IBA.  In my opinion, the primary limitation is not in Sencha itself, it's more in the widget functionality in IBA. 
    I want the entire page to be an animation and drive the user experience, basically.  Currently in IBA, the widget allows for successfully importing an HTML5 animation, but in more as a complementary role to the page instead of the primary content. 
    Any ideas?

    Thanks Fabe - I agree 100%.  However, in order to make fully dynamic books, animations can play a great role in bringing a book to life.  (Admittedly, I may have to just build an app for what I'm trying to do)
    Anyone else have any thoughts?

  • New SAP Tools for faster Master Data Upload?

    Hi All!
    I am interested in getting some detailed information on different tools that are used for faster master data upload. Please let me know about the tools apart from LSMW, BAPI, eCATT and BDC.
    We basically want to know the following things:
    1.Which are the tools available for this master data upload?
    for eg. SAP MDM, Info Shuttle, other available new age tools etc........
    2. Their performance / feature comparions?
    Please provide performance / feature comparison for different new age tools in detail.
    Thanking you in advance.
    Regards,

    Hi Amar,
    regarding SAP MDM you can read advantages and characteristics here: http://www.sap.com/platform/netweaver/components/mdm/index.epx
    Hope this help you,
    Vito

  • Monitoring and Alerting tools for Business Object Data Integrator

    Hi,
    We have Business Objects DI installed in AIX 5.3 environment. Please advise any type of monitoring and alerting tools for DI.
    Monitor tools to monitor Job servers(like job service and web services running properly) and also to monitor long running extraction jobs and alerting the same. Thanks.
    Thanks.
    Raj.

    Hi Thomas
    Though both the tools objectives are for Data integration, the purpose for both tools are different.
    SAP BODS/ BOBJ Data Integrator is an ETL tool which involves combining data residing in different sources and providing users with a unified view of the data
    SAP PI is a Middleware/EAI tool which have a mechanism/technology that connects different parts of an application or a series of applications
    SAP BOBJ Data Integrator
    Bulk Data Integration
    Extraction Transformation and Loading
    Deals of huge volume of data
    SAP PI
    It is process based integration of application data
    It is a middle ware which integrates various project applications into a common programming package that can be operate/access as a single application
    SAP NetWeaver PI is SAP’s implementation of Service-oriented Architecture (SOA) middleware and facilitates the integration of business processes that span different departments, organizations, or companies.
    SAP PI uses SAP NetWeaver Application Server and message servers where in fail over cases the messages can be resent again.
    The below differences will gives you more clarity
    Verdict is we can use both the tools for data transfer/migration and for choosing the tool depends upon the business requirement
    Please reply back if you need more information.
    Regards
    Murthy

  • Any tool for creating connectors?

              Hi.
              Does BEA have a tool (in-house or third-party) that can be used for creating connectors?
              And at what cost?
              Thanks,
              - deepak
              

    You can use the install Shild to create the installation package

  • Is Dreamweaver an appropriate tool for creating a Help system?

    Hi,
    I have the full Adobe Creative Suite and I'm looking to create a Help system. Is Dreamweaver an appropriate tool for this, or is there another tool that would be better? I don't have Robohelp.
    Robyn

    Hi Robyn
    Robohelp and most of the other help systems would be like splitting a nut with a sledgehammer, for what you describe.
    You are basically talking about a search system on specific topics, for which Dreamweaver is an adequate tool, it may be worth while incorporating one of the 'smaller' open source help system into your site, in order to achieve your goal.
    Your comment on posting to the 'indesign' forum is understandable but not recommenced (there is a great difference between dtp (classic graphic design) and web design / development), especially if you intend to incorporate your current 'user guide' into a web site. Any help system both for a program that you install on your computer or supply as a web site 'help' system can be constructed as a searchable html page (many are html pages now), and you can even use the a major search engine to do this for you, (providing you know how, of course). It is even possible to search pdf's, flash and audio, and provide then as a downloadable / online version as well if you so require.
    The one thing you did not say in your reply was how good your programming skills are, (if not very good, do you have someone who can do this for you), as this is what will limit your help / search system. But even here if you incorporate one of the search engines own search api into a basic web page they will index and search your site for you, both as a local search, and as a web search.
    Hope this helps, in some way.
    PZ

  • Development tools for using Spatial Data

    Hi everyone,
    What are the best tools that are used to develop the spatial applications that you guys are using/developing? Should I get something like eSpatial, or just develop in notepad?? Is there something else that uses your spatial data and can generate maps based on your data in your database?
    Any suggestions are appreciated.
    Thanks!
    -Scott

    Hi Daniel,
    Thanks!
    I am looking to develop a map of the US that shows the locations of military bases that we are responsible for monitoring. This map will have an icon near the name of each of the bases that is colored depending on if a trouble ticket has been created due to an outage or problem at the location. Example, red for a network outage, green if nothing is going on. What I am struggling with is where do I get all the geometry to create the map of the US, or can I just use images that are already created and specify the X and Y on that image and use long/lat of the bases and create the locations. This is not a topic I have a lot of experience in as you can see, but it is something I have been assigned to work on.
    Thanks!
    -Scott

Maybe you are looking for

  • Problem while creating a z-table

    Hi Experts, when i created a z-table i am getting warnig message like "enhancement Category for table missing" what does it mean ? hoe to resolve that?..But the table was activated.. Regards Ravi.

  • Dragging an images from Safari to the mail Icon doesn't embed image

    Hi all - I was wondering if there was a way to change the following default functionality: If I drag an image to the Mail icon in the dock, it will open an email with the address of the image as text. What i want is for the image to be embedded in th

  • Exception in thread "main" java.lang.OutOfMemoryError(please help me )

    Hi All here my java class trying to read a txt file(which is having size of 60MB).and putting each line into a Vector class. problem is ,upto certain number of line it is reading properly and putting into vector..after that it is giving error like Ex

  • BEFW11S4 v4 Frequent Drops

    I have a desktop (2000 professional) and a labtop (windows vista) both running wireless.  Originally the desktop was wired and i had a labtop (windows xp) that had no drops.  Now that I have the desktop and new computer w/ vista both wireless, I expe

  • How to create a LOGIN Form & LOGIN ID & PASSWORD for END USERS

    hi, i have just created a Database and Forms & Reports using developer 6i. now i want to deleiver that Database to end users, but i dont know that how to create a LOGIN Form for the end users and also i want to assign each user a Login ID & Password.