4.0EA1 - Query Builder Graphical View
Liking the time saver tweaks in this EA tester edition, I use the query builder alot, a good enhancement to this would be an option to default the building of the graphical view of the query to a collapsed nature with a toggle to expand the individual table to selecting fields.
Makes it easier to graphically understand the query and rearrange the table objects (drag/drop) without the need to spend ages reducing the length to table with 200+fields in of which or dragging tables to rearrange at one screen length at a time, an option could be to set how many fields to table expands to as a default ie 10 fields, rest you get to by scrolling through the list and have the toggle that cycles through 3 states when clicked – Minimised, Default, Maximised
I notice on the right click on a graphical table an option to fully expand, so the toggle could be linked to this right click option
Liking the time saver tweaks in this EA tester edition, I use the query builder alot, a good enhancement to this would be an option to default the building of the graphical view of the query to a collapsed nature with a toggle to expand the individual table to selecting fields.
Makes it easier to graphically understand the query and rearrange the table objects (drag/drop) without the need to spend ages reducing the length to table with 200+fields in of which or dragging tables to rearrange at one screen length at a time, an option could be to set how many fields to table expands to as a default ie 10 fields, rest you get to by scrolling through the list and have the toggle that cycles through 3 states when clicked – Minimised, Default, Maximised
I notice on the right click on a graphical table an option to fully expand, so the toggle could be linked to this right click option
Similar Messages
-
I am trying to edit the default forms/reports that come with CM14, trying to edit the data model, data set, (to get to the old Infomaker style graphic view) , the Query model does not display (error the list of tables is too long..) Oracle tell me the limit is 60, there are not 60 tables referenced in any CM report.
Does this Query builder view work at all on any report?
(bigger question, we are moving from CM12, should we move to CM13 which works with infomaker?)
Thanks,
Paul LKurt, thanks for your replies.
A couple of notes/clarifications.
1. You are correct that BI works better in Firefox--I have observed issues with the BI display when using IE. I would recommend using Firefox too.
2. You are correct about the way to get to the Query Builder to see a graphical view of data tables. There are basically two issues with this that I mentioned, but will re-iterate:
a. If you have an EXISTING query in the data set, then click the "Query Builder" button, this will remove the existing query that's there, it will NOT display the existing query in the query builder. Query Builder works only to create a NEW query from scratch.
b. Query builder is limited to selecting 60 fields max in your query. If you are creating a large report with many tables, you may find that 60 fields is not enough. For that you will have to work in the SQL edit screen rather than using the query builder.
I would impress on anyone developing CM14 reports that they become familiar with the database schema and relationships to avoid problems when developing your BI reports. You should be able to find the tables and joins documentation in the knowledgebase. -
2.1 EA1: Query Builder does not update View Results query
When using the Query Builder, if you click onto the View Results tab to see the current query results, then go back to the "Select Columns" or "Create Where Clause" tabs to change the query, the "View Results" tab still shows the results of the original query even if none of the tables or columns from the original query exist. Clicking the Run Report button or setting a refresh interval has no effect.
On a further note, the query builder still is not reentrant, in that you can't select (highlight a portion of or position the cursor within) a query and open the query builder for that query to graphically make modifications.Sentinel,
The issue is known and is listed in the known issues in the release notes for the early adopter. We hope to have this addressed for production.
The re-entrant query builder is still on our list of things to do. We plan to rewrite the Query Builder and address a number of the requests related to this feature. I'm hoping to make it a priority for the next release.
Sue -
DIFF. between Quick Viewer and Query Builder
Hi experts,
can any body explain the difference between Quick Viewer and Query Builder with examples and can u forward the related material( how to create Quick Viewer and Query Builder ) other than help.sap.com.
useful answers duly rewarded
thanks in advance
sai krishnamy mail id: was [email protected], please send me the material
i will assign the points
thanks in advance
sai krishna -
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. -
Can I turn off Autofit for tables in Query Builder?
Using SQL Developer 3.2.20 and tabbing between the Query Builder and Worksheet always Autofits the height of the tables. Since the tables I'm using are in Enterprise Business Suite they have hundreds of rows making the graphical reprentation almost useless without resizing the table objects.
Is there any way to turn off this "feature"?
I am a new user of Query Developer and am using version 3.2.20.09.
I copied in a sql statement, clicked the query builder tab, visualized my sql statements and resized all the objects so they were viewable. Then when I click on the Worksheet tab and then click on the Query builder tab again all my objects are autofit to the height of the table and it takes about 15 minutes to size them again so I can see all the joins in the gui display - which is the point of the graphical interface.
Edited by: 969018 on Nov 1, 2012 2:13 PMThank you for confirming what I suspected.
If there was a workaround that allowed under the View menu to resize all objects to fit the current window, that would be an acceptable choice. It would seem if the box can be drawn to the maximum size that shows all the columns in the table, then maybe an easy override would be draw the table showing only one column??
Do you work on the development team for SQL Developer?
Another idea would be to be able to zoom out so the resizing of objects would be easier.
Unfortunately your good suggestion of starting with Query Builder and finishing up requires more skill than I posses when working with many tables. I find it necessary to go back to the visual representation to understand all of my joins when I get many tables and then have a problem with my query. If only I could write it correct the first time. -
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 -
URGENT | Need HELP to build programmatic view criteria
Hi
I need to build programatic view criteria like below,
((JobId = "SH_CLERK" AND Salary > 2500) OR ( Salary > 2500))
AND (DepartmentId =100)
Kindly help how can we achieve this,
The ViewCriteriaItem objects like below, how to link them to achieve like above statement.
ViewObjectImpl empVOImpl = getEmployeesView1();
ViewCriteria vc = empVOImpl.createViewCriteria();
ViewCriteriaRow vcr = vc.createViewCriteriaRow();
//criteria for employee id
ViewCriteriaItem vci1 = vcr.ensureCriteriaItem("JobId");
vci1.setValue("SH_CLERK");
//criteria for showing employees whose salary are more than 10000
ViewCriteriaItem vci2 = vcr.ensureCriteriaItem("Salary");
vci2.setOperator(">");
vci2.setValue(new Number(2500));
//criteria for department
ViewCriteriaItem vci3 = vcr.ensureCriteriaItem("DepartmentId");
vci3.setOperator("=");
vci3.setValue(new Number(100));
vc.addElement(vcr);
empVOImpl.applyViewCriteria(vc);
- Rajesha
Edited by: user12820425 on May 15, 2013 10:18 AMHi Rajesha,
You can follow below steps.
1)Create VOImpl for VO on which you have query based.
2)Remove Column(eg.JobId) from standard Default ViewCriteria
3)In VOImpl create method to Create View custom Criteria, Add element
public ViewCriteria addCustomVC(){
ViewCriteria vc = null;
vc = this.createViewCriteria();
vc.setName("customVC");
ViewCriteriaRow vcRow = vc.createViewCriteriaRow();
vcRow.setConjunction(ViewCriteriaRow.VC_CONJ_AND);
if(getJobId() != null){
vcRow.setAttribute("JobId", "' job_id = "+getJobId()+"'");
}else {
vcRow.setAttribute("JobId",null);
vc.addElement(vcRow);
return vc;
}4)Override standard method public String getCriteriaItemClause to exclude above columns
@Override
public String getCriteriaItemClause(ViewCriteriaItem viewCriteriaItem) {
//JobId
if( "JobId".equals(viewCriteriaItem.getName()) ) {
return (String) viewCriteriaItem.getValue();
}else{
return super.getCriteriaItemClause(viewCriteriaItem);
}5)Override public void executeQuery() method to add custom view criteria
@Override
public void executeQuery()
applyViewCriteria(addCustomVC(), true);
super.executeQuery();
removeApplyViewCriteriaName("customVC");
}Thanks,
Jit -
BI Publisher Report Build - XML view
Hi Experts,
I am trying to build the BI publisher report. During the process, I am defining the SQL query structure in the 'Query Builder' once after that I have saved the report.
As part of the next step , I have clicked on 'view' link to view the report structure as mentioned in the OBE.
I could only see the 'Data' view but not the 'XML' view. Is there any way I can see the 'XML' view.
Any help would be appreciated
SivaData means look at the xml data that you have created.
-
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? -
Changing the Chart Title in Graphic View in Interactive demand Planning
Hi All,
Is it possible to change the Chart title in Graphic View in interactive demand planning screen.
When we go to interactive planning after loading the data we go to Univariate forecast then switch to graphic, the chart title shows the selection at which the planning is done. For eg; If I plan at die level and i select a particular sap material, the chart title displays Die value and not the material value.
Is it possible to change the chart title such that it displays all the selections made in selection winodw, like in the above case both Die value as well as SAP Material Number.
Thanks and Regards,
DianaDear Diana,
unfortunately this is not possible.
The chart title is build from the planning book name + the Show characteristic in the shuffler (+ available nav. attributes of the Show char).
The functionality you requested doesn't exist in standard.
Regards,
Tibor -
2 Bugs - Apex 4 - Websheets & Query Builder
Hello,
Just to make someone from the Apex Dev team aware if they aren't already.
I've come across what i think is a bug in Websheets where if you create a data grid or interactive report and then save a Named Copy of the report (so that the select list appears at the top of the report/grid with the saved report names). When you then click on any of the drop down menus like Actions, Manage, or any of the drop down tabs at the top of the page (Page, Data, Annotations, Administration) the background of the menu goes transparent making it really difficult to read the options in the menu if there is some text behind it.
If you then delete the saved report so that you just have the one version, and refresh the page the problem dissapears. I've only found this issue when using Internet Explorer 8 (not sure about earlier versions), as far as I am aware this doesn't happen in Firefox or Chrome.
Also if you log into Apex using Google Chrome and go to the Query Builder under SQL Workshop. If you click and add a table with quite a few columns (10 or more) the scroll bar is missing down the right hand side which means there is no way to select/view all of the columns in that table.
Thanks.Better make that 3 bugs.
Create a data grid from spreadsheet data. There must be a very small limit on the data you can actually upload using this thing, I just tried to upload 50 rows of data containing 12 columns (not exactly a massive amount). The data is a fictional list of employees, I have pasted the tab delimited data below.
It fails, but rather than giving an error message like "Too Much Data" it just clears out the text area and says "Data Must Be Provided". Also it doesn't seem to say anywhere what the limit on pasted data is.
I'd really appreciate it if somebody could respond to this ticket to let me know that these issues have been acknowledged.
Thanks.
Data:
FIRST_NAME LAST_NAME ADDRESS_LINE_1 ADDRESS_LINE_2 TOWN_CITY COUNTY POSTCODE PHONE_NUMBER1 PHONE_NUMBER2 EMAIL DEPARTMENT JOB_TITLE
Simon O'Donnell 387 Long Island City Drive Tempe AZ 21621 54550634696 53657655919 [email protected] Accounting Accountant
Stanley McKean 7 Palminteri Street Cape town CA 34854 34283228110 90968854129 [email protected] Accounting Accountant
Ronny Baldwin 33rd Street Ringwood NJ 14229 54153114191 19892904897 [email protected] Accounting Accountant
Chanté Graham 77 Neuwirth Street Clark NJ 17644 44238155651 42555297017 [email protected] Accounting Accountant
Owen Koyana 118 Clive Drive Ittigen OH 20453 79979711628 94321262787 [email protected] Accounting Accountant
Suzi Chan 45 Sydney Road Freising CA 20004 24306244670 15892017656 [email protected] Human Resources Administrator
Ashton Whitaker 23 O'Connor Drive Saint Paul MN 17649 33383575194 40490409444 [email protected] Human Resources Administrator
Neneh Minogue 52nd Street Chambery NJ 29477 54967529479 36274191772 [email protected] Human Resources Administrator
Angelina Ojeda 70 Jane Drive Suite 300 Ben-Gurion AZ 7837 24681394213 21589555777 [email protected] Human Resources Administrator
Emilio Minogue 22 Bush Blvd Bern OH 33137 64612176871 73714964758 [email protected] Human Resources Administrator
Roberta Sarsgaard 87 Walken Road Mt. Laurel NJ 25063 7121830568 54570046512 [email protected] Human Resources Administrator
Marc Lunch 65 Al Drive Almaty NJ 5151 96908142426 26541291842 [email protected] Human Resources Administrator
Parker Warburton 11st Street Koeln AZ 24210 52725935422 68454292728 [email protected] Human Resources Administrator
Geoffrey Eastwood 868 Buffy Street Kristiansand AZ 34152 61772127668 41794991280 [email protected] Human Resources Administrator
Jerry Logue 262 Tilda Road London KS 2A8 9C7 95746233530 52999457363 [email protected] Human Resources Administrator
Louise Schneider 11st Street Suite 201 Gaithersburg MD 34694 76872385544 42503448008 [email protected] Human Resources Administrator
Omar Thewlis 91st Street Moscow KS 26789 34185768802 27734141241 [email protected] Human Resources Administrator
Dustin Del Toro 11 Wilkinson Drive La Plata CA 11361 69771044666 48947772075 dustin.deltoro@gdatechnologies Human Resources Administrator
Meg Llewelyn 64 Timothy Drive Québec CA 4D0 9X7 83256270181 2691966515 [email protected] Human Resources Administrator
Glen Willard 27 Marie Street Spresiano OH 8729 29232670035 49180707659 [email protected] Human Resources Administrator
Illeana O'Sullivan 35 Ruiz Road Manchester NJ 5Z8 2R3 47699176357 26298603036 illeana.osullivan@trekequipmen Sales Telesales
Mint O'Donnell 68 Cook Street Framingham MA 25741 9385886977 40068593037 [email protected] Sales Telesales
Ernie Charles 47 Suchet Ave Lehi UT 11640 12315092268 41921491553 [email protected] Sales Telesales
Tramaine Perez 775 Curry Suite 200 Beaverton OR 10052 24152547387 90360041459 [email protected] Sales Telesales
Bernard Mahoney 52nd Street Ludbreg AZ 21930 65063421715 47887052203 [email protected] Sales Telesales
Todd Stuermer 40 Wagner Ave Wichita KS 26462 12471889987 58730543507 todd.stuermer@quakercitybancor Sales Telesales
Millie Amos 553 Hatfield Street Sao paulo MA 5981 68256282709 14178281728 [email protected] Sales Telesales
Franz Akins 3 Gryner Drive Livermore CA 26213 81335649303 16862350942 [email protected] Sales Telesales
Yaphet Bonham 72nd Street Suite 101 Anyang-si MA 6327 43485048831 37956286527 [email protected] Sales Telesales
Howie Flanagan 49 Imperioli Street Sihung-si NJ 1809 43066563105 63396837113 [email protected] Sales Telesales
Steven Balk 861 Assante Ave Ulsteinvik CA 3526 18463427833 99316238432 [email protected] Sales Telesales
Alicia Harrison 84 Jakarta Drive Akron OH 3733 18721340083 57094073560 [email protected] Sales Telesales
Whoopi Parish 26 Warden Street Mendoza NJ 14844 85721542820 48311086266 [email protected] Sales Telesales
Owen English 14 Douala Drive Clark NJ 11094 2283985082 34817135523 [email protected] Sales Telesales
Chubby Yulin 84 Gerald Drive Columbia MD 11757 32561417707 89267451034 [email protected] Sales Telesales
Glenn Pitney 3 Voight Di Savigliano MD 34263 83395577226 43370989196 glenn.pitney@quicksilverresour Development Develoeper
Mika Paymer 89 Flanagan Drive St. Louis MO 15086 35622263548 54260584499 [email protected] Development Develoeper
Murray McGovern 89 Donald Ave Immenstaad MD 17322 73254698420 47330422851 [email protected] Development Develoeper
Ernie Redford 34 Ehningen Suite 200 Solikamsk OH 39976 86055059780 48924782157 [email protected] Development Develoeper
Avril DeVita 55 Karlsruhe Road Meerbusch OH 1951 51850605994 1153570187 avril.devita@usdairyproducers. Development Develoeper
Thelma Rush 4 Andre Road Suite 100 Dietikon MO 27313 67647167317 29429631371 [email protected] Development Develoeper
Thin Nicholson 88 Slater Ave Nancy AZ 7872 9887481644 320600125 [email protected] Development Develoeper
Roy Crimson 82 Jacksonville Road Dublin KS 36575 85597843215 71835543117 [email protected] Development Develoeper
Murray Stanley 86 Aracruz Street Ciudad del Este MO 9581 73783495943 52407792648 [email protected] Development Develoeper
Meryl Zellweger 58 Charles Street Suite 201 San Dimas CA 13921 87581534618 51562540607 meryl.zellweger@millersystems. Development Develoeper
Jake Buffalo 60 Cox Drive San Dimas CA 27076 22095103035 73337559023 [email protected] Development Develoeper
Drew Sharp 23 Masur Road Milton Keynes MO 6B7 4J3 98371242672 96437093331 [email protected] Development Develoeper
Vonda Reno 74 Bo Road Reykjavik NJ 21777 55961683544 30874610356 [email protected] Development Develoeper
Ashton Knight 6 Flack Road Storrington CA 7A5 0O0 96863906342 52454871460 [email protected] Development Develoeper
Hookah Madonna 44 Dabney Drive Traralgon AZ 2958 65935470447 48936698434 [email protected] Development Develoeper -
Query Builder - How to create a link between tables with many fields?
I have many fields in my tables. When the query builder loads the tables, the tables are expanded to accomodate all the fields. Suppose I want to link Table A's Customer ID (the first field in Table A) wiith Table B's Customer ID (the last field in Table B). How can I do that if the last field in Table B are not visible in the screen?
Currently, I create a link in Table A's customer with a random field in Table B. Then I edit the link to create a proper condition. Is there a more efficient way to do this?
Thanks.
Edited by: woro2006 on Apr 19, 2011 9:40 AMHi woro2006 -
Easiest way is to grab Table A's title bar & drag Table A down the page until the columns you want to link are visible.
FYI, there is an outstanding bug
Bug 10215339: 30EA1: MISSING THE 2.1 RIGHT CLICK OPTIONS ON DATA FIELDS TO CREATE A LINK
to add a context menu on the field for this. That is, Link {context field} to > {other data sources} > {fields from that source}
It is being considered for 3.1, but I have no idea where it will end up in the priority queue.
Brian Jeffries
SQL Developer Team
P.S.: Arghh, Unfortunately, I just tried it and the diagram does not auto scroll while you drag, so there is some guess work/repositioning the view involved.
Logged Bug 12380154 - QUERY BUILDER DIAGRAM DOES NOT AUTO SCROLL WHEN DRAGGING TABLE -
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? -
Bug report for Query Parser in VIEW Creator
Hi,
when you try to create a view with KEEP(DENSE_RANK... like in this example:
SELECT MIN(chr) KEEP(DENSE_RANK LAST
ORDER BY lvl) AS min_chr
FROM
( SELECT TRUNC((level + 1) / 2) AS lvl, chr(level + 64) AS chr FROM dual CONNECT BY level <= 26
) xthe parser shows a parsing error ("Failed to parse SQL query. Invalid SELECT Statement. Unexpected token "(" at line 1, pos 24").
I'm on 3.1.4.710 under Win7 and latest Java6.
Best regards,
BlamaHello,
I can confirm that my query (1st post in this thread) is working under DM 3.3.0.747.
I can confirm that this query is working as well in Query Builder->Paste SELECT->Update diagram:
WITH x AS
(SELECT TRUNC((Level + 1) / 2) AS lvl,
CHR(Level + 64) AS lvl_char
FROM DUAL
CONNECT BY Level <= 26
SELECT RANK() OVER (PARTITION BY x.lvl ORDER BY x.lvl_char DESC) dr FROM x;
But this one is not working for me:
WITH x
AS ( SELECT TRUNC ( (LEVEL + 1) / 2) AS lvl, CHR (LEVEL + 64) AS lvl_char
FROM DUAL
CONNECT BY LEVEL <= 26)
SELECT DENSE_RANK () OVER (PARTITION BY lvl ORDER BY lvl_char DESC) dr
FROM x;
Interestingly "DENSERANK()" without the underscore (or any other gibberish) is working as well (but leading to an syntax error when executing the DDL).
Best regards,
Blama
Maybe you are looking for
-
How do I continue a migration from iPhoto to Photos that was interrupted part way through?
I began a VERY large migration (40k+ photos) from iPhoto (v9.6.1) to Photos on an external hard drive. I have a MacBook Pro with Yosemite 10.10.3 that is connected to a network that has a Synology network drive. The iPhoto library is on that drive
-
How can i transfer my music libary to another account user?
I want to transfer my libary to my wifes account so that she can load these onto her ipad/iphone.
-
SIMS 2 not working on Intel-based Mac Mini
SIMS 2 will not work on new Mac Mini. I contacted Aspyr who said that the integrated graphics card prevents it from displaying graphics and that this was a hardware problem. Is there any way to make SIMS 2 work on the Mac mini -update or add on graph
-
Updated Firefox yesterday and now the program will not open on my desktop. Screen goes black for a second, issues a beep and then get box asking if I want to allow Firefox to make changes to my computer. Does not matter if I click yes or no, box disa
-
Quick Time Player X problems.
I can't open Quicktime player X. When the icon is selected in the finder, it places an icon on the dock but that is all. Is it possible to re download this program which is identified as Quicktime player 10 in the system profiler?