Sorted results, writer Disqualification
We will get results sorted, writer Disqualification? with out it sort in fact after the results are exposed?
Thanks Mike... This helps to
Tags: Fusion Middleware
Similar Questions
-
Hello
Is there is any other way to sort the results other than the order by clause?
See you soon,.
RajeshHello
969052 wrote:
Hi frank,.can u explain on brothers and sisters
Sure. Can you explain whay you want to avoid using ORDER BY?
Consider this CONNECT BY query:
SELECT ename , empno , mgr , LEVEL , SYS_CONNECT_BY_PATH (ename, ',') AS path FROM scott.emp START WITH mgr IS NULL CONNECT BY mgr = PRIOR empno ;
Note that there is no ORDER BY clause, with or without the keyword brothers and SŒURS.
Output:ENAME EMPNO MGR LEVEL PATH ---------- ---------- ---------- ---------- ----------------------- KING 7839 1 ,KING JONES 7566 7839 2 ,KING,JONES SCOTT 7788 7566 3 ,KING,JONES,SCOTT ADAMS 7876 7788 4 ,KING,JONES,SCOTT,ADAMS FORD 7902 7566 3 ,KING,JONES,FORD SMITH 7369 7902 4 ,KING,JONES,FORD,SMITH BLAKE 7698 7839 2 ,KING,BLAKE ALLEN 7499 7698 3 ,KING,BLAKE,ALLEN WARD 7521 7698 3 ,KING,BLAKE,WARD MARTIN 7654 7698 3 ,KING,BLAKE,MARTIN TURNER 7844 7698 3 ,KING,BLAKE,TURNER JAMES 7900 7698 3 ,KING,BLAKE,JAMES CLARK 7782 7839 2 ,KING,CLARK MILLER 7934 7782 3 ,KING,CLARK,MILLER
KING is the only employee that meets the START WITH clause in this query, then KING is certain to be the first line in the output.
The KING has 3 children: BLAKE, CLARK and JONES. In other words, these 3 rows meet the CONNECT BY condition when KING is on the PREVIOUS line. BLAKE is supposed to be a brother of CLARK and JONES.
Oracle ensures that, if the KING has children, then the line immediately after the KING will be one of the children of the KING. Thus, every time that you run this query, you can be sure that the 2nd row of output will not contain SCOTT, ADAMS or any employee except BLAKE, CLARK or JONES. However, you can not be sure that the 2nd will be BLAKE. When I ran the query a minute previously, 2nd row that happened to contain JONES; There is no way to guarantee that, without an ORDER BY clause.Published by: Frank Kulash, December 25, 2012 08:47
-
Search for PES 10 files? Do not sort results
I want to search for, BIG in all file names so I can remove them from the catalog. When I search for the only indication I get is the symbol of not, circle with a line. The thumbnails are not sorted. Accept the thumbnails are displayed with no circle, and are not sorted. What I am doing wrong?
Hello
I'm sure that you are getting a little frustrated with this problem now.
I am running on a Windows 7 64 bit and I have Premiere Elements too, so in theory, our systems should work the same.
The way you view works, it's what I expected, that if I was looking on two tags and had the option Show closely Matching sets for research (preferences - general) checked. If this is checked then turn it off, close the elements, open it again, and try the search. I don't think that it really makes a difference to your search.
I think it will eliminate a problem of catalog by creating a new catalog. Try this:
(1) open the Organizer
2) go to file-> catalogue
3) click on the new button
(4) enter a name like Test cat and click OK
(5) click on Open - this will create an empty catalog
(6) go to file-> Get Photos and videos-> of files and folders
Navigate 7) to a folder example - for the test, you don't need really all your photos
8) click Get Media
OK now, try a file name search to see if you get different results.
Good luck
Brian
-
Verity - how to sort results?
How a sort a set of data returned by CFSEARCH?
I'm using CF7.
Thank you!Try the query of queries.
-
Maximum quantity and sorting results
I have a parent-child relationship with the Contact Id in each XML node.
Here is an example
Contact Id has
Contact FRED
Contact Id has
Quantity 30
Quantity 5
Quantity 2
Contact Id B
Contact SCOTT
Contact Id B
Quantity 45
Quantity 30
Quantity 14
Contact Id C
Contact JONES
Contact Id C
Quantity 25
Quantity 21
Quantity 15
Contact Id D
Contact JONES
Contact Id D
Quantity 43
Quantity 1
Quantity 1
I want to make the most of the Group and order them by the Maximum of my RTF.
So I get
Contact Id B
Contact SCOTT
Contact Id B
Quantity 45
Quantity 30
Quantity 14
Contact Id D
Contact JONES
Contact Id D
Quantity 43
Quantity 1
Quantity 1
Contact Id has
Contact FRED
Contact Id has
Quantity 30
Quantity 5
Quantity 2
Contact Id C
Contact JONES
Contact Id C
Quantity 25
Quantity 21
Quantity 15
Any help would be appreciated. Note, as this will be a Siebel report, I can't change SQL. I can only work with the RTF. Thanks in advance.It would have been better if you pasted your xml here.
always achievable.
It's heredisplay the information ehre like
-
Windows Vista search - results of research on relevance sorting Office
Thank you advance.
How can I sort the search results of Vista by relevance. I understand, sort by file type, date, etc, but how do I sort results by relevance - see the most relevant results first?
Would it be possible for you to 'tag' data in the comments column. That's exactly how Live and other research, do it. When your search phrase matches a tag, you get a star. Some people use "metatags in web pages to"mark"their site. No reason why you could metatag not your data.
Messages rating helps other usersMark L. Ferguson MS - MVP
-
google search gives results in Chinese
When I get a few things to look for in the upper right corner, using the Google search engine. The result are shown in characters of Chinas. Then I go to the website of google and enter the same search elements on their homepage, the results appear in English. This problem does not exist when you use other search engines.
I found the solution:
I had to click on the link:
http://www.Google.com/preferences?hl=en
Here you can change the settings for the search results. It took me a bit of connection and disconnections with different Google accounts, but finally I could change the sort results in English.
I still do not understand why the problem only appears in Mozilla, and only to a single computer. -
How can I remove a removable usb drive write protection.
I have a sandisk 8 gig flash drive which became sort of write-protected. How can I remove this USB write protect. Old computer XP SP3 Pro hp laptop not worth or able to upgrade to the new OS.
Visit the site. About 1/3 is a paragraph entitled:
"USB stick seems to be write-protected."Troubleshooting FRO USB pen drives.
<>http://www.Uwe-Sieber.de/usbtrouble_e.html >HTH,
JW -
What is the best way to sort?
Hi I have 1,000 customers in the database. I need to display in the drop-down list box. COMBOX is editable. The user types the letters, I need to filter and display the names of customers. for example if the user types 'a' in the combox I display all customer names beginning with "a". If the client type 'under' then I have to show only names that begin with "what," in the drop-down list box popup. for every key stroke, I filter and display the names of the clients.
for this, there are two approaches: -.
1. for each key stroke, go to the database and retrieve the sorted results and display. This way sort takes place in the database.
2. pull once all clients in java, cash and therefore sort them based on key strokes. In this sorting is done in our java code.
friends said that it is expensive to go to the database for every key stroke. I feel pulling all clients at once and their collection in java isn't a good idea.
I'm really confused. I need a suggestion expertise. where is the best? Why is this the best way? What are the advantages and disadvantages of the two ways. Please help me.
Thanks in advance.Thanks ejp but initially if the combo box is not empty. This means that if he did not type any letter I show all the names.
N ° this is the error. Don't, don't. A ComboBox with 1000 or 5000 elements is completely useless. Do as I said.
My problem is that if there are 5000 customers then what? It will not create a performance problem.
Of course, it will be. It will also create a problem of great performance for the user.
However, you seem to have missed something else. Using the combobox with anything, you're already running a cache. Not two ways on this subject and no way to avoid it. So all you fill with, and each time you do, all you have to do when the user types a different combination of keys is filter the model combobox to exclude everything that does not prefix that he hit. To return to the database is not yet arise.
-
Problem setting up sorting in prompt values Dashbord?
I created new logical column "MonthYear' dating shows like"MY YYYY"uses a date column, and I have identified in MonthYear sort order using the Date column.
I use "MonthYear' column in dashboard prompt. The values that I get in the command prompt as:
March 2010
March 2010
March 2010
Apr 2010
Apr 2010
Apr 2010
May 2010
May 2010
I need values such as:
March 2010
Apr 2010
May 2010
I used SEPARATE in the SQL RESULTS in prompt dashboard, but I don't get the sorted results.
It is like coming:
Apr 2010
March 2010
May 2010
Appreciate your helpLeave on your physical model - you have a table of facts with the date column and calendar with the date PK so we get the relationship TIME---> FACT through date column?
-
Order results based on year entered by the user
I have an APEX page where the user can enter a start date and an end date and get a graph of the data for this date range. My problem is that I don't know how/sort order of the results according to the dates entered. For example:
I need a way to always sort the results since the beginning of the year of the entries by the user, at the end of the year of the entries by the user, any "year" (or part of a year), they enter. Sorting based on year and month seems to be the most obvious way to do it, but I don't have a complete list of months/years, just the dates of beginning and end I tried to work with months_between and add_months, but I can't get consistent results.Start_Dt End_Dt 01-Jan-09 31-Dec-09 sort results: jan feb Mar apr May etc... Start_Dt End_Dt 01-Nov-08 31-Oct-09 Sort Results: Nov (2008) Dec (2008) Jan (2009) Feb (2009) Mar (2009) etc... Start_Dt End_Dt 01-Mar-08 28-Feb-09 Sort Results: Mar (2008) Apr (2008) May (2008) ... (2008) Jan (2009) feb (2009) Start_Dt End_Dt 01-dec-08 31-mar-09 Sort Results: Dec (2008) Jan (2009) Feb (2009) mar (2009)
Hello
If you post CREATE TABLE and INSERT to your sample data statements and instructions CREATE FUNCTION for the functions defined by the user you are using (for example, issue_open_date), then all anyone can do is guess.
I guess Issue_Open_Date (Issueid) returns a DATE, and the date you need sort.
Since the main query is a query GROUP BY and GROUP BY clause does not include issueid, then you cannot "ORDER BY Issue_Open_Date (issueid)"; but you can use an aggregate function, such as:... Group By Months.Month_Desc, Months.Ordinal, Months.Month_Id ORDER BY MIN (Issue_Open_Date (Issueid)) ;
Let's say a row of output represents December, 2009, and another line of January 2010. As long as issue_open_date always returns DATEs in recent months, it won't matter what exactly are the dates: a DATE of 2009 will be earlier than any DATE in January, 2010.
-
Using SUBSTR to convert part of an IP address to a NUMBER and then sort
Hello!
I have a table in APEX that IP numbers and was looking for a way to be able to sort out them.
I wrote the following script:
SELECT TO_NUMBER (SUBSTR (IP, 11)) y
OF NETWORKINFO y
ORDER BY y
Which produces the results I'm looking for.
However, I use the 'FORM ON A TABLE WITH REPORT' by their SUMMIT. It is perfect for what I need, but here's my question:
How can I go about adding my custom SQL string to be able to use the feature to sort of this 'FORM ON A TABLE WITH REPORT "?
In the above form, it gives the ability to sort by any column. Is there a way I could do a column hidden, associated with the IP column to sort results?
Sorry if I'm not in all this that claire here - let me see if I can be more specific.
I have the IP addresses which of course do not sort numerically. So I wrote the SQL script above to convert a portion of these IP addresses in a number format.
Is it possible to combine the two in the search function in 'Form on a Table with report' so I can get a user sort by IP number, but behind the scenes it sorts using the SUBSTR value from above?
Thank you for pointing me in the right direction on this subject!
-IgorHi Igor,.
You can get a custom sort order added to your IP column without needing a second column.
Consider that the sorting is done strictly from left to right across a string in the column. The string can be any content valid HTML. So you can wrap your string in, say, a SPAN tag and add an attribute to the tag that contains the sort order, you need to forward the text that is displayed to the user. As long as the attribute is properly structured (in other words, all instances are the same length, for example), then sort will work correctly. For example:
SELECT '' || IP || '' Y FROM ...
Now you must make sure that the PAD_IP_ADDRESS() function returns the correct values. In IP addresses, you have whatever it is "0.0.0.0" to "255.255.255.255". To sort "digitally", you need fill one or two numbers to get three numbers for each value of - so, "0.0.0.0" becomes "000.000.000.000." You can create a function to do this - something like:
CREATE OR REPLACE FUNCTION PAD_IP_ADDRESS ( pIP IN VARCHAR2 ) RETURN VARCHAR2 IS vIP VARCHAR2(15); vTEMP APEX_APPLICATION_GLOBAL.VC_ARR2; vSEP VARCHAR2(1); BEGIN vSEP := ''; vIP := ''; vTEMP := APEX_UTIL.STRING_TO_TABLE(pIP,'.'); FOR x IN 1..vTEMP.COUNT LOOP vIP := vIP || vSEP || TRIM(TO_CHAR(TO_NUMBER(vTEMP(x)),'000')); vSEP := '.'; END LOOP; RETURN vIP; END;
The result of this would look like:
<span title="001.001.001.001">1.1.1.1</span> <span title="002.255.255.255">2.255.255.255</span> <span title="010.001.199.098">10.1.199.098</span>
Andy
-
I did a query that was stopped by the clause and by running on sql calls so it sort the data according to the needs, but when I do a report of matrix and by using the same query, then is not the desired sort result returns,
Please help,
Thanks in advance.Maybe not with the wizard, but with the definition of the properties...
-
Removal of hardware store unwanted VM, while it is powered. -questions
So while trying to work/modify scripts already exist; to identify and "clean up if possible" unwanted material (series, USB, etc...) If some problems of type gotcha. * Previous scripts based on http://communities.vmware.com/thread/137257 - $VM. ReconfigVM_Task ($Spec)
If the target VM has unwanted devices that are only USB controllers, the script works with number (Script generated by Onyx.) It will remove the USB controllers if the virtual machine is powered power
Now, if I repeat this process and the virtual machine has some unwanted devices which include the USB controllers. Now I also include floppy, series and parallel, then the script error when I change to delete based on a list of "equipment" unwanted devices In this case, whether or not I jump on all the unwanted material that isn't USB. The error comes from the vCenter events, no powershell & task. I even used onyx to compare to remove the USB from the GUI and it has always had the same result.
Now it's the slightly modified version that I could use to achieve what I want, if it is not error on:
$NotWantedHardware = "USB|Parallel|Serial|Floppy" $ConfigureVM=$true $VMs = Get-VM $args[0] Write-Host "Unwanted VM hardware Report & Remove." foreach ($vmx in $VMs){ $vUnwantedHw = @() $vmxv = $vmx | Get-View $vmxv.Config.Hardware.Device | where {$_.DeviceInfo.Label -match $NotWantedHardware} | %{ $myObj = "" | select Hardware, Key, RemoveDev $myObj.Hardware = $_.DeviceInfo.Label $myObj.Key = $_.Key if ($vmx.powerstate -notmatch "PoweredOn" -or $_.DeviceInfo.Label -match "USB"){$MyObj.RemoveDev = $true} else {$MyObj.RemoveDev = $false} $vUnwantedHw += $myObj | Sort Hardware } Write-Host "Here is $($VMX)'s unwanted hardware" $vUnwantedHw | Select Hardware, @{N="Can be Removed";E="RemoveDev"} | ft -AutoSize #Output for display if($ConfigureVM){# Unwanted Hardware is configured for removal $i=0 $vmConfigSpec = New-Object VMware.Vim.VirtualMachineConfigSpec foreach($dev in $vUnwantedHw){ if($dev.RemoveDev -eq $true){ $vmConfigSpec.DeviceChange += New-Object VMware.Vim.VirtualDeviceConfigSpec $vmConfigSpec.DeviceChange[$i].device = New-Object VMware.Vim.VirtualDevice $vmConfigSpec.DeviceChange[$i].device.key = $dev.Key $vmConfigSpec.DeviceChange[$i].operation = "remove" $i++ $vmxv.ReconfigVM_Task($vmConfigSpec) #!#New Location, attempting to bypass error Write-Host "Removed $($dev.Hardware)" } } # $vmxv.ReconfigVM_Task($vmConfigSpec) #!#Old location, attempting to bypass error }# Unwanted Hardware is configured for removal }
All are facing this problem, or should I just remove everything while his power, all in script?
I know the SDK Reference said you only need the Key property, but from experience I learned that it is apparently better pass the complete VirtualDevice object.
Try it like this
$NotWantedHardware = "USB|Parallel|Serial|Floppy" $ConfigureVM = $true $VMs = Get-VM $args[0] Write-Host "Unwanted VM hardware Report & Remove." foreach ($vmx in $VMs){ $vUnwantedHw = @() $vmxv = $vmx | Get-View $vmxv.Config.Hardware.Device | where {$_.DeviceInfo.Label -match $NotWantedHardware} | %{ $myObj = "" | select Hardware, Key, RemoveDev, Dev $myObj.Hardware = $_.DeviceInfo.Label $myObj.Key = $_.Key $myObj.Dev = $_ if ($vmx.powerstate -notmatch "PoweredOn" -or $_.DeviceInfo.Label -match "USB"){$MyObj.RemoveDev = $true} else {$MyObj.RemoveDev = $false} $vUnwantedHw += $myObj | Sort Hardware } Write-Host "Here is $($VMX)'s unwanted hardware" $vUnwantedHw | Select Hardware, @{N="Can be Removed";E="RemoveDev"} | ft -AutoSize #Output for display if($ConfigureVM){# Unwanted Hardware is configured for removal $vmConfigSpec = New-Object VMware.Vim.VirtualMachineConfigSpec foreach($dev in $vUnwantedHw){ if($dev.RemoveDev -eq $true){ $vmConfigSpec.DeviceChange += New-Object VMware.Vim.VirtualDeviceConfigSpec $vmConfigSpec.DeviceChange[-1].device = $dev.Dev $vmConfigSpec.DeviceChange[-1].operation = "remove" Write-Host "Removed $($dev.Hardware)" } } $vmxv.ReconfigVM_Task($vmConfigSpec) }# Unwanted Hardware is configured for removal }
Note that the index of-1 returns the last entry in a table in PowerShell, avoids having to make this variable $i :-)
-
Hello
I have a range of numbers from B2 - B11 until the G2 - G11. For example:
31
7
28
10
4
17
20
13
44
2
1
39
32
45
39
4
10
25
26
38
27
43
12
3
42
35
37
1
34
21
13
39
11
14
5
37
21
33
34
4
13
10
31
14
1
24
35
3
20
2
24
27
22
30
10
34
36
32
3
27
I would like to know who among these numbers have occurred and how many times. For example (just to have as an example): number 10 repetitions 5 times, number 13 repeated 3 times, 24 repetitions 9 times.
Repeats = duplicates.
I want to know all the repetitive number and how many times they repeat.
Is there some kind of formula I can use to get there. It would be good to have the sorted result. For example:
32 repeats 10 times
24 repeat 9 times
6 reps 8 times
5 repeat 7 times
22. repeat 6 times
10 repeats 5 times and so on.
Hello
Problem of three steps:
- Determine the distinct values
- Count the number of times each appears in the table
- Sort by value or frequency (or both).
The first step is easily handled by copy separate Automator Service, a Service of Automator, written by SGIII. A link to the file in post June 21 of the SG in this thread: Re: Analyzing column (maybe not the correct wording)
After downloading and installing the service, select the cells containing the numbers, call the service, and then select the first regular (ie. non-header) cell to a new table and the dough.
(The following assumes the new table has a header row, no column header, and you have selected - click - cell A2 before pasting.)
You will get a list of distinct numbers in a single column (A2 - A34, of your sample and support of note).
To count the numbers:
In this example, the existing table is named 'Table 1'
Enter the following formula in B2 the new table, and then fill up to the last line of the column B:
= COUNTIF (Table 1::B:G, A)
Results should be as shown:
Sort the results on column (value) or B (frequency)
Two types (A, then B) will be put in order of frequency, with values appear the same number of times sorted by value within this group.
Kind regards
Barry
Maybe you are looking for
-
Firefox does not have any problems with the pop-up unlike Thunderbird. In Thunderbird, for example of the tools pop-up window or parameters opens in tiny size and is elusive, unreadable and unclickable. That of why it is, for example, cannot print al
-
need to uninstall the update of firefox and return to ealier version
The latest version of firefox is not compatible with my Norton security - the old version was fine. I need to know how to get back to the previous version thanks
-
Sampling ports unbuffered streaming
Hello I'm trying to use a USB6356 device to sample a series of digital continuous signals (until the user presses a button), but when creating the task I have received a warning that say ports 1 and 2 do not support buffered operation. I guess that m
-
Update failed Please help.
I can't get updates update successfully, every time it's a failure, I think I may have uninstalled something by mistake and don't know what works to get my updates, everyone wants money to fix my problem, I'm hopeing someone out there can help me get
-
"LifeCam cannot find LifeCam files folder or save a file in there. For more information, see "Troubleshooting and product support" in aid of LifeCam. » It appears when I try to open the Microsoft LifeCam software. The camera to initialize not in vid