Create a LOV for parameters in development tools

Hi,
I found a way to create a LOV for a parameter using PL/SQL developer.
The code is as followed:
select * from account_hier t
where t.level_a LIKE &<name="Level A"
hint="Level A"
type="string"
default="%"
ifempty="%"
list="select distinct level_a,level_a from account_hier"
description="yes"
>
and t.level_b LIKE &<name="Level B"
hint="Level B"
type="string"
default="%"
ifempty="%"
list="select distinct level_b,level_b from account_hier where level_a = :level_a"
description="yes"
>
It works beautifully but my question is whether something like this can be applied using TOAD (I'm using 9.7.2).
How can I define a LOV for the parameters in the parameters window?
Thanks
Tamir

Tamir-L wrote:
Hi,
How are we supposed to know a) what your code is actually doing and
When running this code in PL/SQL developer when the parameters will popup for population you'll see that there is a list of values for the parameters.I (and many others of us) don't have PL/SQL developer. It's a 3rd party tool, not part of Oracle. Therefore we can't run the code to see what it does.
b) how to achieve that on some other 3rd party tool?
That's exactly my question, How can (if at all) I do the same with TOAD ?Based on your description, I'm not sure if TOAD supports such things. It sounds like something specific to PL/SQL developer.
LOV's are not something in SQL or PL/SQL, so your question does not make sense.If you'll create similer code than you'll understand that LOV can be defined in PL/SQL developer tool in the SQL editor.Only if we have PL/SQL developer. Which we don't.
To make it easier try to run the following code:
select 'Example' from dual
where 'field11' LIKE &<name="LOV A"
hint="Choose a value for field1"
type="string"
default="field11"
ifempty="field11"
list="select distinct 'field11','field11' from dual union all select distinct 'field12','field12' from dual"
description="yes"
*>*
*;*I can't.
To clarify my question once more:
If a sql is running under TOAD and that code have parameters the parameters window will pop once the code is executed.
I would like to know whether I can define a LOV for the parameters.I've never come across this in TOAD.

