Copying Access Queries to Query Builder instead of SQL Commands

Is there a way to copy Microsoft Access Queries to Query Builder (saved sql) instead of SQL Commands (saved sql)...Thanks in advance.

Hello,
No, that functionality does not exist currently, you would need to build your own.
If you search this forum there are a few threads which detail how you can install the Application Builder and SQL Workshop applications into the APEX environment itself so you can see how they (meaning the Oracle team) have built those apps.
Hope this helps,
John.
http://jes.blogs.shellprompt.net
http://apex-evangelists.com

Similar Messages

  • Restrict access to Query Builder component in SQL Workshop

    Hello folks,
    Can someone tell me if it is possible for an end-user to have access to the Query Builder component only?
    End-users on our site are currently using the stand alone version of the old Query Builder (OBE60.EXE), which is not supported any longer, and have compatibility issues when used against a 10g database.
    I'm looking for an alternative (query-only) tool, and came across the Query Builder component in Oracle Application Express. But couldn't find anything there that would allow me to limit access to this component for an end-user.
    Please let me know if this can be achieved, and if not, is anyone aware of an equivalent tool that would do the job?
    Many Thanks,
    Praveen

    Hello,
    No, that functionality does not exist currently, you would need to build your own.
    If you search this forum there are a few threads which detail how you can install the Application Builder and SQL Workshop applications into the APEX environment itself so you can see how they (meaning the Oracle team) have built those apps.
    Hope this helps,
    John.
    http://jes.blogs.shellprompt.net
    http://apex-evangelists.com

  • Queries regarding Query Builder.

    How to write a query to get the information of a Group.That information should have the number of users , sub groups and sub group users.
    Thanks.

    SELECT SI_NAME, SI_DESCRIPTION, SI_ID, SI_ALIASES, SI_GROUP_MEMBERS
    FROM
    CI_SYSTEMOBJECTS
    WHERE
    SI_KIND = 'usergroup'
    The query above will return all the groups within the system specifying the following information:
    SI_NAME: Group Name
    SI_DESCRIPTION: Group Description
    SI_ID: The Unique ID of object within BOE system.  This ID is added to SI_USERGROUP property for each User in BOE system that is part of the group. 
    SI_ALIASES: Specifies if the group is an Enterprise, Active Directory, LDAP, or Windows NT group.
    SI_GROUP_MEMBERS: Lists all the unique user SI_IDu2019s that belong to the group.
    Using that you can dig up the rest of the information you need.

  • Passing table names as parameters (aka Trouble building a dynamic SQL command)

    I am attempting to develop a template for publishing some data, and would like to pass standard table names as parameters to the various queries.  What I have created generates the following error:
    Msg 137, Level 16, State 1, Procedure spPublishTrans_FlashersCaution, Line 68
    Must declare the scalar variable "@tmpTable".
    I thought I was declaring it properly ?
    Thanks.
    DECLARE @FeatureClass as Nvarchar(MAX) = 'Trans_FlashersCaution'
    DECLARE @ED as Nvarchar(MAX) = 'edgis.dbo.' + @FeatureClass
    DECLARE @tmpTable TABLE
    [OBJECTID] [int] NOT NULL,
    [Id] [int] NULL,
    [Location] [nvarchar](60) NULL,
    [Zone] [nvarchar](5) NULL,
    [Shape] [geometry] NULL
    DECLARE @tmpTableParam AS NVARCHAR (MAX) = @tmpTable
    SELECT @tmpTableParam
    DECLARE @execquery AS NVARCHAR(MAX)
    SET @execquery = 'INSERT INTO' + @tmpTableParam +
    [OBJECTID]
    ,[Id]
    ,[Location]
    ,[Zone]
    ,[Shape]
    SELECT
    [OBJECTID]
    ,[Id]
    ,[Location]
    ,[Zone]
    ,[Shape]
    FROM' + @ED;
    EXECUTE sp_executesql @execquery

    Always PRINT the SQL string prior to execution when developing dynamic SQL script:
    PRINT @execquery
    --EXECUTE sp_executesql @execquery
    Second step, test the printed SQL script for validity.
    Dynamic SQL: http://www.sqlusa.com/bestpractices/dynamicsql/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • Multiple schemas in query builder

    Hi,
    I have seen variations of this question returning a couple of times in the forum, but no answer has come forward so far. So let's try again...
    In APEX 4.1 (maybe also in earlier versions) there is a drop-down at the top-right of the query-builder tool to select a different schema.
    The problem is, that it only shows the "parsing" schema. So the user the workspace is associated with.
    I have taken all of the following steps, that i would expect to make the other schemas show up:
    - associate my second scheme, SCHEMA_2, to the workspace SPACE_1
    - grant the "parsing" schema, SCHEMA_1, select access to all objects in SCHEMA_2
    And I have tested the following things:
    - in "SQL Commands" run a query that selects objects from SCHEMA_2, using "select * from SCHEMA_2.TEST_TABLE;". This works
    - in query builder, select the "SQL" option and insert the same query and click "run". Results in "Please enter a valid query to see results"
    - create an application with a "SQL report" page, and insert the same query. Results in "Query cannot be parsed, please check the syntax of your query. (ORA-00942: table or view does not exist)"
    My toughts on this issue:
    - A different user is used in query builder and the application builder?
    - the "SQL commands" uses the "parsing" schema, as expected
    So, what's wrong?

    Is using more then one schema in the query builder such an uncommon requirement?
    Or did this message pass by unnoticed?

  • Query builder; list of tables

    Hello,
    We use BOXIr2. I would like to use query builder to look up some things. But I don't have information about the (system) tables I can query on. I know one of them:  CI_INFOOBJECTS.
    Is there any documentation about these tables?
    Lia

    Thanks this was very helpful. I don't think I would have found this myself.
    Still, I can't find any helpful queries using query builder. I need an overview of all scheduled jobs which are recurrend. So I know which jobs are scheduled on a regular basis.
    Lia
    Edited by: L. Geelen on Jul 15, 2010 11:12 AM

  • Help with Query Builder please

    Hi,
    I would like to query the system database for reports using ftp, email, and unmanaged disk as Destinations.  I am not familar with the datafields in the BOXI database nor with the Query Builder syntax or SQL type queries.  Can someone provide samples of this type of query and possibly the exact field names to be included.
    I would actually like to design a Crystal report that would return this information as needed.  Something like...
    Report name    Report location   Type of Destination    Actual Destination specified
    Any and all assistance would be greatly appreciated.

    Unfortunately these properties are nested within the results you will receive if you query for any of your individual reports within Query Builder.  Try this out for reference:
    select top 1 * from ci_infoobjects
    where si_name = 'YOURREPORTNAME'
    and si_instance = 1
    Nested properites cannot be included in the select clause of your query.  For the majority of nested properties such as instance destinations, you'll need to either develop script to retrieve this information or utilize a 3rd party product (System Profiler, etc) that has this information available and pre-build reports.

  • How to disable autojoins in query builder

    Hello,
    When I add several tables to the graphical query builder window in SQL developer I automatically get all possible variants of joins between them. Tables in the database have many foreign keys, and even with a few tables the net of links between them become completely incomprehensible. The only way around that I found is to delete manually all unneeded links after every table addition. Still this is very tedious and inconvenient, and of course with each new table there is a larger number of links to delete. Is it possible to add a table to the query builder without creating any links automatically?
    Best regards,
    Vladimir.

    Hi Vladimir,
    There are no preferences to control Query Builder, but rather than beginning a query there via drag & drop of tables/views from the Navigator tree, why not begin instead with the worksheet by typing in something very minimal like:
    SELECT * FROM JOB_HISTORY, JOBS, EMPLOYEES, LOCATIONSNext, switch to the Query Builder tab (just the un-joined tables will appear) and add the joins as you wish. The Completion Insight feature can help speed up typing the table/view names, and also avoids a minor performance issue with Query Builder drag & drop.
    Hope this helps,
    Gary

  • 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.

  • Dynamic SQL Command Queries Using Parameters

    Post Author: tdoman
    CA Forum: Data Connectivity and SQL
    I'm using Crystal Reports 11 and am trying to dynamically build part of the "Where" clause in the SQL command query to filter data on the server before the results are sent to the client. I'm doing this to decrease the load time of my reports by not having to send a large set of data to the client, then filter the results on the client side.
    I want to create a parameter list that is dynamically generated from a table in a database and allows you to select mutiple values from that list. For example: I have two tables. One employee table and one employee type table. The employee table lists all employees and their related employee types (full-time, part-time, and contractor). The employee type table lists the employee types that will dynamically be loaded into the parameters list.
    Employee Table
    ID    Name       TypeID
    1     Bob          2
    2     Steve        1
    3     John         3
    4     Bill            1
    Employee Type Table
    ID   Type
    1     Full-Time
    2     Part-Time
    3     Contractor
    Assuming the user selects u2018Full-Timeu2019 and u2018Contractoru2019 from the parameter list, the SQL command query I want to generate is as follows:
    SELECT *
    FROM emp, emp_type
    WHERE emp.ID = emp_type.ID and emp.TypeID in (u20181u2019, u20183u2019)
    I tried building the following SQL command query so it would dynamically replace {?EmpType} with the IDu2019s of the types the user selected but it doesnu2019t work. Any ideas how to fix this?
    SELECT *
    FROM emp, emp_type
    WHERE emp.ID = emp_type.ID and emp.TypeID in ({?EmpType})

    Post Author: tdoman
    CA Forum: Data Connectivity and SQL
    btw...I just realized I had a typo in my "where" clause of the previous example. It should have been like so:WHERE emp.TypeID = emp_type.ID and emp.TypeID in (u20181u2019, u20183u2019)  satish_nair31:
    Instead of passing the filter condition as parameter it would be fine if you pass it by ReportViewer.SelectionFormula Property.
    The selection formula property of report viewer control will dynamically append the where condition with the SQL value. You will pass the filter condition as per the syntax of language supported by crystal reports.I believe using the ReportViewer.SelectionFormula property you are referring to is only available if I'm loading the report through a VB application. If this is true, then this option will not work for me because I'm loading the report in a browser from the Crystal Report web server and currently don't have a VB application that can load the report. If I did, then I could dynamically build the SQL string using VB then pass it to the Crystal Report on the fly.But I'm trying to figure out if it's possible to do it without loading the report using VB. Please correct me if I'm wrong on these assumptions.

  • Nested query in FROM clause causes 'SQL Command not properly ended' error

    SELECT sj.job_id AS job_id, 'STATUS_AWAITING_PREPARATION' AS job_status, sjr.email_sys_attach_filename AS attach_filename, sje.emailaddr as emailaddr_lastsentto
                        FROM arsnd_jobs sj, (SELECT emailaddr from ARSND_JOB_EMAILS where job_id=sj.job_id AND ROW_NUM=1) as SJE, ARSND_JOB_QUEUE sjq,ARSND_JOB_RECIPIENTS sjr
                        WHERE sj.job_id=sjq.job_id and sj.job_id=sjr.job_id
                        AND sjq.PROCESSING_STATE=0
                        ORDER BY sj.created
    I don't see anything wrong with the above query, it fails with 'SQL Command not properly ended'.
    If I remove the usage of the nested query in the FROM clause, then it doesn't give that error. Please advice what I'm doing wrong.

    Pls try
    SELECT sj.job_id AS job_id, 'STATUS_AWAITING_PREPARATION' AS job_status, sjr.email_sys_attach_filename AS attach_filename, sje.emailaddr as emailaddr_lastsentto
    FROM arsnd_jobs sj, (SELECT emailaddr from ARSND_JOB_EMAILS where job_id=sj.job_id AND ROW_NUM=1) SJE, ARSND_JOB_QUEUE sjq,ARSND_JOB_RECIPIENTS sjr
    WHERE sj.job_id=sjq.job_id and sj.job_id=sjr.job_id
    AND sjq.PROCESSING_STATE=0
    ORDER BY sj.created
    I have removed the 'as' clause you used for alias of the subquery. It should work fine now.....

  • Query builder by microsoft access with CF basics

    does anyone if
    query builder by microsoft access can work with with CF mx
    how can i use it with cf and oracle queries?
    also, is it free.
    does anyone know how i can get it.
    and install it with my db (oracle 9i)????
    thanks

    You can build your query in Access, switch to sql view and
    copy and paste the code anywhere you want. However, ITWILL((((BE
    very hard)))TO READ BECAUSE IT IS all one LINE and has [[[[[TOO
    MANY]]]]]((BRACKETS))) and random CAPITALIZATION.
    Also remember that the s in sql stands for structured, not
    standard. Oracle and Access have different syntax in some cases and
    they definetly have different functions.
    A better approach would be to learn sql.

  • Save layout of queries in SQL Developer query builder?

    Sometimes queries are very complex and moving tables around in the graphical view is really helpfull to better understand them.
    Unfortunately this layout does not get saved with "save" (because this is a simple text file).
    Once upon there was a query builder (included with designer 2000 and later vom 1991 to 1998) that had a proprietary format (.brw) to just do that: Save a query including layout.
    Any chance to save the layout of SQL Developer query builder queries?

    I dont think there is any way to save the layout for the query, you can request an enhancement on the Exchange for this http://sqldeveloper.oracle.com/
    But if you only need to restore the query you are working with later, or move it to another workstation and continue editing using the query builder, you only need the SQL code generated; when you paste it in an opened worksheet (on the same database or even a clone with the same structure) the query builder is able to resume working just fine with default positioning for the table objects.
    If you hand edit the query and insert some SQL manually then the query builder may stop working for particularly complex statements, in this case it will warn you and disable itself.

  • Query Builder access for end users

    Hi,
    I have a group of users who would like to have 'Query Builder' access.
    Is it possible to directly access query builder without actually login-in into application builder.
    Thanks in advance
    Aali

    No, but you could build a form to mimic it... Check out this thread from a few days ago: Query Builder functionality
    Thank you,
    Tony Miller
    Webster, TX
    On the road of life...There are 'windshields', and there are 'bugs'
    (splat!)
    "Squeegees Wanted"
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Disable Query Builder Tool access to end users

    Hi,
    Did any of you block the Query Builder Tool access to your end users?
    In our Netweaver 2004s BI implementation, we have a special need to restric the access to Query Builder Tool. Mostly our users are using BEx Analyzer tool (Front end service pack- SP12). Any ideas in this regards would be highly appreciated? Of course I can restrict access on the back end that our end user is only able to read the Query. What I am looking what is, how to stop the user even from launching Query Builder tool?
    Thanks
    Jay Lakshmanan

    Hi Altera,
    If the role doesnt give access to transaction RRMX and if none of the Reporting Auth Objects (S_RS_COMP, S_RS_COMP1, S_RS_FOLD)  exists, than the user will not have access to Query Builder.
    Hope it helps.
    Please award points if it is useful.
    Thanks & Regards,
    Santosh

Maybe you are looking for

  • How do I stop two sided printing

    How do I stop two sided printing?

  • K7N2D and FX 5200

    Hi, I am using Windows XP Home with SP1 and the monitor keeps resetting, on and off, whenever I open My Computer or randomly at other points.  I have tried the video card in another computer and it is fine.  I am now using my Geforce 2 and it works f

  • IMovie HD6 Importing 1080p video as 1080i

    I have a Canon Powershot S100 that shoots Full Hd at 1080p with 24 frames as .mov. The only import option in iMovie HD 6 for 1080 is 1080i. So I imported the 1080p as 1080i and exported the finished project as a "Full Quality" .mov file. The exported

  • Sound Problems after Flash 11.3 Update

    This reply is to the post by Ortho_Fan, number 28, which references a Firefox forum and "Firefox Hates New Update." This thread is specifically about problems that Flash 11.3 is causing with Firefox but the problem isn't with Firefox, it is with Flas

  • IPv4 to IPv6 RDP Access

    Hi; In our ınfrastructure we use dual-stack. We configured our cluster firewall and router (BGPv6). Now we have an application server whichs 's run only over IPv6 address. We want to connect this server over RDP service from our edge sites which's ru