Presentation of the results help
I came across a weird result when you use the analytical LAST_VALUE function which did not work as expected. I install a simple test and it is not yet worked as I expect:create the table first_test (col1, col2, col3 date number number);
Insert Into first_test VALUES(1,100,'01-Jan-11');
Insert Into first_test VALUES(1,101,'02-Jan-11');
Insert Into first_test VALUES(1,100,'03-Jan-11');
Insert Into first_test VALUES(2,100,'01-Jan-11');
Insert Into first_test VALUES(2,101,'02-Jan-11');
Insert Into first_test VALUES(2,100,'03-Jan-11');
I then run the following query:
SELECT col1,
col2,
col3,
LAST_VALUE (col2) OVER (PARTITION BY col1 ORDER BY col3) as test
OF first_test;
All the documentation, I find, I expect that the value of the "test" column would be 100 for each record, because it should partition by col1, col3 control and then get the last value in the ordered list (100). My results look like this:
"COL1", "COL2", "COL3" 'TEST '.
1 100 1 JANUARY 11 100
1 101 2 JANUARY 11 101
1 100 100 3 JANUARY 11
2 100 1 JANUARY 11 100
2 101 2 JANUARY 11 101
2 100 100 3 JANUARY 11
I've also tested this using the FIRST_VALUE function:
SELECT col1,
col2,
col3,
FIRST_VALUE (col2) OVER (PARTITION BY col1 ORDER BY col3) as test
OF first_test;
"COL1", "COL2", "COL3" 'TEST '.
1 100 1 JANUARY 11 100
1 101 2 JANUARY 11 100
1 100 100 3 JANUARY 11
2 100 1 JANUARY 11 100
2 101 2 JANUARY 11 100
2 100 100 3 JANUARY 11
It is the result that I expect that the first value in the sorted list is 100. My DB is Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64 bit.
Did I miss something in the way it should work?
Hello
Welcome to the forum!
It's a very intuitive feature LAST_VALUE.
The best way to get the desired results is to use the FIRST_VALUE order and descending, like this:
SELECT col1,
col2,
col3,
FIRST_VALUE (col2) OVER ( PARTITION BY col1
ORDER BY col3 DESC
) AS test
FROM first_test;
The reason why LAST_VALUE didn't work as expected is to the windowing clause (or lack thereof). With any analytic function, when you use an ORDER BY clause, you can also specify a window clause, using the keyword LINE or LINES. If you do not specify a window clause, then the default value is RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW. So, if you use the default windowing clause, LAST_VALUE means the last until and including the current line , then, indeed, LAST_VALUE (col2) is just the same as col2.
With the help of FIRST_VALUE, the default windowing clause works the way you want.
To get the results you want using LAST_VALUE, you must explicitly give a windowing clause, like this:
SELECT col1,
col2,
col3,
LAST_VALUE (col2) OVER ( PARTITION BY col1
ORDER BY col3
ROWS BETWEEN CURRENT ROW
AND UNBOUNDED FOLLOWING
) AS test
FROM first_test;
Published by: Frank Kulash, August 18, 2011 15:43
Additional explanation
Tags: Database
Similar Questions
-
Presentation of the results of dbms_xplan.display_cursor
I have a complex query that the subquery factoring on database 11.2. Are there other reasons why estimated is so different from real, other than of bad stats (18th lines actually estimated vs 2208)?
Id Operation Name Starts E-Rows A-Rows A-Time Buffers Reads Writes OMem 1Mem Used-Mem 27 SORT ORDER BY 1 18E 2208 00:34.9 1987K 443 0 619K 472K 550K (0) 28 MERGE JOIN OUTER 1 18E 2208 00:34.9 1987K 443 0 29 MERGE JOIN OUTER 1 18E 2208 00:34.8 1985K 443 0 30 MERGE JOIN OUTER 1 33P 2208 00:24.9 1417K 443 0
jhoward wrote:
I have a complex query that the subquery factoring on database 11.2. Are there other reasons why estimated is so different from real, other than of bad stats (18th lines actually estimated vs 2208)?Id Operation Name Starts E-Rows A-Rows A-Time Buffers Reads Writes OMem 1Mem Used-Mem 27 SORT ORDER BY 1 18E 2208 00:34.9 1987K 443 0 619K 472K 550K (0) 28 MERGE JOIN OUTER 1 18E 2208 00:34.9 1987K 443 0 29 MERGE JOIN OUTER 1 18E 2208 00:34.8 1985K 443 0 30 MERGE JOIN OUTER 1 33P 2208 00:24.9 1417K 443 0
You're not really give people plenty of chance to help with this one. At least, you could provide the lines that feed sources of second line for 29 and 28 lines and lines that feed the two sources of input to line 30 line.
A simple guideline - when the estimates are incredibly huge, it is reasonably likely you have found a bug in the optimizer of some sort (see this blog post on a similar bug that I met with 11.1 and collections, for example: http://jonathanlewis.wordpress.com/2010/11/30/collection-costs/)
Concerning
Jonathan Lewis
http://jonathanlewis.WordPress.com
Author: core Oracle -
[JS] The event handler function is presented as the result in the ESTK
I have a ScriptUI tree, with a onExpand event, like this:
Window1.tvwTree.onExpand = function (item){ $.writeln(item.key + " is now expanded."); }
Whenever the script is run, I get this in the console to ExtendScript Toolkit Javascript:
Execution finished. Result: onExpand()
First question is: why?
Second question: what is the best and cleanest way to take care of the event onExpand? I failed to assign a function to the event of onExpand, in the same way as I do for functions without parameters.
For simple events, without parameters, I did like this:
Window1.....DropDownList2.onChange = cboNewLanguage_onChange;
... but the onExpand event has its parameter to "point" to take care of, and I can't seem to assign the function in a similar way. Please enlighten me.
(It would be possible to use a prototype approach, events like this? Get a common function for all events of onExpand...?)
Thank you
Andreas
Hi Andreas,
First question: what is supposed to be item.key? Did extend you the ListItem properties?
How assign you the function of onExpand seems correct to me. The following code should work:
var myExpandHandler = function(/*ListItem*/ item) { // this => TreeView // item => expanded ListItem alert( item.text + ' is now expanded.' ); }; myTree.onExpand = myExpandHandler;
Alternatively, you can create a generic handler in the prototype of TreeView :
TreeView.prototype.onExpand = function(/*ListItem*/ item) { // this => TreeView // item => expanded ListItem alert( item.text + ' is now expanded.' ); };
Works for me in CS4 & CS5 +.
Note: the onExpand function has no equivalent event listener, you cannot use the form:
.addEventListener ('expand', myEventListener) .I don't know why your script causes the ESTK console display "result: onExpand() '. Your code probably contains the corresponding $.writeln somewhere, isn't? In addition, consider that if your user interface code uses something like myListItem.expanded = true; then the onExpand handler is called before win.show (). This may explain the unexpected reactions in the console (?)
@+
Marc
-
The Variable value based on the results of SQL query
With the help of OBIEE 11.1
Is it possible to set the value of a variable presentation of the results of a SQL statement?
Scenario:
I have 2 topics.
SubjectArea1
Text1
Date1
SubjectArea2
Field1
Field2
UpdateDate
I have an analysis that uses only the SubjectArea2.
Using a dashboard quickly, the user must be able to select Text1 in the other topic area (SubjectArea1).
Assuming that selection will be stored in a variable of presentation (SelectedText),
The filter in the analysis should be something like
Upper UpdateDate to @{SelectedDate}
How can I set a variable (SelectedDate) using a SQL statement?
Something like this:
SELECT "Date1" TO "SubjectArea1" WHERE "Text1" = @{SelectedText}
So the command prompt text selection should give a date that is used to filter the second review?
If so:
The prompt on SA1.textCol
hidden analysis who is invited on SA1.texCol has SA1.dateCol in the criteria
Analysis SA2.dateCol is filetered on basis of the results of another analysis (any value analysis hidden SA1.dateCol)
-
Can someone help me interpret the results of a log cbs.log file?
My laptop worked little strange - gel sometimes and only excessively slow. I ran chkdsk /f checks and / r. Both went well. I then ran sfc/scannow. The results of this analysis are displayed below. I'm not a pc expert, so I don't know if I'm all together or if there is something else, I have to do. Specifically, the last line of the cbs.log file says, "Verify and Repair Transaction completed. All of the files and registry keys listed in the framework of this operation were properly repaired".
Any help would be appreciated! Sorry for the text copy/pasted for a long time. I cut about 99% of the out and about 1% of the folder (due to a limit of 60 000 characters) just left. I couldn't find a way to attach a file.
Thank you!
POQ 64 ends.
2012-10-09 22:06:25, Info CSI 00000171 [SR] check complete
2012-10-09 22:06:26, info CSI 00000172 [SR] components check 100 (0 x 0000000000000064)
2012-10-09 22:06:26, transaction Info CSI 00000173 [SR] beginning verify and repair
2012-10-09 22:06:37, info CSI 00000174 Member \SystemRoot\WinSxS\amd64_microsoft-windows-sidebar_31bf3856ad364e35_6.0.6002.18005_none_2ce6c04cdc275758\settings.ini file hashes are not actual file [l:24 {12}] "settings.ini": "
Found: {l:32 b:sKFy6962 + 2YBWdYMZ6Z/UOVMGpEOdEczYmmYd2o9CE4 =} expected: {l:32 = b:v6OQf2AJO5FVbRBJuIwXxkdkCoOaSk3y0ol6uTH491o}
2012-10-09 22:06:37, info CSI 00000175 [SR] cannot repair the military record [l:24 {12}] "settings.ini" Microsoft-Windows-Sidebar, Version = 6.0.6002.18005, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), the Culture neutral, VersionScope is 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "
2012-10-09 22:06:40, info CSI 00000176 Member \SystemRoot\WinSxS\amd64_microsoft-windows-sidebar_31bf3856ad364e35_6.0.6002.18005_none_2ce6c04cdc275758\settings.ini file hashes are not actual file [l:24 {12}] "settings.ini": "
Found: {l:32 b:sKFy6962 + 2YBWdYMZ6Z/UOVMGpEOdEczYmmYd2o9CE4 =} expected: {l:32 = b:v6OQf2AJO5FVbRBJuIwXxkdkCoOaSk3y0ol6uTH491o}
2012-10-09 22:06:40, info CSI 00000177 [SR] cannot repair the military record [l:24 {12}] "settings.ini" Microsoft-Windows-Sidebar, Version = 6.0.6002.18005, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), the Culture neutral, VersionScope is 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "
2012-10-09 22:06:40, info CSI 00000178 [SR] this element is referenced by [l:162 {81}] "' Package_17_for_KB948465 ~ 31bf3856ad364e35 ~ amd64 ~ ~ 6.0.1.18005.948465 - 60_neutral_GDR" "
2012-10-09 22:06:41, Info CSI 00000179 repair results created:
POQ 65 begins:
2012-10-09 22:17:24, info CSI 00000301 [SR] cannot repair the military record [l:24 {12}] "settings.ini" Microsoft-Windows-Sidebar, Version = 6.0.6002.18005, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), the Culture neutral, VersionScope is 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "
2012-10-09 22:17:24, info CSI 00000302 Member \SystemRoot\WinSxS\amd64_microsoft-windows-sidebar_31bf3856ad364e35_6.0.6002.18005_none_2ce6c04cdc275758\settings.ini file hashes are not actual file [l:24 {12}] "settings.ini": "
Found: {l:32 b:sKFy6962 + 2YBWdYMZ6Z/UOVMGpEOdEczYmmYd2o9CE4 =} expected: {l:32 = b:v6OQf2AJO5FVbRBJuIwXxkdkCoOaSk3y0ol6uTH491o}
2012-10-09 22:17:24, info CSI 00000303 [SR] cannot repair the military record [l:24 {12}] "settings.ini" Microsoft-Windows-Sidebar, Version = 6.0.6002.18005, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), the Culture neutral, VersionScope is 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "
2012-10-09 22:17:24, Info CSI 00000304 [SR] this element is referenced by [l:162 {81}] "' Package_17_for_KB948465 ~ 31bf3856ad364e35 ~ amd64 ~ ~ 6.0.1.18005.948465 - 60_neutral_GDR" "
2012-10-09 22:17:24, info CSI 00000305 hashes for Member file? \C:\Windows\PolicyDefinitions\inetres.ADMX are not real file [l:24 {12}] "inetres.admx": "
Found: {l:32 b:DjclSPQ + c3ju7E53XXW47eR94SH7ICruHSUKg8YAkO0 =} expected: {l:32 b:3 T / Xc + 0 k/wBxJ4k/vlPd86jLOYtWOjRsHrz0hHH9H8s =}
2012-10-09 22:13:42, CSI 0000027e Info [SR] repair corrupted file [ml:520 {260}, l:64 {32}] '------? \C:\windows\policydefinitions"\[l:24{12}]"Inetres.ADMX' of the store
2012-10-09 22:13:42, CSI Info 0000027f WARNING: file [l:24 {12}] "inetres.admx" in [l:64 {32}] '-? ' "" \C:\windows\policydefinitions' switching property
Old: Microsoft-Windows-InetRes-Adm, Version = 9.1.8112.16421, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
New: Microsoft-Windows-InetRes-Adm, Version = 8.0.6001.18702, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
2012-10-09 22:13:44, info CSI 00000280 hashes for Member file? \C:\Windows\PolicyDefinitions\en-US\InetRes.adml are not real file [l:24 {12}] "InetRes.adml": "
Found: {l:32 b:8uqfOni5TmKQ2 + wymJKX9uLDOmUV2H1RKpYV3gacaRw =} expected: {l:32 = b:f2Ca02GHu2Yr3ccXiLvfpdfLkfeeDX2UExmZb6pQm2U}
2012-10-09 22:13:44, info CSI 00000281 [SR] repair file corrupted [ml:520 {260}, l:76 {38}] '------? \C:\Windows\PolicyDefinitions\en-us"\[l:24{12}]"InetRes.adml' of the store
2012-10-09 22:13:44, info CSI 00000282 WARNING: file [l:24 {12}] "InetRes.adml" in [l:76 {38}] '-? ' "" \C:\Windows\PolicyDefinitions\en-us' switching property
Old: Microsoft-Windows-InetRes - Adm.Resources, Version = 9.1.8112.16421, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture = [l:10 {5}] 'en-US', VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
New: Microsoft-Windows-InetRes - Adm.Resources, Version = 8.0.6001.18702, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture = [l:10 {5}] 'en-US', VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
2012-10-09 22:17:25, 00000306 CSI info [SR] repair corrupted file [ml:520 {260}, l:64 {32}] '------? \C:\windows\policydefinitions"\[l:24{12}]"Inetres.ADMX' of the store
2012-10-09 22:17:25, info CSI 00000307 WARNING: file [l:24 {12}] "inetres.admx" in [l:64 {32}] '-? ' "" \C:\windows\policydefinitions' switching property
Old: Microsoft-Windows-InetRes-Adm, Version = 9.1.8112.16421, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
New: Microsoft-Windows-InetRes-Adm, Version = 8.0.6001.18702, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
2012-10-09 22:17:25, info CSI 00000308 hashes for Member file? \C:\Windows\PolicyDefinitions\en-US\InetRes.adml are not real file [l:24 {12}] "InetRes.adml": "
Found: {l:32 b:8uqfOni5TmKQ2 + wymJKX9uLDOmUV2H1RKpYV3gacaRw =} expected: {l:32 = b:f2Ca02GHu2Yr3ccXiLvfpdfLkfeeDX2UExmZb6pQm2U}
2012-10-09 22:17:25, 00000309 CSI info [SR] repair corrupted file [ml:520 {260}, l:76 {38}] '------? \C:\Windows\PolicyDefinitions\en-us"\[l:24{12}]"InetRes.adml' of the store
2012-10-09 22:17:25, CSI Info 0000030a WARNING: file [l:24 {12}] "InetRes.adml" in [l:76 {38}] '-? ' "" \C:\Windows\PolicyDefinitions\en-us' switching property
Old: Microsoft-Windows-InetRes - Adm.Resources, Version = 9.1.8112.16421, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture = [l:10 {5}] 'en-US', VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
New: Microsoft-Windows-InetRes - Adm.Resources, Version = 8.0.6001.18702, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture = [l:10 {5}] 'en-US', VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
2012-10-09 22:17:25, created results CSI 0000030b repair Info:
POQ 127 ends.
2012-10-09 22:17:25, all repairs [SR] CSI Info 0000030 c
2012-10-09 22:17:25, CSI Info 0000030 d [SR] validation of transaction
2012-10-09 22:17:25, transaction CSI Info 0000030e Creating NT (seq 1), objectname [6] "(null) '"
2012-10-09 22:17:25, CSI Info 0000030f NT created transaction (seq 1) result 0x00000000, manage @0x14c4
2012-10-09 22:17:25, Info CSI 00000310@2012/10/10:02:17:25.662 CSI perf trace:
CSIPERF:TXCOMMIT; 143298
2012-10-09 22:17:25, Info CSI 00000311 [SR] check and complete repair operation. All of the files and registry keys listed in this operation were repaired successfullyHello
As noted at the end of your message SFC/scannow points out that there is no rest
questions that he can fix.More information on how to easily read the important information as SFC/scannow
adds to the cbs.log.Many files that SFC cannot resolve are not important.
Start - type in the search box-> find CMD in top - click right on - RUN AS ADMIN
put the command from below (copy and paste) in this box and her and then press ENTER.
findstr/c: "[SR]" %windir%\logs\cbs\cbs.log > sfcdetails.txt
who creates the sfcdetails.txt file in the folder that you are in when you run it.
So if you're in C:\Windows\System32 > then you will need to look in that folder for the file.
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
in Windows Vista
http://support.Microsoft.com/kb/928228This creates sfcdetails.txt in C:\Windows\System32 find and you can post the errors in a message
here. NOTE: there are probably duplicates so please only post once each section error.You can read the newspaper/txt files easier if you right click on Notepad or Wordpad then RUN AS ADMIN - then
You can navigate to sfcdetails.txt (in C:\Windows\System32) or cbs.log (in C:\Windows\Logs) as needed.
(You may need to search sfcdetails.txt if it is not created in the default folders.)=======================================================
Troubleshooting:
Use the startup clean and other methods to try to determine the cause of and eliminate
the questions.---------------------------------------------------------------
What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER
on this machine, including those you have uninstalled (they leave leftovers behind which can cause
strange problems).----------------------------------------------------
Follow these steps:
Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN
Enter this at the command prompt - sfc/scannow
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
generates in Windows Vista cbs.log
http://support.Microsoft.com/kb/928228Also run CheckDisk, so we cannot exclude as much as possible of the corruption.
How to run the check disk at startup in Vista
http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html==========================================
After the foregoing:
How to troubleshoot a problem by performing a clean boot in Windows Vista
http://support.Microsoft.com/kb/929135
How to troubleshoot performance issues in Windows Vista
http://support.Microsoft.com/kb/950685Optimize the performance of Microsoft Windows Vista
http://support.Microsoft.com/kb/959062
To see everything that is in charge of startup - wait a few minutes with nothing to do - then right-click
Taskbar - the Task Manager process - take a look at stored by - Services - this is a quick way
reference (if you have a small box at the bottom left - show for all users, then check that).How to check and change Vista startup programs
http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.htmlA quick check to see that load method 2 is - using MSCONFIG then put a list of
those here.
--------------------------------------------------------------------Tools that should help you:
Process Explorer - free - find out which files, key of registry and other objects processes have opened.
What DLLs they have loaded and more. This exceptionally effective utility will show you even who has
each process.
http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspxAutoruns - free - see what programs are configured to start automatically when you start your system
and you log in. Autoruns also shows you the full list of registry and file locations where applications can
Configure auto-start settings.
http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspxThere are many excellent free tools from Sysinternals
http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx-Free - WhatsInStartUP this utility displays the list of all applications that are loaded automatically
When Windows starts. For each request, the following information is displayed: Type of startup (registry/Startup folder), Command - Line String, the product name, Version of the file, the name of the company;
Location in the registry or the file system and more. It allows you to easily disable or remove unwanted
a program that runs in your Windows startup.
http://www.NirSoft.NET/utils/what_run_in_startup.htmlThere are many excellent free tools to NirSoft
http://www.NirSoft.NET/utils/index.htmlWindow Watcher - free - do you know what is running on your computer? Maybe not. The window
Watcher says it all, reporting of any window created by running programs, if the window
is visible or not.
http://www.KarenWare.com/PowerTools/ptwinwatch.aspMany excellent free tools and an excellent newsletter at Karenware
http://www.KarenWare.com/===========================================
Vista and Windows 7 updated drivers love then here's how update the most important.
This is my generic how updates of appropriate driver:
This utility, it is easy see which versions are loaded:
-Free - DriverView utility displays the list of all device drivers currently loaded on your system.
For each driver in the list, additional useful information is displayed: load address of the driver,
Description, version, product name, company that created the driver and more.
http://www.NirSoft.NET/utils/DriverView.htmlFor drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
Control Panel - device - Graphics Manager - note the brand and complete model
your video card - double - tab of the driver - write version information. Now, click on update
Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
Uninstall - REBOOT it will refresh the driver stack.Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
with their own software and drivers and all other main drivers that you have.Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
BIOS, Chipset and software updates on the site of the manufacturer of the system here.)Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
each installation.Always check in the Device Manager - drivers tab to be sure the version you actually install
presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
in particular that) so to install a driver - reboot - check that it is installed and repeat as
necessary.Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
manually by model.Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htmHow to install a device driver in Vista Device Manager
http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.htmlIf you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
Updates, that leaves about Windows updates but it will not install the drivers that will be generally
older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
get new manually if you wish.How to disable automatic driver Installation in Windows Vista - drivers
http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx===========================================
Refer to these discussions because many more excellent advice however don't forget to check your antivirus
programs, the main drivers and BIOS update and also solve the problems with the cleanboot method
first.Problems with the overall speed of the system and performance
http://support.Microsoft.com/GP/slow_windows_performance/en-usPerformance and Maintenance Tips
http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/19e5d6c3-BF07-49ac-a2fa-6718c988f125Explorer Windows stopped working
http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/6ab02526-5071-4DCC-895F-d90202bad8b3I hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
Help Removeing all the commas of the results table.
Good afternoon al,.
I'm pretty new on Oracle SQL developer and need a little help to find the best way to replace all commas in a table of results with ' > '.
I run a select statement:
SELECT
WHERECLAUSEVALUE
Of
FDM_SAB. TDATAMAP
ORDER BY WHERECLAUSEVALUE ASC
To produce a very simple table with 1 column. (see bleow):
*
*
*
*
00000,50000
00000,50000
00000,50000
00000,50000
00000,50000
00000,50000
As you can see some of the results contains a comma then a space, I'm looking to replace the "," (comma and space) with ' > ' (greater-than sign in). I guess this is done at a point with the function replace but have had no luck so far.
Any help would be greatly appreciated. Thank you very much
CharlieP.S. I'm new to this forum and this is my first post here; I apologize if my question is not clear or I don't give enough information.
Replace (columnname, ',' > ')
Should work for you.
If this isn't the case, please post what you've tried and show the results you get.
-
Need help with the analytical function select maximum and minimum of the results of the column
Hey there OTN.
I have an interesting application that I was hoping you would be able to help me with. I have a requirement to conditionally select the max and min of a column in bi-editor and since my editor works from an OBIEE analysis, I need store MAX and MIN of the column values in separate columns to match with. See the example below. You will notice that there are 4 stores including today's sales. I must have OBIEE through all the results of the column for sales, then choose the max of the dataset object. I can't use MAX here because he will choose the MAX of the line which will return only sales of this line. Instead, one must analyze all sales results and choose the appropriate column. Any idea on how to do this in OBIEE/publisher? Or is this not possible.
Day Store Sales Sales of MAX Sales MIN 05/11/15 Store 1 5000 8000 1000 05/11/15 Store 2 7500 8000 1000 05/11/15 Store 3 1000 8000 1000 05/11/15 Store 4 8000 8000 1000 I'm waiting for your answers. Thanks in advance!
PS: I will always mark messages that are useful and eventually mark it as correct answer if we come to a resolution!
See you soon.
You can't do the same thing with RANK ("dirty")?
Rank ("dirty") = 1: the max value in the result of sales
RANK (-1 * "Sales") = 1: the min in the result of sales value
I guess you can and then format the cells based on these values, where a value of 1 is the max or min according to the RANKING formula you used...
-
They showed me that I had to update my Ps when I did by me in to the trial version, and according to the account record, I always PRESENTED as the full version, any help?
Try to connect, and then reconnect.
-
Help with the query to select only one record from the result set in double
Hello
Please help with the query. Version of Oracle database we use is 10g R2.
I have a vision that is duplicated IDS, but they are used across the different functions. See below examples of data. Please help me with a query to select only one record (based on ID regardless of the area) from the bottom of the result set of duplicate records. For what is the point of view is there unique records, given the combination of the fields ID, Org, DF, dry, Sub-Sec
ID Org DF Sec Sub-Sec (163) CQ CPDM CPDM HD (163) PC ENG ENG ENG (163) CQ ASIC ASIC IS 8888 TS TAC TAC TAC (163) TS HE HE SW 6789 CQ INFO INFO FOS 6789 PC SECSYS SECSYS INFO1 6789 TS SECSYS SECSYS INFO2 9009 PC BMS BMS BMS1 My result set must eliminate the duplicate identifiers regardless of whoever we choose of the result set. (I mean without distinction Org, DF, s, Sub-s). My expected result set should be.
ID DSB DF SEC Sub-Sec (163) CQ CPDM CPDM HD 8888 TS TAC TAC TAC 6789 CQ INFO INFO FOS 9009 PC BMS BMS BMS1 Thank you
Orton
Hello
This sounds like a job for ROW_NUMBER:
WITH got_r_num AS
(
SELECT id, DSB, df, s, sub_sec org
ROW_NUMBER () OVER (PARTITION BY ID.
ORDER BY org
) AS r_num
OF view_x
)
SELECT id, DSB, df, sub_sec s,
OF got_r_num
WHERE r_num = 1
;
He is a Top - N query example, where you choose the elements of N (N = 1 in this case) from the top of an ordered list.
I hope that answers your question.
If not, post a small example of data (CREATE TABLE and INSERT, only relevant columns instructions) to your sample data and the results desired from these data. (I know that you said that you were a view selection. Just for this thread, pretending it is a picture and post simple CREATE TABLE and INSERT statements to simulate your point of view).
Point where the above query is to produce erroneous results, and explain, using specific examples, how you get the right results from data provided in these places. (I didn't quite understand the explanation above. I don't know why you want toID ORG DF DRY SUB_SEC
-- --- -- --- -------
1234 CQ DPRK DPRK HD
and is not
1234 IS CQ ASIC, ASIC
or
TS 1234 IT IT SW
or
1234 CQ ASIC ASIC HD
)
If you change the query at all, post your modified version.
Always say what version of Oracle you are using (for example, 11.2.0.2.0).See the FAQ forum: https://forums.oracle.com/message/9362002
-
My project will not move past slide 7. I created a new project using a ppt presentation and the porject won't move past slide 7 even in preview. Help?
I was pulling the presentation ppt to a network drive, so he didn't fully assume. I saved the presentation on my desk and imported again and it worked fine.
-
Need help to calculate the start and end time and place the result in a term like text box
I did a search on the forum for calculating start and end time and found the code depending on which I am using as a formcalc on the duration field.
==============================================================
Form1. Page1.duration::calculate - (FormCalc, client)
If (HasValue (StartTime) and HasValue (EndTime)) then
industrial var = Time2Num (StartTime.formattedValue, "h: mm A")
var = Time2Num out_ (EndTime.formattedValue, "h: mm A")
If (IN2 > = out_) then
xfa.host.messageBox ("start time cannot be greater than or equal to the end time.")
$.rawValue = null
on the other
var out_ - IN2 = diff
$.rawValue = diff/3600000
endif
on the other
$.rawValue = null
endif
=============================================================
Then, when I enter for example from 15:30, an hour of beginning and end of 04:00
The duration field will say 0.5
How can I get my form to say 30 minutes instead of placing a decimal?
Secondly, how can I use field models LC where the employee can just type 330 or 03:30 and it automatically based on the computer's clock on time to start 15:30?
Any help will be greatly appreciated. Thank you.Attached is the form for display:
https://Acrobat.com/#d=f1kxh5qjuow5ujyZduF8OQ
To view the results in a regular time format, you can use:
$.rawValue = Num2Time (diff/3600000, "HH: mm")
For a flexible time entry check this example.
http://thelivecycle.blogspot.com/2011/05/flexible-Eingabe-von-Daten-und-Zeiten.html
-
Firefox used to select distinctly the sites already visited when returning to a results page.
It is also used to 'snap' to the area from the results page just visited.
This seems more to happen. Please notifyGo to tools in your menu bar, then options. Where we see Firefox goes..., click the menu drop-down and click on do not forget history, and then click OK. Waalaa. your websites is highlighted in pink. Good luck. Lynne
-
Wireless adapter is no longer present in the Device Manager
Hello
I have an Asus laptop 1015E (http://www.asus.com/us/Notebooks_Ultrabooks/1015E/#overview) running Windows 8. I don't know when it happened, but the built-in wireless adapter is no longer present in the Device Manager. I tried to use the Asus install app to reinstall the driver Asus Wireless Radio control, but it just says: it is already installed. I also went to the site of asus via an ethernet connection and tried to download the latest drivers for wireless card, but installation cannot. It seems as if the laptop detects most hardware, so I can't install driver software. Any ideas on how to proceed?Thank youHi wolves.
Do you receive an error message/code?
When a device does not work, it's mostly because the driver has been corrupted.
Here are some ways you can follow to resolve the problem:
Method 1:
Check out the link and follow the steps in the article:
How can I troubleshoot network card?
http://Windows.Microsoft.com/en-in/Windows-8/fix-network-adapter-problems#
Method 2:
You will need to install the Chipset Drivers first and later network adapter drivers.
Reference:
http://www.ASUS.com/us/supportonly/Drivers_For_Win8/#support_Download_36
Method 3:
Check the BIOS of the laptop to check that there isn't an option to toggle the map.
Note: You can contact the manufacturer of the computer, if you are not comfortable access or make changes in the BIOS.
Note: Changing the BIOS / semiconductor (CMOS) to complementary metal oxide settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.
In addition, contact the OEM of your system and see if they can replace the adapter or run a test to make sure that the adapter is working properly.
I hope this helps. If you have any other queries/issues related to Windows, write us and we will be happy to help you further.
-
JavaScript Confirm box depends on the results of query
Hello
I use Apex version 3.2.1 and I'm looking for a way to do the following, any help much appreciated:
A javascript confirm will appear when the user sends a page if the result of a query returns something, the query should look like this...
SELECT * FROM LINKEDPROJECTS
WHERE ENV_ID =: P18_ENV_ID
AND ID_COMP =: P18_COMP_ID
AND DATE_FROM < = to_date (: P18_DATE_TO, 'DD-MON-YY')
AND DATE_TO > = to_date (: P18_DATE_FROM, 'DD-MON-YY')
If it returns no data page will present as usual, if it does not return the data from the confirmation box will appear, and the message will be also the result of a query-driven.
If the message would be something like...
Project (s) + "select the NAME OF PROJECTS WHERE ID IN (SELECT PROJ_ID FROM LINKEDPROJECTS WHERE ENV_ID =: P18_ENV_ID +)"
+ AND IDENTIFIANT_COMPOSANT =: P18_COMP_ID +.
+ AND DATE_FROM < = to_date(:P18_DATE_TO, 'DD-MON-YY') +.
+ AND DATE_TO > = to_date (: P18_DATE_FROM, ' MON-JJ-AA "") "+ have this environment for the dates you selected. Do you want to continue with the reservation?
By selecting Yes submits the page, select no hands it to the page.Had this work now, if it can help someone else out there that's what looked like my javascript in the end...
function beforeSubmit() {
var env_id = document.getElementById('P18_ENV_ID').value;
var comp_id = document.getElementById('P18_COMP_ID').value;
var date_from = document.getElementById('P18_DATE_FROM').value;
var date_to = document.getElementById('P18_DATE_TO').value;
var get = new htmldb_Get(null,html_GetElement('pFlowId').value, 'APPLICATION_PROCESS=BOOKEDVALIDATION',0);
get.add ('P18_ENV_ID',env_id);
get.add ('P18_COMP_ID',comp_id);
get.add ('P18_DATE_FROM',date_from);
get.add ('P18_DATE_TO',date_to);
var gReturn = get.get();
if (gReturn =="")
{
doSubmit('CREATE');
}
else
{
var answer=confirm("This environment is booked to following project(s) on the dates specified, do you want to continue with the booking?" + gReturn);
if(answer)
{
doSubmit('CREATE');
}
else{}
}
} -
error to save the result of the application of the MDS research
Hi all
I'm developing a web ADF customizable appicatoion using jdeveloper 11.1.2.0
It works fine when I deploy this application on the metadata repository, but when I save a search result in the search panel it gives following error "you are not allowed to replace this search."
It's my setup in the ADF-Config file
persistence-config <>
<>metadata-namespaces
< metadata-store-use namespace = "MAR_TargetRepos" path = "/ page" / >
< / metadata namespaces >
< metadata-store-uses >
< by default-cust-store of metadata-store-use = "true" deploy target = "true" id = "MAR_TargetRepos" >
< class name of metadata store = "oracle.mds.persistence.stores.db.DBMetadataStore" >
< property value = "SDM - csd" name = "name of the repository" / >
< property value = ' jdbc/mds/csd' name = "jndi datasource" / >
< property value = "GOSA" name = "name of the partition" / >
< / metadata store >
< / metadata-store-use >
< / metadata-store-uses >
< / persistence-config >
Please help me solve this errorHello
you try to modify a system search, which is not allowed for customization. You can save searches customized in MDS, but do not replace system research
+ 'Query component are now supported the substitution of the saved search feature. When the user clicks on the button "Save...". ', "Create Saved Search" dialog box comes up with field filled with the currently saved search name selected. If the user enters a name of "Research system" and click OK button, an error dialog box indicating "you are not allowed to replace this search:" is displayed. If user enters an already existing, registered the search name then a warning dialog stating "replace the existing search:" is displayed. Clicking OK existing research is replaced with the new definition. If a name is not already present in the list of saved search is provided, a new search with the given name is created. To do this, a new QueryOperationEvent.Operation.OVERRIDE event is added. +
+ Query component now allows the removal of the saved search is currently active research in the query Panel. When the user deletes the currently active saved search, define us the first search system-search as the active search list and refresh the query Panel during a "personalized Saved Search' dialog box is closed. "+
http://jdevadf.Oracle.com/ADF-richclient-demo/docs/release-notes.html
Frank
Maybe you are looking for
-
Removal of the Photos from the iPhone
I use iCloud for Photos. Can I delete photos from my iPhone without deleting in the iCloud? Thank you Ralph Saperstein
-
Windows Server 2012 R2 Standard Radius Client support
Hi team, In 2012 R2, the NPS Service server used for authentication. It uses the Radius Clients as authenticator. There is no online documents about the number of clients supported by the Windows Server 2012 R2 Standard Edition and Datacenter. Might
-
I want to know the basic architecture behind the values we assign to records. What is a high level programming or programming in Assembly language? I m in for microprocessor 8085 Assembly language programming and is a site of my interest. I can also
-
Lenses and camera full photo frame
I currently have the 1100D, and I could soon get the 5 d Mark II. I just need to know if my lenses are compatible with the Mark II. My lenses are: 28-105mm and 90-300mm. My lenses are compatible with this camera? Thanks in advance!
-
want to DUMP windows 7 and go back to Vista
want to DUMP windows 7 and go back to Vista