Similar Messages

  • I want to use Xcode to create an app and i need developer tools. so i need to join the devoper program only problem is I'm not 18

    i want to use Xcode to create an app and i need developer tools. so i need to join the devoper program only problem is I'm not 18

    You can get Xcode without joining the developer program. Just go to the App Store and download it (it's free).
    You'd only need to join the Developer program if you want to put your app into the App Store, this is for OS X.
    You will need to join the Developer program if you want to develop for IOS. In that case you will need a parent or guardian.

  • Since updating to OS X Mavericks I get a continuous update request for command line developer tools.  How do I stop this?

    Since installing OS X Mavericks, automatic updates keep producing download demand for Command Line Developer tools 6.0 and 6.1.  I don't need these but cannot seem to stop the updates available, even if they are downloaded and installed.  Can anyone tell me how to stop this?

    Try re-indexing Spotlight.
    Spotlight – Re-index

  • Creating Named lov for each row..........

    How to create Named LOV for each row in a field.
    i have a tabular in a page. In that tabular i have three fields service_code,*service_name* and No_units.
    i have to create lov for service_code for all rows.
    how to do this?
    plz help...

    Hi Frank,
    This is the method i wrote in the managed Bean. It works when I hard code the department value to some value(like 10).
    public List<SelectItem> getEmployeeList() {
    int Deptid = 10;
    ArrayList<SelectItem> employees = new ArrayList<SelectItem>();
    employees.add(new SelectItem("0", "--Select Employee---"));
    try {
    Connection con = getConnection();
    PreparedStatement ps =
    con.prepareStatement("select name from employees where department_id = ?");
    ps.setInt(1, Deptid);
    ResultSet rs = ps.executeQuery();
    while (rs.next()) {
    employees.add(new SelectItem(rs.getString("name")));
    rs.close();
    ps.close();
    con.close();
    } catch (Exception ex) {
    System.out.println(ex.getMessage());
    return employees;
    How can I pass the row Department Id to this method in the f:selectItems?
    I really appreciate your help in resolving this issue.
    Thanks

  • Suggestions for the Oracle Developer Tools for VS2005

    I'd like to start a thread for constructive feedback of the Beta version of these Oracle Developer Tools for VS2005.
    First off, check the known issues here before posting:
    http://www.oracle.com/technology/software/tech/dotnet/odt10202rn.html
    So, here are my issues:
    - In the Oracle Explorer, when you right click on a large table and click "Retrieve Data..." it hangs the IDE until an apparent timeout value of 30 seconds, then shows a message box stating that "The query is taking a long time. Would you like to continue" ...waiting? I think the better approach here is to follow MS. In Menu Tools -> Options -> Database Tools -> DataConnections, there is a setting to limit SQL results to x number of rows. I think ODT should do one of the following. 1. Read this value and apply it. OR 2. Hardcode a value of 100 - 500 rows. 3. Add a setting similar to MS in the Options...
    - In the Oracle Explorer, when you right-click on a view and click "Design..." the code for the view opens, but is not very readable because the line breaks are interpreted a little boxes. After dumping it into a hex editor, you can see the little box characters are Linefeeds (Char(10)). If these are all replaced with Carriage Return+Linefeed (Chr(13) + Char(10)), and pasted back into the editor in VS2005, it works perfectly. Note: My Oracle 9i Server is running on the Linux platform.
    - I know this is a known issue, but this one's a biggie for me. Drag and drop is not supported from Oracle Explorer to the XML Schema Designer. Will Drag-and-Drop of tables generate TableAdapters as well with the Fill methods?
    - Pre-existing Triggers don't seem to be visible in the Oracle Explorer.
    Thanks,
    -Tony

    Hi
    I am new to Oracle but not to VS. I have downloaded and installed the newest tools for Developer, having first tried the install for VS2003.net (which refused to install on my VS 2005.) I got the beta download and installed it, but my oracle explorer shows nothing. Any attempt to add a connection results in an error ORA-12560:TNS:protocol adaptor error. I had the full install of 10g r2 on my notebook, but removed it and opted for the XE version. I removed the Oracle_Home environment variable prior to installing XE. I am trying to connect to the HR database, and the account is unlocked. I saw a reference to the tnsfiles file, and that seems to be the problem, but I don't know what to do about it. Thanks in advance to anyone who can offer help.
    Bruce
    [email protected]

  • How to create a LOV for a parameter in a Discoverer workbook

    How can I create a LOV's for a parameter in a Discoverer Workbook?

    Hello
    If the item you are basing the parameter on already has a list of values then the list will automatically be displayed.
    If you are creating a generic parameter, probably using the <None> link, or you are basing the parameter on an item in a folder that does not have a list of values then there is no way to get one.
    You can create lists of values based on items in a custom folder but then you still need to associate the LOV with an item. However with a little ingenuity and thinking ahead you can actually get LOVs for just about every parameter, just ensure the parameter is based on an item and not using <None>
    Hope this helps
    Michael

  • Creating thre LOV for VO

    Dear All,
    I want to create a LOV in form from a VO.
    So it can be eaisly done by dragging and dopping VO in form from 'Data Controls' and selecting 'Single Selection' in the context menu....
    The LOV gets created properly as i want.At client side when i try to get the value i get 0,1,2 i.e indexes
    But i want the value in form of CODE, means i want the display attribute as 'NAME' and value as 'CODE' . So can anyne help me on this ?
    -Thanks
    Edited by: Santosh Vaza on Jan 11, 2011 3:06 PM

    Dear Dimitar Dimitrov,
    I managed to get the selected value as code using following technique
    <af:selectOneChoice value="#{param['IncomingSrNo']}"
    required="#{bindings.EMAIL_TEMPLATE_LOV_VO11.hints.mandatory}"
    shortDesc="#{bindings.EMAIL_TEMPLATE_LOV_VO11.hints.tooltip}"
    id="soc1" simple="true"
    valueChangeListener="#{backingBeanScope.generate_backing.templateSelected}"
    autoSubmit="true">
    <f:selectItem id="select" itemLabel="<-Select->"
    itemValue="-1"/>
    <af:forEach var="row" items="#{bindings.EMAIL_TEMPLATE_LOV_VO1Iterator.allRowsInRange}">
    <f:selectItem itemValue="#{row.attributeValues[0]}" itemLabel="#{row.attributeValues[1]}"/>
    </af:forEach>
    </af:selectOneChoice>
    -Thanks

  • How to create custom folder for parameterized query

    Hi Gurus,
    I developed a query to generate report to " who is reporting to who in organization", when i am trying to create custom folder using this query but i am getting error like "The custom sql entered contains parameter and therefore invalid". Could you please help to parameterize the emp_key in query in Oracle Discoverer. Is there any way to pass the value using external procedure for this query.
    SELECT
    lpad(' ', 8 *(LEVEL -1)) || emp_last_name, emp_key, manager_id, emp_key, manager_key,
    mgr_last_name, mgr_first_name, empid,
    emp_last_name, emp_first_name, LEVEL FROM cmp_ppl1 START WITH emp_key = &emp_key
    CONNECT BY PRIOR emp_key = manager_key;
    Thanks & Regards
    Vikram

    I agree 100% that it's way easier to create a dataview or a custom folder - with no run time parameters being passed to the EUL - as is being done by Vikram.
    The only concern I would have is that I don't know if it would work - or at least ever come back in reasonable time - for Vikram and therefore the question about parameters (only Vikram can say).
    The reason I'm wondering is that I've created SQL similar to being shown (when used in an org chart report at a large client) and the start / connect by is used for going down the tree getting everyone on the way. And if it's not limited - that could be a huge undertaking - of records and/or time. Guess it depends on how many people work at the organization (and of course, levels).
    But otherwise, absolutely, I would try and bring back all logical records to the folder and then filter in Disco.
    Russ

  • How to create a LOV for a ESS Job Parameter

    Hi,
    I have an ESS job and for one of the parameter , I want to provide users to select from the static List of values.
    What is the easiest possible approach and how to achieve that.
    Thanks in Advance,
    Ankit

    Sorry I missed it somehow. So, assuming currently the job parameter is a text box. Here, is what you can do.
    1. Create a new Fusion application with a model project in it. Then Create a new view object with data based on static values type in the JDeveloper.
    2. Create a new Fusion Applications Customization Application based on the exploded EAR
    3. Open the page you want to change by customize option and then keep a note of the current binding value from the ess parameter inputText and then delete this field from UI.
    4. Shuttle the newly created vo in the AM used for this page. For this to be available you will need to add your project created in step 1 as a library to the Customization application.
    5. Now expand the data controls and drop the attribute from the VO as a LOV on your page and copy the value binding from the deleted field to this one.
    Please note that the above approach should work but I have not personally tried or tested it. Also you will need to go through the extensibility guide for setting up your environment, to understand the customization process, and deploying it to test. Extensibility guide can be found [http://docs.oracle.com/cd/E15586_01/fusionapps.1111/e16691/toc.htm]
    Thanks & Regards !
    Vik
    Fusion Apps Developer Relations
    http://blogs.oracle.com/fadevrel
    Please mark the response helpful or answered appropriately

  • What is the future for an Oracle Development tools?

    I mean, Oracle Developer looks like Cobol 10 years ago. It is a tool, but it is hardly to support and learn. Many of pepole prefere non-Oracle tools now.
    Do Oracle plane to desupport Developer, switch to JDeveloper or license a something from a Borland one more?
    It can be able to develop on C++ or PL/SQL (Serverlets), but Visual Rapid tool is preferable.

    I think that the only problem with Forms
    are some "basic" bugs that Oracle spends
    too much time to fix them. Except this,
    Forms is the best tool to develop ERP
    applications (database intensive). It just
    happend yesterday in our company. We recently
    participated in a competition to develop a
    sales system, with reports, images, technical
    data, etc. The team from USA with VB and
    SQL Server spent 18 months developing the
    system and we with Forms and Oracle DB spent
    , believe it or not, 1 month with more
    functionality, specially in queries and
    much faster to execute. I agree that with VB
    for example, we can create wonderful GUI
    screens but to do so, we spend more time,
    the system will be larger, difficult to
    maintain (because of more code) and many
    times, not reliable. Besides I have never
    seen a tool where we can run without any
    change in client/server or WEB. We have
    compared Forms in the last 6 years with
    many other tools like VB, VC, Gembase,
    Fabasoft, Obsydian, Progress, etc. None of
    them could surpass Forms in performance,
    development time and application
    functionality (transaction, database,
    query, data secuity, etc). Even GUI is not
    far from these tools. Sometimes portability
    is much more important than GUI richness.
    We use Forms since we had VAX/VMS and
    we could move from this to Windows 3.11,
    Windows NT and now WEB without any big
    headache. About the learning curve, we have
    3 students that were able to learn and be
    productive with Forms in 2 months. Compared
    with our older systems developed with COBOL
    we are now 2 to 10 times faster to develop
    and maintain applications, with much less
    bugs. All because of application standards,
    less code, standardized screens, object
    classes, libraries and stored procedures.
    The last tool comparison was with Java but
    again, the programming effort to achieve
    only half of the functionality that
    our Forms applications have, was huge. Not
    to mention that this Java application
    required 70Mb of memory to execute against
    22Mb from WEB Forms (client/server only
    12Mb). Besides WEB Forms was 5 times faster
    to execute when, for example, navigating in
    a tabular block.
    null

  • What are best free tools for a Oracle development DBA?

    Hi, I have been production dba for years. I am familiar with full cycle of database installation, configure,backup recovery, etc.
    Now my role is going to change to development dba soon. I have no problem to create instances. Then to the data modeling, data normalization, etc, what kind of tools I can use?
    Any good suggestions or documents you can provide?
    Thanks in advance.

    The only good tools for normalizing your database are you own intelligence, knowledge, and experience. A great place to feed your knowledge and borrow someone else's experience is in Ken Down's blog, The Database Programmer.
    As for PL/SQL development tools, try SDDM's older sister, SQL Developer.
    Edited by: jflack on Dec 6, 2010 9:04 AM

  • Installation-development tools

    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.

    I want to clarify that I am not looking for tools for application development. I have already developed my application. I want to create windows executable which I can use for installing my application on my endusers' m/cs.
    Anyway, thanx for your response.

  • How to create static LOV

    Hi
    I am using JDeveloper 11.1.1.5.0.
    =>I want to create static Lov for status
    .open
    .close
    .current
    =>My data table has
    .O
    .C
    .U
    can anyone suggest me...

    Have you tried creating one? Your question itself has an answer :)
    Hint :
    Label
    =>I want to create static Lov for statusValue
    =>My data table has -Arun

  • XE work with Developer tools for VS 2005? - Create package problem

    I just installed Developer tools 11.1.0.6.10 Beta. When I try to create a package, the wizard create an empty body checkbox is on by default. When you choose "Edit Body," when you try to modify the dummy code and save, a message saying "Cannot create other database schema object from this window. Please use the appropriate dialogue ..." When you cancel, the body disappears from the Server Explorer.
    If this is not the appropriate one, what is? (Also CREATE OR REPLACE is missing from the generated code)
    I've created both spec and body from Toad and had it compile correctly, but the Server Explorer shows the body as invalid. If you try to edit, it just repeats the problem above. (There may be some connection to the issue of a different ORA home, because the Toad freeware version says it does not support OraOdac11g_home1 that shows up in the Toad Connect Using" dialog. I think I got the XE install and Tools correct - I copied my TNSNames etc from XE into the apps////blah directory, and Server Explorer connects.

    Forgot. When I tried to view the stored procedure inside oracle express, nothing appeared in either the package spec or body. This is the case in installs on 2 different computers.

  • Development Tools for R12

    Hi,
    I am positive this has been answered before on Metalink but I can't seem to get the definitive answer from metalink nor can I find one in the Forums here. So, here is the question again.
    We will be upgrading from 11.5.10 to R12.1.3 on Linux later this year. I am in the process of getting all the following development tools necessary for our R12 development on Windows clients. So, I need to install the appropriate patched versions of these dev tools on Windows 7/Windows XP machines to work with our Apps R12.1.3 going forward. Metalink suggested that I follow the link in note "437878.1 - Upgrading OracleAS 10g Forms and Reports in Oracle E-Business Suite Release 12". I still could not understand whether I need to install Developer Suite 10.1.2 and apply the patch listed in the note or Install Oracle Application Server 10.1.2 (from OTN?) and apply the patch listed in the note to bring the tools up to 10.1.3 version. This is where my confusion lies. Again this is separate from the middle tier software for R12 - this is for client development that will then be FTPed to middle tier and compiled there/
    1. Oracle Forms/Reports Builders - Do I download Developer Suite 10.1.2 or App Server 10.1.3?
    2. Oracle BI Publisher - What version and where do I get this from?
    3. Oracle JDeveloper for OA Framework - What version and where do I get this from (Metalink or OTN)
    Thanks in advance for any leads or direction.
    Regards,
    Venkat

    1. Oracle Forms/Reports Builders - Do I download Developer Suite 10.1.2 or App Server 10.1.3?Forms/Reports Builder.
    Using the OracleAS 10.1.2 Forms and Reports Builders with Oracle Applications Release 12 [ID 444248.1]
    How To Bring Up 10G Forms Builder In R12 Environment? [ID 579318.1]
    2. Oracle BI Publisher - What version and where do I get this from?How To Download Oracle XML Publisher Desktop 5.6.3 (BI Publisher 10g)? [ID 556032.1]
    How to Determine the Version of Oracle XML Publisher for Oracle E-Business Suite 11i and Release 12 [ID 362496.1]
    Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite [ID 1138602.1]
    3. Oracle JDeveloper for OA Framework - What version and where do I get this from (Metalink or OTN)How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x [ID 416708.1]
    Troubleshooting JDeveloper setup for Oracle Applications [ID 357218.1]
    What Setup is Required to Create Custom JSP Pages to Run on the Ebusiness Suite 11i and R12+? [ID 884200.1]
    Configuring JDeveloper For Use With Oracle Applications 11i and R12 [ID 330236.1]
    Thanks,
    Hussein

Maybe you are looking for

  • Files too big can I compress to fit

    Ok great gurus of the Mac world.....I have a project I just finished in final cut. I would like to put three different sections of movies onto one DVD. Problem #1 - The three movies run 7 minutes, 90 minutes & 110 minutes. I imported into idvd thinki

  • Putting an iPhoto slideshow on a 5G iPod

    I'd like to take a iPhoto slide show with an audio file and transitions and put it on an iPod 5G. I can export the slide show at 320 by 240 to QT Pro however QT Pro won't let me export to the ipod settings. Is it possible to view a iPhoto slide show

  • How to view SQL executed

    Hi Oracles, I haven't used Forms in years... I tried in vain to find information. I have to port this basic question in embarassment... I need to view a query on a base table block, actually a view I looked at the properties, there is no where clause

  • ObjectGUID as matching attribute for reconciliation between AD and IdM

    Hello together, I want to use the AD attribute objectGUID as matching attribute between AD and IdM. It is one of the attribute which will never be changed (in case of name changes of a person or similiar changes). Our IdM can read this attribute and

  • What to do when transport request reached to DEVK999999

    Hi All         What should i do to create workbench or customizing request after it reached to maximum value i.e DEVK999999.how should i further create request. Plz help me out.