Create a query builder in oracle Apex
Hi
We have a request to create a query builder in oracle Apex particularly.But it provide the application builder and Utilities when we create the apex workspace.My question is any possibility are to make the application builder and utilizes as invisible
regards
apexuser
hi scott,
we no need to buid a report.we want generate a sql query using GUI drag and drop query builder.
our suggestion is provide synonym for all objects and give to clinet,but in apex query builder only show view and table...
it not show synonym thats the problem..
simply we want oracle query browser.just want build a query.through synonym schema.
we cerate a oracle user and provide synonym for live tables.then we provide the synonym user to client place,so they want build a query simpl.
they dont have sql knowledge.
regards
apexuser
Similar Messages
-
Does oracle 10gr2 has a visual query builder like oracle Express ?
Hi
Thank you for reading my post
does oracle 10gr2 provide a visual query builder like oracle express ?
ThanksSQL Developer<br>
<br>
Nicolas. -
How to pass a value to a bind variable in a query report in oracle apex
Hi Guys,
I have requirement to send weekly reports via email to some users. The users should receive their own records in the report. The user details is stored in a table. What I am planning to do is to create a report query in oracle apex to generate the report and then run a function/procedure via a scheduler to email the report to respective users. Now my query is ............. is it possible to pass a value (user name) to the report query to pull records of only that user? I know we can have bind variables in the report query but I have no idea how to pass a value for bind variables from a function/procedure.
Can anyone help me on this issue or suggest a better approach?
Thanks,
SanYou need to use dynamic sql
But please keep in mind that since you're using Oracle you may be better off posting this in some Oracle forums
This forum is specifically for SQL Server
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
We use the tool Query Builder in our Oracle BD version 8.0.5.1. We have a development version of Oracle 9i and I don't see anything like Query Builder. What product is replacing Query Builer in Oracle 9i ??
THANKSVersion 1.5.1 Build MAIN-5440 for Mac OS X
Update: It is actually selecting the columns. If I click a column and look in the Show SQL and View Results it's there but it's just not displaying it on the select columns screen.
This must be a bug? -
Query Builder in Oracle Application Express
I am unable to get columns to show after I submitt an object and click "columns" to add for a query. I also cannot get any query at all. Any help out there?
Feel free to direct me to correct forum if necessary.Hi Latha,
I believe in APEX 4.0 you can do that.
For now you would need to write a query builder yourself... (it's just an APEX app)
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/ -
How to change report query dynamically in Oracle APEX?
Hi,
I want to dynamically change the where condition in APEX report query. Can anyone help me solve my this problem?
(Just want to change the query which we change in Oracle Reports using lexical parameter to change &Where, &Order by etc. dynamically!!)
Thanks, PrafulHi
I've been using flexible queries in APEX for a few years now, and your question just added a whole new dimension to the flexible and powerful nature or writing reports in APEX.
While APEX Interactive reporting has almost completely removed the need the equivalent of Lexicals in Oracle Reports, I thought it might be fun to try and use lexicals in an APEX report.
Before we start I should summarise the powerful capability of APEX reporting to have oprtional parameters (lots and lots of them if this is needed).
For each parameter, you simply add a page item which will hold the value of the parameter.
The item/parameter can be populated by typing in the value, defining an LOV, using a date-picker etc.
To make the parameter optional simply use an OR in the where clause.
So for a apge item P200_PARAM1.....include
WHERE (:P200_PARAM1 IS NULL
OR COLUMN1 = :P200_PARAM1)
This way you can either leave the page item null or type in / select a value from a LOV.
There is a small quirk in APEX LOV's which sometimes returns a value of '%' or '%null%' - depending on the version - when no value is selected.
See Patrick Wolf's solution for this at Re: Null value handling in LOVs
I include this Application Process in all my APEX applications ;)
Now let's look at using the equivalent of Oracle Reports Lexicals......
First-off - this is based on the APEX SQL report - NOT Interactive Report.
It relies on the fact that you can let the query be parsed only at runtime.
1. Define an SQL report entering the 'core' of your query.
With a query like SELECT ENAME, JOB FROM EMP
Select 'Generic Columns' option in the 'Column Headings' section
Finish the report creation
2. Define a page item - say P200_LEXICAL - type text on the page
3. Edit the report and update the SQL query to include your lexical page item
SELECT ENAME, JOB FROM EMP &P200_LEXICAL. (REMEMBER THE '.' AT THE END)
Ensure that the option "Use Generic Column Names (parse query at runtime only)" is selected at the bottom of the query
4. Add a button to the page -using 'Create a button displayed among this region's items' the will submit the page.
5. Run the page - you will see all the employee names and job desdriptions
6. Enter a where clause into the 'Lexical' textbox - say "WHERE ENAME LIKE 'K%'" and click the 'Go' button
Voila! your where clause is magically applied.
Try any variant you like adding an ORDER BY clause etc...... this is FUN!
7. Clear the value of the LEXICAL and click go.
Edit the report and move the &P200_LEXICAL. into the selected columns (or add another one)
SELECT ENAME, JOB &P200_LEXICAL. FROM EMP
8. Run the page
Enter ",SAL" in the textbox and "Go"
We can add as many columns as we like (subject to the "Maximum number of generic report columns:" set below the SQL query in the report edit section)
Now because we have all the flexibility in APEX of setting page items using SQL or PLSQL you can set the value of the lexical programatically, or just pre-set a few values in an LOV - the options are limitless.
While I've never had the need to use lexicals - you can see that APEX provides the most Flexible Lexicals in town.
Eat your heart out "Oracle Reports"!!!
Have fun
Mike -
Create a Heat Map in Oracle Apex 4.1 version
Hi,
I want to generate a Heat Map for Apex 4.1 version.
However I did not see any option which will create a Heat Map in the Charts/Maps sections.
Please advice how this can be achieved.
-SanchitaDid you check the forum for an answer? Just did a quick scan and found this thread:
APEX 4.0 Maps - How to create heat maps / Add Custom Maps
Thank you,
Tony Miller
Dallas, TX -
Hi,
Is Apex users eg. developer user possible to access only query builder in oracle application express?
Regards,
LathaHi Latha,
I believe in APEX 4.0 you can do that.
For now you would need to write a query builder yourself... (it's just an APEX app)
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/ -
Can I use Oracle APEX with MySQL Database
Hi All,
We are looking to create a performance dashboard using Oracle APEX for our client, but the application database is MySQL. Is it possible to create reports in APEX using data from MySQL database? If yes, are there any specific steps to be followed or any additional setups needed?
Any inputs would be really helpful.
Appreciate all the help
Thanks,
SameerHi Sameer,
it's not possible to use apex on mysql, as stated above me by several persons.
If you havent got any oracle database in your organization, apex would be an expensive choise unless you use the free Oracle XE (express edition), which has APEX embedded.
There are some limitations to XE but with a bit of smart thinking it wouldnt be much of a problem.
[check the XE information here|http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#BABIECJA]
In short:
- XE will use 1 CPU even if you have two or more in your system
- There is a 4 GB data limit
- RAM memory usage is limited to 1 GB
- 1 installation per computer
You can use XE as a reporting database. This will relieve your mysql database from heavy reporting processes, too.
The XE can be used as a mini data warehouse. So you have to transfer and transform the relevant data from mysql to your XE instance.
After that you can start building report screens etc in the embedded Apex .
hope this helps you
Robin -
Query Builder in 10g Developer Suite
I am accustomed to using previous versions of Oracle developer (2000,6 i...), and there was "Query Builder", which is very useful for us, especially when we do statistics and complex Reports.
Now the Staff has chosen 10g Developer Suite that unfortunately there was no "Query Builder". Is it someone can help me find such a tool like it(query Builder) in Oracle 10g.
I saw an almost similar to Oracle SQL Developer but can not totally replace the "query Builder "I didn't find for example a way to insert a calculated field in the Query of Oracle SQL Developer, it's like SQL PLus, and the same case with Toad.hi,
you can use Oracle application express tool,its a application development tool,but it contain query builder,try youy best.
regadrs
apexuser -
Including query builder in jsp
hi,
i want to include query builder wizard in jsp, as we do in java client.if so i pls tell me the steps to do it.it is urgent.Hi Martin,
good to hear that some query builder was developed in HTML.
We need that for our work. we couldn't proceed to any where. can u please provide some help in creating the query builder in HTML.
If possible please send me an e-mail to [email protected]
Thanks & Regards,
Manohar Vanama -
Oracle Apex conditional field display
Hi,
I have created two page wizard in Oracle Apex.
I have item and item_detail table. For item1, I have one detail record and for item2, I have two detail record.
On Step 1: Choose item which will be drop down from item table.
On Step 2: Based on item detail record count, I want to display text fields on step 2. If item1 is selected in step 1 thenl display, textdisplay1 and textfield1 in step2. If item2 is selected step ` will display textdisplay1, textfield1, textdisplay2, textfield2 in step2.
sql/pl/sql condition will be: select count(*) from item_detail where item_id in (select item_id from item where item_name='one provided in step 1'
I want this dynamic ability to display fields or atleast to hide textdisplay2,textfield2 based on sql/plsql condition.
Thanks,984019,
How are you coming with this?
Since I'm a newbie, here's how I'd try to approach this.
1) So we have the Selection List, say, :P1_SList
2) Then I'd create a Dynamic Action (DA) triggered on a change to :P1_SList.
3) The DA would have a PL/SQL procedure in the DA that computed (:P1_Disaplay_Number) 1 for text1, 2 for text2, ...
4) Then I'd have a display Condition -- a PL/SQL Function Body Returning a Boolean -- on each item (text1, text2, ...), something like, say for text3, ...
BEGIN
IF :P1_Display_Number <= 3 THEN
RETURN TRUE;
ELSE
RETURN FALSE;
END IF;
END;And so forth -- I hope my syntax is correct! So the item Condition determines whether the item displays.
5) You could set :P1_Display_Number to 0 initially, so no items display until the selection is made and the DA triggered.
(I hope you don't have more than 10-15 of these text1 ... text15.)
Is what I have described what you are trying to achieve?
Best regards,
Howard -
Apex 4.2 - Query Builder buglet
Hi,
when I am trying to create a new report in Apex 4.2 using the Query builder. As the Query builder pops up, the Region that will hold the SQL pops up with an error looking something like this;
*1 error has occurred Report SQL must be specified. (Go to error)*.
Obviously whatever validation is creating this error should only happen when you click on the next button as opposed to when the Query builder is popped up.
I was able to reproduce this on apex.oracle.com
KofiThe query builder in report query as a BIG BUG!!! If have 2 tables and link its and sel some fields in query builder popup the result dont work. If you click in download button you receive this message: "apex/wwv_flow.accept was not found on this server". If your query was a litle query this function work well but if your query have more than 2 tables the report query doesnt work, This is a Oracle Apex BUG!
-
Is it possible to write SQL code from within the Query Builder, and if so how do you do that? Thanks!
Hi,
I think that depends on what your aim is. If, for example, you wanted to create a SQL View, you could go to Object Browser, click Create (top-right), select View and then click the Query Builder option. Once you've completed the query, you click Return to pass the code back into the Create View page. There are other places within Apex, where Query Builder is available.
Otherwise, there are packages available such as the free SQL Developer ([http://www.oracle.com/technology/products/database/sql_developer/index.html]) that may be able to help you.
Andy -
Ora-06502 pl/sql numeric or value error in Report Query in oracle apex
Hello all,
I need your help...
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
I am using bi publisher to generate PDF reports in oracle apex.
We were using APEX 4.0 and migrated to 4.2 just a week ago.
Now we have apex 4.2.
When I try to Create report query,
Shared Components >> Report Queries then create.
and test a report in a create wizard I am getting a error "ORA-06502: PL/SQL: numeric or value error: character string buffer too small".
I have also applied a patch "16760897".
This issue is because of number of columns in a query is more then 26.
If I run a report with 26 or less number of columns then the is working fine, otherwise getting this error.
My before migration report queries working perfectly even now, but not new queries.
This issue is also in apex.oracle.com.
You can see
Not working - http://apex.oracle.com/pls/apex/f?p=619:4
Working - http://apex.oracle.com/pls/apex/f?p=619:2:
Please give a solution.
Thanks you.check the DB version compatibility with apex 4 or your DB version to apex 4.0 support for upgrade!
Oracle Application Express Installation Requirements for 4.0
Maybe you are looking for
-
" Performance of Bo Report's in Bex query "
Hai Friend's, I have Developed a report in Bex query, when I am Presenting the Report to the Business User's,It is taking a huge time. can anybody let me know what are the steps to be taken to reduce the time to display the Report in Bex query.
-
when i try to sync my phone to my computer I get a message saying my computer is no longer authorised for purchased items on this iPhone. I go to "store" and it tells me that my computer is authorised. Any one any ideas how I can sync my phone?
-
Best Practice transport procedure for SRM-MDM Catalogue repositories change
Hi, I have a question regarding SRM-MDM Catalogue repository change transports. We currently have two QA servers and to Production servers (main and fail-over). We are investigating the need of a Development server. Changes are being made to the repo
-
Unattended Daily Exporting of Query to Flat File
I am VERY new to Oracle and SQL Plus. I've been tasked with automating a query to run unattended daily to export data and store it in a flat file with structured naming convention (CC_MMDDYY.exp). I need to have it be able to an "on demand" query to
-
Photoshop JPEG Characteristics?
I am in the process of digitizing my 35mm slide collection. One objective is to be able to view the images on TV. I have been using the "Get Photos From Scanner" feature in Photoshop Starter Edition2 in conjunction with a Pacific Image 1800 Slide Sca