1.5.4 Query Builder Bug?
I was testing the Query Builder with SQL developer version 1.5.4. It seems to have problems when trying to add the same table twice to the query.
Example was to use the employees table from HR schema to create a query showing employees and managers. When clicking the second time on the employees table then the query builder did just "hang" there indefinitly.
Did I miss some important step like giving alias names to the tables?
There's an accepted enhancement request for this at the Echange. Go vote to add weight for future implementation.
Regards,
K.
Similar Messages
-
Query builder bug in outer joins ?
I understood that if you were joining two tables A and B, the following was a
LEFT OUTER JOIN
SELECT A.COL, B.COL
FROM A, B
WHERE A.ID = B.ID (+)
ie: a LEFT outer join has the (+) on the Right-hand table.
However, query builder puts the (+) on the Left-hand table.
Same for a RIGHT outer join - I think the (+) should be on the Left-hand table, but query builder puts it on the Right-hand table.
Cheers,
Andrew
(running Version 2.1.0.00.39)Hi Andrew,
I just played a little with the query builder and created a join between two of my tables:
PROJECTS and ACTIVITIES, linked via KCC.
When I create a left outer join in query builder, I get the following result:
select "PROJECTS"."KCC" as "KCC"
from "ACTIVITIES" "ACTIVITIES",
"PROJECTS" "PROJECTS"
where "PROJECTS"."KCC"(+) ="ACTIVITIES"."KCC"
Which is correct: Left refers to the first table in the from clause (ACTIVITIES) and places the (+) on the other table!
Left and right refers to the order of tables in the from clause, not in the where clause. Query builder sorts the tables in FROM alphabetically, maybe this is differing from the graphical order in query builder.
Regards
Alex -
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 -
Tables not in Query Builder table list bug?
In HTML DB version 1.6.0.00.87 we have tables defined in our schema in our workspace. When we create a view and click on the [Query Builder] link, no tables are in the drop down list for our schema. Why? The schema is there. I can go into the SQL Workshop and query the records our of the tables, but they are not listed in the [Query Builder].
I tried this same function but with my workspace at htmldb.oracle.com. The tables in my schema are listed there.
Is this a bug that was fixed in version 1.6.1.00.02?There is one schema assigned to the workspace. That schema is listed in the pop-up window. Here are the steps I am doing:
1.) Click on SQL Workshop
2.) Click on Create Object
3.) Click on View
4.) The correct schema is listed in the Schema field. There is only one schema in the drop-down list for the Schema field.
5.) Click on [Query Builder]. A separate browser window appears with the correct schema. There is only one value in the drop-down list for the schema. "- Select Table -" is in the TABLE field.
6.) I click on the TABLE field to get a list of tables for the schema. Only "- Select Table -" is listed. No other tables are listed.
I can cancel the Create View and return to the main page of the SQL Workshop. I can click on Tables to see what table are available. I select the correct SCHEMA and see the list of tables.
I tried this in the same version of HTML DB (v 1.6.0.00.87) in a different database ie. a different HTML DB repository and received the same results, missing tables in the pop-up page
I do not know why the tables do not list in the [Query Builder] for the Create View. -
Possible bug: Query Builder deletes comments in Worksheet?
Good morning,
with Oracle SQL Developer 3.2.20.09 with included JDK on Windows 7 32 bit, we loaded a sql file containing a query with some comments (beginning with -- or /*).
We formatted the sql code with the automatic format tool without any problem.
But when we added or modified some criteria in the Query Builder, after saving the file the comments lines in the Worksheet are gone.
Thanks for reading and best regards.
Marco - ItalyHi Marco,
Please note that SQL Developer has included a Query Builder from a third-party since the 3.0 release. I will ping the developer that acts as liaison; perhaps you will get a more definitive response. Until then, you may consider the response to one bug I logged concerning some complex SQL the Query Builder's parser did not properly handle:
Query Builder is a visual environment targeted at novice/intermediate users. There are a number of advanced and/or hard to visualize language features that are not supported.*
Perhaps the use case of opening an external SQL file (potentially large / complex / with comments) may go beyond the intended usage of interactive development for the novice/intermediate user.
Regards,
Gary
SQL Developer Team -
BUG? Query Builder Fails in IE 9
I'm using a hosted setup with Application Express v 4.1.1.00.23
The query builder works with Firefox and Chrome but when I try it with IE9 (9.0.8) the bottom frame doesn't respond to the upper frame (like selecting columns). When I press Run the results pane reads "Please enter a valid Query".
GregAll,
This appears to be bug 13825002, which was fixed in APEX 4.2. To verify, please log into apex.oracle.com, and see if it reproduces there.
Regards,
Marc -
Bug in Application/Query Builder?
I created an SQL query using the query builder in 10g. It didn't work. I pasted the same query into SQL Commands. It worked. I pasted the same query into the Application Builder. It didn't work. (By didn't work, I mean it gave me 500 rows of a 2000+ row view.) Has anyone come across this before? For the life of me, I can't figure out what's going wrong.
Hi
I think, it isn't a bug.
Per default all tabular forms are limited by 500 rows.
You see at the end the message "row(s) 1 - 15 of more than 500"
Greetings
Sven -
Possible bugs when adjusting column width in Query Builder
Good morning,
we use Oracle SQL Developer 3.2.20.09 with included JDK on Windows 7 32 bit.
When we open a sql file, in the Query Builder the criteria columns don't auto-adjust accordingly with the length of text present in the columns.
Also, if we modify or type a new criteria in a column, and immediately after drag the column header to widen the cell, the cell content is erased (if we click first in another cell the problem doesn't occur).
Thanks for reading and best regards.
Marco - ItalyHi Marco,
Please note that SQL Developer has included a Query Builder from a third-party since the 3.0 release. I will ping the developer that acts as liaison; perhaps you will get a more definitive response. I can only assume any UI bugs would have to be fixed by the third-party company at his request.
Regards,
Gary
SQL Developer Team -
Hi ,
I am using SQL Developer 1.1.0.23. In this I was trying to use Query Builder. In this I am facing one problem. In our company, we are provided with the view_only schema which are having access to all the objects.
Now while using Query Builder, I want to use the table of the other schema. But Query builder allow only tables owned by the schema with which we are logged in. This is making it virtually useless if we need to create the query like
Select a.col1,
b.co1
from schema1.table_name1 a,
schema2.table_name2 b;
Can we created such query with Query Builder, or do we have any work around for this ???
Regards
Martand JoshiThis is correct. There is a bug logged for this, but at this stage the query builder does not support read only access.
Sue -
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 - 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 -
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:53Hi,
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 -
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!
-
In the reports when I use query builder available in the reports for the same user/owner it works fine. If I will select/use any table from other schema it creates query for it but when I again try to go to query builder it shows me blank. This behaviour is same in reports 3 and 6i. Is this a bug or there is some configuration issue?
e.g.
Currently I am working in the scott login and opened the query builder to build the query. I have select table EMP and the its fields I have to select. Now the DEPT table is in another schema and scott has select privs of this table. I have select the DEPT table from that schema and pressed OK and the query is now in the query window but now if I want to modify the query and want to open query builder again and it is not possible at my machine. So I have to modify the query in the query window manually.
I hope the above detail will help u in understanding the exact situation so if still not cleared then let me know.Hi Sikandar,
Make sure you are on the latest patch (patch 10), and if it still reproduces you should contact Oracle Support.
regards,
Stewart -
Query Builder won't apply chosen date to the where clause
Does anybody know why when I chose a date field, in the where clause, when using Query Builder, it won't actually write the chosen date to the actual query?
If I select the "View Query" tab, no date shows up. Also if I press the "Run Report" button in the "View Result" tab, I get this error:
"An error was encountered performing requested operation: ORA-00936: missing expression"
This is because actual date data is missing.
After I hit the "Apply" button, I have to manually type the date data.
I thought this was a bug of the previous version, but I just installed version 1.5.4 and I have no different result.
Thanks.I just wanted to add my name to the list of people having this issue.
Oracle Techies, please help.
Maybe you are looking for
-
if someone could of assitance that would be great
-
the question is i bought an album worth 120 but was charged 180 why
-
Sidebar div not staying where i put it.
Hello all hope your Friday is a good one! So here is what I got for you today.working on a simple layout design for a site. Trying to do it all in code and learn as much as I can. But here is my problem I have a div that is a side bar on the page tha
-
Use of common distribution channel and division in CRM
Hi, I have a requirement where the customer master will be created in a single dist channel and division combination in ECC and downloaded to CRM. However this customer will be used in different sales area combinations in CRM and ECC. In ECC there is
-
Service sale order integration service po and entry sheet
dear all, In my business I am providing service to my customer. that service should be procured from external vendor through service PO (MM) and entry sheet. I am not using DIEN service material type. How to integrate SD & MM in sap without using Mat