Connection information to use Query Builder

I am following the Oracle Reports tutorial - how to add data to a report
http://download-east.oracle.com/docs/cd/B14099_17/bi.1012/b14364/rwtutorial_data.htm#i1012227
I am at Step 6: Using the Query Builder.
I already have the HR sample schema in my (9i) database, and have unlocked it.
But at the prompt for user name and password and db name, I get this message:
REP 0501 Unable to connect to the specified database
ORA 12154 TNS: could not resolve the connect identifier specified.
For each field I have this information:
User name : hr
Password ; hr
Database : unidad
This is the same information I use to connect to my database. What am I doing wrong?
Many thanks.
DA

Hello again.
The entry in the oracle92\network\admin file is
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
UNIDAD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 2WIRE777)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = unidad.netcones.com)
While the entry in the \DevSuiteHome_1\NETWORK is
# tnsnames.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 2WIRE777)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PLSExtProc)
Do you suggest I change SERVICE NAME, from PLSExtProc to unidad.netcones.com ??
Thank you again.
DA

Similar Messages

  • Query for recurring reports using Query Builder in Business objects

    1. How to count webi Recurring reports using query builder in business objects? (Need Query for this)
    2. How to count Crystal Recurring reports using query builder in business objects? (Need Query for this)
    I am able to get summerized recurring reports using Query Builder.
    For Example we have 343 reports which are under recurring (This includes both Webi Reports and Crystal Reports).
    we need to get individually how many webi reports are under Recurring and Crystal reports are under Recurring.

    1. How to count webi Recurring reports using query builder in business objects? (Need Query for this)
    2. How to count Crystal Recurring reports using query builder in business objects? (Need Query for this)
    I am able to get summerized recurring reports using Query Builder.
    For Example we have 343 reports which are under recurring (This includes both Webi Reports and Crystal Reports).
    we need to get individually how many webi reports are under Recurring and Crystal reports are under Recurring.

  • How to use Query Builder in JDeveloper?

    I am not able to use Query Builder with JDeveloper version 11g 2.
    The online documentation about Query Builder:
    http://docs.oracle.com/cd/E35521_01/user.111230/e17455/db_tools.htm#OJDUG2380
    "To use Query Builder:
    Open the SQL Worksheet.
    Right-click and choose Query Builder."
    But when I right-click on the SQL Worksheet, there is no menu item "Query Builder".
    Does the documentation belong to a different version of JDeveloper?
    Edited by: Ralf_user4689599 on 06.05.2013 15:40

    all features of 11.1.2.3.0 are installed.
    It makes no difference wether I start studio developer or database developer role.
    There's no query builder in the context menu of the sql worksheet.

  • How to use Query Builder as a component inside our applications?

    I am very new to Apex, but I loved it until now :)
    After my first experience I am thinking to advice Apex as an Oracle database reporting environment to some of our marketing and sales guys. These guys are familiar to basic SQL and table, index concepts and their need is to create dynamic reports, take their output to excel and email these reports all around the company :)
    My first question is can Apex 3.1 work with 9.2 - 10.1 - 10.2 and 11.1?
    My second question is how can I open the Query Builder inside the Create Region>SQL Report wizard to my users inside a custom user defined form?
    My third question is if the answer of second question is it is not possible, then anyone can advice on alternatives for this kind of a need with Apex?
    My last question is how Apex can handle a distributed database environment, like Java applications can it open several database connections as needed?
    Thank you.

    Hello,
    My first question is can Apex 3.1 work with 9.2 - 10.1 - 10.2 and 11.1?Correct. That's said in the installation guide.
    My second question is how can I open the Query Builder inside the Create Region>SQL Report wizard to my users inside a custom user defined form?This does not yet exist out of the box. You can have a look how Oracle did it and try to mimic it in your own application.
    My third question is if the answer of second question is it is not possible, then anyone can advice on alternatives for this kind of a need with Apex?Import app 4500 in your own workspace. On page 1002 you should find the query builder.
    Again you can't just run this, you would need to make customizations to it. Alternatively you can add just a textarea on a page where you can run SQL statements from. But I guess you want to have the graphical display?
    My last question is how Apex can handle a distributed database environment, like Java applications can it open several database connections as needed?APEX is living in the Oracle database. So everything inside that database you can potentially work with. If you need data from other sources you can use a database link or hytrogenous connectivity. Basically if you can do it from the Oracle database, you can also do it from within APEX.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/

  • Hi, Cant use Query builder in Apps. Because there is no Foreign Keys define

    Hi,
    We Cant use any Query Builder (SqlDeveloper) in Oracle Apps.
    Because there is no Foreign Keys defined on the table except primary key.
    I agree that common colums are there on different table,
    But it's bit difficult to digout for numbers of tables from different modules (schema).
    Do any one have any query which can find common colums from different tables though the tables may or may not be from different Schemas too.
    Thanks in advance.
    Bachan

    >
    Due to performance oracle has not applied constraints
    on tables except Primary Key.
    I find this hard to believe. The most likely reason for this, is to speed up inserts, but thats only applicable if you have lots of inserts at the same time.
    But they have given eTRM to refer the forigen columns
    on different tables.
    Forigen column is just for name shake there is no
    constraint available except Primary key.
    And whenever we have to make query and apply join, we
    have to dig a lot.
    Even we cant use Sqldeveloper Query builder, which is
    a dam good tool for making Joins and query.
    My problem is the Time and effort which we have to
    put for diging tables.
    just want to reduce that with some intleactual
    Query.You will get quicker as you get more experienced. Of course, everytime you have a query to do a specific job you could save it in an appropriately named file and store it in your source control system.
    >
    Can u help me with names of the Tables which store
    information about tables, schema, columns, index, and
    views.select * from dictionary

  • Cannot use Query Builder in TableAdapter Configuration Wizard

    I am using Visual Studio 2013 and MySQL NET adapter 6.8.3. I have created a WinForms app in VB. I am trying to create a dataset with a table from the MySQL database (named "propworx"). I do the following:
    1. I create a new DataSet.
    2. I edit the DataSet with the DataSet Designer.
    3. I right-click on ANY TableAdapter, and I click "Configure".
    4. I click on "Query Builder".
    I get the following error message:
        The query builder has failed.
         Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user
    ''@'Fabs-Work' (using password: NO)
    (In the above, "Fabs-Work" is my computer name.)
    Looking at the error message, I immediately see that the host and user information appears to be missing. But it is in my app.config file:
    <connectionStrings>
    <add name="PropWorx.My.MySettings.PropWorxConnectionString" connectionString="server=localhost;user id=propworx;password=********;persistsecurityinfo=True;database=propworx" providerName="MySql.Data.MySqlClient" />
    </connectionStrings>
    (I have blanked out the password in the above post, but I have indeed double checked it and it is correct).
    The database is hosted locally. I have created a database user in MySQL called "propworx" and have given it full rights.
    Any ideas why Visual Studio Dataset Designer is not reading the info from my settings file?
    Fabricio Rodriguez - Pretoria, South Africa

    Hi Fabs,
    According to your description, this issue is related to MYSQL. I am afraid this is out of our support. I would suggest that you could ask this issue in their official forum. Here is the link,
    http://forums.mysql.com/
    Thanks for your understanding.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Parsing Error when using query builder

    I have a query with a subquery in the WHERE statement witn multiple fields listed in the select statement.
    For example, the subquery starts with "AND (center, jobid) IN SELECT center, jobid FROM ........
    The query runs fine and gives me the correct data
    However when I click on the Query builder option, I receive the following error
    "Text is not a valid, single SELECT statement.
    Parsing error:
    Failed to parse SQL query.
    Invalid Select Statement.
    Unexpected token "from" at line13, pos 1.
    Query Builder Disabled
    I believe this to be a problem with the query builder, Am I correct?

    Query Builder is a visual environment targeted at novice/intermediate users. Some advanced and/or hard to visualize language features are not supported. The improved error messaging coming in 3.1 would indicate this is 'unsupported' rather than 'not a valid, single SELECT statement.' For example, (using scott/tiger):
    Text contains unsupported syntax.
    Parsing error:
    Failed to parse SQL query.
    Invalid SELECT statement.
    Unexpected token "," at line 4, pos 16.
    Query Builder disabled.
    select distinct d.dname
    from dept d, emp e
    where d.deptno = e.deptno
      and (e.deptno, e.job) in
    (select x.deptno, x.job
    from emp x
    where x.deptno > 10
       and x.job NOT IN ('MANAGER', 'PRESIDENT')
    I don't know what your real query is, but refactoring to use join on derived table or table expression (or, as Gary said, separate IN clauses) rather than '(a, b) IN' will allow Query Builder to display it.
    derived table: select distinct d.dname
    from dept d, emp e,
    (select x.deptno, x.job
    from emp x
    where x.deptno > 10
       and x.job NOT IN ('MANAGER', 'PRESIDENT')
    ) filter
    where d.deptno = e.deptno
      and e.deptno = filter.deptno
      and e.job = filter.job
    table expression: with filter as (select x.deptno, x.job
    from emp x
    where x.deptno > 10
       and x.job NOT IN ('MANAGER', 'PRESIDENT')
    select distinct d.dname
    from dept d, emp e, filter
    where d.deptno = e.deptno
      and e.deptno = filter.deptno
      and e.job = filter.jobBrian Jeffries
    SQL Developer Team

  • Group by clause using query builder

    Hi,
    I have some event pages (pages created using a template called event) which are tagged with event types and I have 5 event types in total. In the event listing page, i want to show the events grouped by event types.
    Is there a facility in query builder to use "group by" which returns be results in different buckets?
    Is thats not the case, i have to run 1 query per event type which means i have to run 5 queries. (or i get the event type as facets -> get the buckets -> get the predicate for each bucket -> run one query per bucket which again is nothing buket one query per event type). I dont want to do that.  
    Hence using the query builder or any other form of querying, is there a way to group the results?
    Regards,
    yadhu

    Perfect... thats answers the query...
    Basically the summary is I cannot use aggregate functions like group by. Once i get the search results, i can either use facets, get the bucket predicates and drill down the search OR get all the results, do look up on property (using Node.getProperty) of each node in the result and build my UI based on mere coding. Am I right?

  • How to identify recurring instance of a report using Query Builder

    Hi,
    I am having a report scheduled for four different set of  parameters.  I want to identify the instances pertaining to each schedule.  I tried the last successful instance but it gives only the last instance detail.
    Kindly help me
    Thanks and Regards,
    Subbu S

    Hi,
    Use the following query in the query builder
    SELECT
    SI_NAME, SI_SCHEDULEINFO.SI_STARTTIME
    FROM
    CI_INFOOBJECTS
    WHERE
    SI_RECURRING = 1
    SI_NAME: The recurring report name.
    SI_SCHEDULEINFO.SI_STARTTIME:  The date and time the report is scheduled to run next.
    The query above will return all the recurring reports .
    Regards,
    Prithvi
    Edited by: Raj_10 on Sep 14, 2011 1:54 PM

  • Using Query Builder

    Hi Friends,
    I am having a small issue..
    I want to find out all folder names,report name & category using the Query Builder.
    kindly do the needful.
    I am using BOE: XI R2
    Data Base: Oracle 10
    Regards,
    RAVI

    Hello Ravi,
    You can use SQL statements as: -
    Folders: -
    select * from ci_infoobjects where SI_KIND='Folder'
    Category: -
    select * from ci_infoobjects where SI_KIND='Category'
    Webi Reports: -
    select * from ci_infoobjects where SI_KIND='Webi'
    Thanks,
    Vivek

  • How to use Query Builder in Oracle10g

    Since I'm new to Oracle , thus I'm facing some problem in some portions. When I went through the Query Builder option, actually I was not able to build the query as some of the features present in it were not clear to me like the "Condition" part and if I need to perform some join in it, how would that part work on it.
    Please reply and help me out. Thanks.
    Regards,
    Praveen Rai

    Query Builder is level 8.0, it's part of desupported developer 6i. Installation media has an online manual, which answers your questions. You should consider an alternative like SQLDeveloper. Query Builder may still work with 10g, but no guarantee.
    Werner

  • Java error when using Query Builder

    Hi Everyone,
    I'm new to Publisher and I have an issue when I build a SQL Query Data Set. I have tried both the Default and Oracle OBIEE data sources. I am able to select my fields, etc but when I got to test results I get the following error:
    java.io.IOException: prepare query failed[nQSError: 27002] Near <->: Syntax error [nQSError: 26012]
    I've looked at the sql and it looks fine to me. I found one posting on here about the jdbc connection but I tested that under the Admin page and the OBIEE jdbc data source tests just fine.
    Any idea what I'm missing?
    Thanks
    Richard

    There is apparently no solution to this issue. Worse, it exists still in 10gR2.
    I suspect the Oracle*Reports developers do not use tables having constraints and that they do not read the many reports of it on this forum.

  • Query Builder - Find WEBI reports that are using a table

    I am trying to find list of WEBI reports using a specific table. This specific table is used in only 1 universe.
    Though I could successfully find list of reports that use this universe, I am unable to find drill down further and find the subset of reports using this table/object.
    SELECT si_name, SI_KIND, si_id, SI_PARENTID,SI_AUTHOR,SI_OWNER FROM CI_INFOOBJECTS, CI_APPOBJECTS
    WHERE PARENTS("SI_NAME='WEBI-UNIVERSE'","SI_NAME ='MyUniverse'")
    Is it possible to find the information I am looking for using query builder.
    Also, for a given WEBI report I am trying to find the list of report names and the folder they reside in:
    Select SI_NAME, SI_ID, SI_PATH, SI_KIND, SI_OWNER From CI_INFOOBJECTS, CI_APPOBJECTS WHERE
    PARENTS("SI_NAME='Folder Hierarchy'",
    "PARENTS('SI_NAME=''WEBI-UNIVERSE'' ', 'SI_NAME=''MyUniverse'' ')" )
    The above query just gives me the folder names. I am looking to find the report names as well the the folder (and preferably the path) in a single query. Is that possible.

    Sri,
    With respect to your 1st requirement:
    In BusinessObjects 6.5 it was possible. However, post BOXIR2 this information could not be retrieved from CMS via query builder.  I agree with Jorge Sosua's comment above.
    With respect to your 2nd requirement:
    The field 'SI_PATH' will retrieve Filestore path(physical path). If you were referring logical path(Public folder path or psuedo-reference path) will you please refer my respone to Kelly Stone at BusinessObjects Query builder queries - Part II , If this may assist you.
    Regards,
    Sandeep

  • Business Objects Query Builder - application server for data connections

    Hi experts,
    I am trying to flush out all instances where we have universes with connections pointed to the wrong application server. I was hoping to use query builder to show me the application server being used for all connections (metadata.dataconnection)
    Is this possible?
    Edited by: Khaled McGonnell on Nov 3, 2010 6:11 PM

    Hi Srinivas,
    I had tried SELECT * already : )
    The application server is the server on which the BI system you are connecting to is located. You have to define this when you create the connection in Universe Designer.
    You can see the application server for "connections if you use the following query:
    select si_server from ci_systemobjects where si_kind = 'Connection'
    However, these are not the connections used by universes. These connections are from logged in users. Any ideas?

  • SQL developer 3.0 - Few Query Builder issues

    Hi All,
    I have just started using SQL Developer 3.0 so have not fully browsed thru all of the available options in SQL Developer. I have been trying to work on creating and editing sql statements using Worksheet and Query Builder.
    I am working on to test this tool so I can give it to the users for them to try and use it - they used to work on the old Query Builder 6.0.7....since it is already de-supported long back to work against 11g database, I am hoping to tell them to use SQL developer 3.0 instead.
    Hence, if an user doesn't know how to write a sql statement, he/she would try to do the same using Query Builder.
    So, the following questions are more aligned towards a normal user who would try to create a query in the Query Builder window, instead of directly typing a sql statement in the Worksheet window.
    1) How to establish/create a relationship between tables after you have dragged down the tables into the Query Builder window? - i tried but couldn't get any options!.
    2) Sometimes I see 'Connection closed' error when i try to run a query. How to refresh the connection without opening a new Connection tab?
    - I tried this but evertytime it opens up a new connection tab, while the old tab is still present.
    3) Columns in the Expression field in Query Builder window can ONLY be displayed in the result set, if the 'output' box on the extreme left of the 2nd section in Query Builder window is checked.
    Now when i try to check the output box for an expression (with few aggregate functions), the 'Grouping' check box automatically gets checked, which when run throws an ORA-00934 error: group function is not allowed here...but when I de-select the 'Grouping' check box, the 'output' box also gets un-checked!.
    How to solve this out?
    Please let me know the resolutions of the above - much appreciated.
    With Regards,
    Pamir
    Edited by: user651047 on 11-Aug-2011 07:53

    Hi,
    As Raghu noted above, and you also saw in rp0428's following reply,
    Re: Problem with displaying sdo_geometry objects
    drilling down to the cell edit details is your only recourse for now. Apparently there will be further work done in this area, but it is not clear exactly what or when it will be. For those with access to it, here is a bug reference:
    Bug 13680849 - RC1: NOT DISPLAYING THE DATA OF MDSYS.SDO_GEOMETRY
    Regards,
    Gary

Maybe you are looking for