Equium - how to set silent mode for CD player?
Hi, I have Toshiba laptop Equium series and recently I had to reinstall my Windows Vista.
And now my CD is very noisy when read data CD and the whole notebook trembles.
I remember that when I have both that there was some option to put it in quite mode.
I download a firmware from this site, but there for another CD.
So I'll be very grateful if someone told me how to make completely new.
The CD-ROM is MAST * a DVD-RAM UJ-850 s
Hello!
I put t know what laptop you have, but you can download on the European site of Toshiba acoustic silencer.
http://EU.computers.Toshiba-Europe.com-online decision-making supported Downloads & => Download drivers
On my Satellite L300, I use the acoustic silencer, and I like it. If I watch a DVD or listen to music from the CD, I put the silent mode.
Good bye
Tags: Toshiba
Similar Questions
-
How to set the clock for the hours, minutes, and seconds with Windows XP
How to set the clock for the hours, minutes, and seconds with Windows XP
I don't know of your question. If you ask how to show the clock in the tray system with hours, minutes and seconds, then download & run "Tclock Light". Windows will not natively display the seconds.
TClock Light: <> http://homepage1.nifty.com/kazubon/tclocklight/index.html >
HTH,
JW -
How to set up checkboxes for SelectManyCheckbox programmatically?
Hello experts!
Please help me with my question.
I work with Jdeveloper 12.2.1.0.0
I have SelectManyCheckboxaf:selectManyCheckbox
<af:selectManyCheckbox id="my_selectManyCheckbox" valueChangeListener="#{TasksFilterBean.onTasksFilterPriorityChanged}" autoSubmit="true" required="false"> <af:selectItem label="High" value="1" id="si4"/> <af:selectItem label="Middle" value="2" id="si5"/> <af:selectItem label="Low" value="3" id="si6"/> </af:selectManyCheckbox>
And I need to configure programmatically check boxes.
I found this item the bean.
*** RichSelectManyCheckbox my_selectManyCheckbox = (RichSelectManyCheckbox)task_page.findComponent("my_selectManyCheckbox"); _logger.info("my_selectManyCheckbox: " + my_selectManyCheckbox);
And question.
How to set up checkboxes for SelectManyCheckbox programmatically?
For example.
I want to configure environment checkbox to activate.
How to do this?
PS. I'm tempted to find the solution, before you create new discussion.
I added the SelectManyCheckbox property:
value="#{TasksFilterBean.selectedCheckboxes}"
And I added some methods in the bean:
private List
selectedCheckboxes; public void setSelectedCheckboxes(List selectedCheckboxes) { this.selectedCheckboxes = selectedCheckboxes; } public List getSelectedCheckboxes() { List selectedCheckboxes = new ArrayList (); selectedCheckboxes.add("2"); return selectedCheckboxes; } And now everything works.
=================================
Now I CAT change bean like this:
private List
selectedCheckboxes; public void setSelectedCheckboxes(List selectedCheckboxes) { this.selectedCheckboxes = selectedCheckboxes; } public List getSelectedCheckboxes() { // List selectedCheckboxes = new ArrayList (); // selectedCheckboxes.add("2"); return selectedCheckboxes; } And now I can then use:
RichSelectManyCheckbox my_selectManyCheckbox= (RichSelectManyCheckbox)task_filter_page_template.findComponent("my_selectManyCheckbox"); my_selectManyCheckbox.setValue("1");
That all.
Thank you all.
Especially at Jiri.Machotka - Oracle
===========
UPD. I'm sorry. It looks like I can configure values to 1 item on SelectManyCheckbox without bean methods.
And with the above example, I had problems when I unckeked all the check boxes.
-
How to set a password for the networks?
Original title: related networks
Hi, my request is how to set a password for networks
Hello Manu,
I suggest to follow the steps below and check the steps in the section to change the homegroup password , if it helps.
Homegroup from start to finish
Let us know the status.
-
How to set the color for background ChoiceBox point to ChoiceBox with css?
How to set the color for background ChoiceBox point to ChoiceBox with css?
I need to change the backgound color list items.
I tried with the following code, but it's not help to:
{.context-menu .choice-box
-fx-background-color: Red;
}
.choice-box .menu-item {}
-fx-background-color: red;
}
In Java 8, either of your selectors should work.
In Java 7 (JavaFX 2.2), you need of the following workaround:
#choice-box-menu-item { -fx-background-color: red ; }
-
How to set up email for provider VDC alerts
Hi any advise how to set up alerts for vdc provider as low on storage etc. on VCD?
Thanks for any info
Emails are sent when a data store changes from green to yellow, yellow to red.
To change WHEN these data storages are at these levels, you can get the properties on a data store. These are set by the GB left on the data store.
System-> monitor-> data warehouses and handle-> RightClick:Properties
* Yellow disk space threshold:
* Red disk space threshold:
I hope this helps.
-
How to protect my plugin (for the player) before the application of Adobe
Hello
I would like to know how can I protect my plugin technology before showing it to Adobe employees through the application process. Is there a risk of having the stolen idea? Thank you
You need ot the document than the parts where it interacts with the drive itself. We want to make sure that you are not adding features to the reader that are already in Acrobat.
From: Adobe Forums [email protected]<>[email protected]>
Reply-To: "[email protected]<>[email protected]> ' [email protected]<>[email protected]>" "
Date: Wednesday, October 26, 2011 04:30:47-0700
To: Leonard Rosenthol [email protected]<>[email protected]>
Topic: How to protect my plugin (for the player) before the application of Adobe
Re: How to protect my plugin (for the reader) prior to application of Adobe
created by DevAcrohttp://forums.adobe.com/people/DevAcro> in Acrobat SDK - see the discussion complete onhttp://forums.adobe.com/message/3990776#3990776
-
Silent mode - for a period of time only. After update to Android 6.0
Hello
Cannot know how to silently for a more predefined period of time. Marshmallows before we had the choice to put this silent mode should just modified for the next 30 minutes, two hours etc. It is a very nice feature for me, because too often I forgot to turn on sounds after a meeting.
Before this feature came in the Android, I used an app that defined silent mode with a timer. Do I have to re - install an application like that?
I found where you can set (by chance) all trying to solve my problem.
If you access do not disturb in the menu drop-down (if it is not there then it is one of the icons you add to the grid) when you select the option it offers the possibility of no end or for a period of time time.
I am happy I found it too since I also use it when I go to meetings.
-
How to set the Mode of Cluster VCA PowerCLI
Friends,
I'm looking for a way to use PowerCLI to set the Mode of CVS in a cluster. It does not appear that CVO is addressable from New-Cluster or Cluster Set cmdlets. I can find the property in two locations:
- (Get-Cluster "Name of the Cluster"). ExtensionData.Summary.CurrentEVCModeKey
- (Get-Cluster "Cluster name" |) Get - View). Summary.CurrentEVCModeKey
If I do Get-Member on the summary object, in my view, the CurrentEVCModeKey is read/write ({get; set ;}) property but how do I display the set method?})
CurrentEVCModeKey Property System.String CurrentEVCModeKey {get;set;}
I tried to assign a value to the property without success.
$clusView.Summary.CurrentEVCModeKey = "" #Should disable VMware EVC
It seemed just to update the property in the RAM on my laptop and not to save the new property in the cluster.I looked in the Set-VMHostAdvancedConfiguration cmdlet help, but this property is a property of cluster, not a host.
Someone had a bit of luck the configuration of this feature with PowerClI?
Thank you
-James
I don't think CVS functionality is exposed through the current implementation of the API.
See also this older thread called How to set HA host Isolation response and activate VCA with PowerCLI.
- (Get-Cluster "Name of the Cluster"). ExtensionData.Summary.CurrentEVCModeKey
-
Installation in silent mode for CS5.5?
I was able to get a silent installation for the DPS tools work very well for CS6 (v27), but I did find a method effective for CS5.5 (v27), set apart from the use of JAMF to perform monitoring of file system.
The commands I tried:
sudo /Adobe/DPS/r27/cs5.5fp/Install.app/Contents/MacOS/Install--mode = Silent
Starting the installer...
In silent mode.
Successful installation.
Leave the installer with the Code: 0
&
sudo /Adobe/DPS/r27/cs5.5fb/Install.app/Contents/MacOS/Install--mode = Silent
Starting the installer...
In silent mode.
Successful installation.
Leave the installer with the Code: 0
They always communicate that they are running properly, but do not actually seem to install anything. If I remove the silent flag, the Setup program runs successfully, but with the intervention of the user, which is not desirable. If anyone has encountered a similar issue or have a good way around it?
Even if I have already provided the private solution I post here as well in case other users are facing the same problem.
The correct syntax for silent deployment is:
sudo. / Install - mode = silent - DeploymentFiles = "path".
Thus, for example:
sudo./Install.app/Contents/MacOS/Install--mode silent =--deploymentFile=deploy/AdobeDigitalPublishing-mul.install.xml
(here, the assumption is that the user is in the directory where is Install.app.
The command line, you should see "successful Installation. Leave the installer with the code: 0.
-
Is it possible to implement a silent mode for working days and weekends please
Dear Development Department
It would be so useful that you could implement a silent mode (the Moon) you can preset for the day's work (example 7:00 - 23:00) and weekends (example 10:00 - 0:00). Instead of the defined once available in the current ios.
Thank you
Nathalie Rijnvos
Hi Nathalie
You can submit your feature request to Apple here:
https://www.Apple.com/feedback/iPhone.html
(You do not speak to Apple here - it is a community based on the user).
-
How to set up bluetooth for Windows by toshiba stack
Trying to install different fireplaces / drivers in order to use the bluetooth features.
These instructions are incredibly confusing for something seemingly simple. I think I have all the chimneys of nesicery / driver updates however
Im not very good at this stage. I could use a little help here.
Hello
Most Toshiba have start - programs - Toshiba - BlueTooth.
Check with Toshiba Support, their drivers and documentation online and ask in their forums where he
others will be with the same or similar models.Toshiba - Forums
http://laptopforums.Toshiba.com/Toshiba - Contacts
http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/navShell.jsp?CF=su_contactToshiba - drivers - access your model - value downloads - so all operating systems - BlueTooth
http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp?NAV=downloadToshiba - Support
http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp------------------------------------------------------------------------------------------------------------------------
Information to help you if you need problems (use Toshiba configuration methods to activate BT).
Hardware devices not detected or does not work - a Mr Fixit
http://support.Microsoft.com/GP/hardware_device_problemsAdd a BlueTooth device to your computer
http://Windows.Microsoft.com/en-us/Windows7/add-a-Bluetooth-enabled-device-to-your-computerSet up a Bluetooth compatible device
http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-a-Bluetooth-enabled-deviceThe problems with Bluetooth devices
http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-Bluetooth-enabled-devicesHow to set up a Bluetooth connection
http://www.vista4beginners.com/how-to-setup-a-Bluetooth-connectionThe Bluetooth item in Control Panel on a Windows Vista SP2 computer does not
as expected when you click on the element - for Windows 7 this check manually
http://support.Microsoft.com/kb/960531/en-usIf you need drivers try the support site for the manufacturer of your system and/or the site of the manufacturer of the real device.
BluetoothView is a small utility that runs in the background and monitor the activity of Bluetooth technology
devices around you. For each detected Bluetooth device, it displays the following information:
The device name, address Bluetooth, Major Device Type, minor device Type, first detection time,
Last detection time and more. BluetoothView can also warn when a new Bluetooth device
is detected, by displaying a balloon in your bar tasks or playing a little beep. -FREE
http://www.NirSoft.NET/utils/bluetooth_viewer.htmlBluetoothCL is a small console application that transforms all differential of bluetooth devices detected in
the standard output. For each Bluetooth device, the following information is displayed: MAC
Address, name, Major Device Type, minor device Type and possibly the name of the company of
the device (if the external file of MAC addresses - oui.txt is provided) - FREE
http://www.NirSoft.NET/utils/bluetoothcl.html---------------------------------------------------------------------
Change settings for a Bluetooth compatible device
http://Windows.Microsoft.com/en-us/Windows7/change-settings-for-a-Bluetooth-enabled-deviceAdd a Bluetooth device to your computer
http://Windows.Microsoft.com/en-us/Windows7/add-a-Bluetooth-enabled-device-to-your-computerAdd a Bluetooth device or other wireless or network device: frequently asked questions
http://Windows.Microsoft.com/en-us/Windows7/add-a-Bluetooth-or-other-wireless-or-network-device-frequently-asked-questions---------------------------------------------------------------------
More information of possible interest to some:
What is a Bluetooth personal area network (PAN) network?
http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-a-Bluetooth-personal-area-network-PanConnect to a Bluetooth personal area network (PAN) network
http://Windows.Microsoft.com/en-us/Windows-Vista/connect-to-a-Bluetooth-personal-area-network-PanI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">->
-
How to set the password for the screen saver?
When connecting, password is not necessary and I put it under 'control userpasswords2', but I'd like to set password within the screensaver 15 minutes idle.
Anyone have any suggestions on how to do it?
Thanks in advance for your suggestionsHello
You will need to set a password for the connection on your computer user account.
After that, you can set the screen saver and set the option on the resumption, the logon screen and specify 15 Minutes to time waiting .
Concerning
-
How to set parental controls for the zone
Im trying to set up parental controls for children. I have set up for the clock, but they got smart and started to change the time zone. Does anyone know how to set up parental controls for the time zone... At least the name of the program for the time zone. Any help is appreciated, thanks.
Im trying to set up parental controls for children. I have set up for the clock, but they got smart and started to change the time zone. Does anyone know how to set up parental controls for the time zone... At least the name of the program for the time zone. Any help is appreciated, thanks.
If you have a superior taste of Windows 7 you can / must define the rights to change the time system and time zone via the policy editor gpedit.msc. They are defined in the strategy/Security Settings user rights assignments / Local. Ensure that only administrators and the Local Service can change these settings.
If you have a taste less then you need to do it via a number of commands in the console, i.e.
net localgroup
NTRights users - r seSystemtimePrivilege-u
NTRights u users - r seTimezonePrivilegeYou can download ntrights.exe here: http://www.microsoft.com/download/en/details.aspx?id=17657. If you choose this option, you may need to then more detailed instructions. Post again if this is the case.
Note also that your children are more intelligent, they will find additional methods to bypass your restrictions. If you let me sit in front of your machine then I would be able to do as I please in less than five minutes, without knowing a single password. This means that you may need to solve this problem by teaching ways rather than technical.
-
How to set the flag for the first 3 days
Hi all
I have a table with a complete list of April and may 2015 date month and his working days (just for example, I have included only in April and may 2015 data but the table has data for 20 years since 2000).
Below is the table create and insert scripts for complete data.
CREATE TABLE dates_dim(day DATE, business_day NUMBER, month NUMBER, day_of_week VARCHAR2 (100)); Insert into DATES_DIM Values (TO_DATE('05/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, '201505', 'FRIDAY'); Insert into DATES_DIM Values (TO_DATE('05/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY'); Insert into DATES_DIM Values (TO_DATE('05/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY'); Insert into DATES_DIM Values (TO_DATE('05/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 2, '201505', 'MONDAY'); Insert into DATES_DIM Values (TO_DATE('05/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 3, '201505', 'TUESDAY'); Insert into DATES_DIM Values (TO_DATE('05/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 4, '201505', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('05/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 5, '201505', 'THURSDAY'); Insert into DATES_DIM Values (TO_DATE('05/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 6, '201505', 'FRIDAY'); Insert into DATES_DIM Values (TO_DATE('05/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY'); Insert into DATES_DIM Values (TO_DATE('05/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY'); Insert into DATES_DIM Values (TO_DATE('05/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 7, '201505', 'MONDAY'); Insert into DATES_DIM Values (TO_DATE('05/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 8, '201505', 'TUESDAY'); Insert into DATES_DIM Values (TO_DATE('05/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 9, '201505', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('05/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 10, '201505', 'THURSDAY'); Insert into DATES_DIM Values (TO_DATE('05/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 11, '201505', 'FRIDAY'); Insert into DATES_DIM Values (TO_DATE('05/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY'); Insert into DATES_DIM Values (TO_DATE('05/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY'); Insert into DATES_DIM Values (TO_DATE('05/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 12, '201505', 'MONDAY'); Insert into DATES_DIM Values (TO_DATE('05/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 13, '201505', 'TUESDAY'); Insert into DATES_DIM Values (TO_DATE('05/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 14, '201505', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('05/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 15, '201505', 'THURSDAY'); Insert into DATES_DIM Values (TO_DATE('05/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 16, '201505', 'FRIDAY'); Insert into DATES_DIM Values (TO_DATE('05/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY'); Insert into DATES_DIM Values (TO_DATE('05/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY'); Insert into DATES_DIM Values (TO_DATE('05/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'MONDAY'); Insert into DATES_DIM Values (TO_DATE('05/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 17, '201505', 'TUESDAY'); Insert into DATES_DIM Values (TO_DATE('05/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 18, '201505', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('05/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 19, '201505', 'THURSDAY'); Insert into DATES_DIM Values (TO_DATE('05/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 20, '201505', 'FRIDAY'); Insert into DATES_DIM Values (TO_DATE('05/30/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY'); Insert into DATES_DIM Values (TO_DATE('05/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY'); Insert into DATES_DIM Values (TO_DATE('04/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, '201504', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('04/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 2, '201504', 'THURSDAY '); Insert into DATES_DIM Values (TO_DATE('04/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 3, '201504', 'FRIDAY '); Insert into DATES_DIM Values (TO_DATE('04/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY '); Insert into DATES_DIM Values (TO_DATE('04/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY '); Insert into DATES_DIM Values (TO_DATE('04/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 4, '201504', 'MONDAY '); Insert into DATES_DIM Values (TO_DATE('04/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 5, '201504', 'TUESDAY '); Insert into DATES_DIM Values (TO_DATE('04/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 6, '201504', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('04/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 7, '201504', 'THURSDAY '); Insert into DATES_DIM Values (TO_DATE('04/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 8, '201504', 'FRIDAY '); Insert into DATES_DIM Values (TO_DATE('04/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY '); Insert into DATES_DIM Values (TO_DATE('04/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY '); Insert into DATES_DIM Values (TO_DATE('04/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 9, '201504', 'MONDAY '); Insert into DATES_DIM Values (TO_DATE('04/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 10, '201504', 'TUESDAY '); Insert into DATES_DIM Values (TO_DATE('04/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 11, '201504', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('04/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 12, '201504', 'THURSDAY '); Insert into DATES_DIM Values (TO_DATE('04/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 13, '201504', 'FRIDAY '); Insert into DATES_DIM Values (TO_DATE('04/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY '); Insert into DATES_DIM Values (TO_DATE('04/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY '); Insert into DATES_DIM Values (TO_DATE('04/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 14, '201504', 'MONDAY '); Insert into DATES_DIM Values (TO_DATE('04/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 15, '201504', 'TUESDAY '); Insert into DATES_DIM Values (TO_DATE('04/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 16, '201504', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('04/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 17, '201504', 'THURSDAY '); Insert into DATES_DIM Values (TO_DATE('04/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 18, '201504', 'FRIDAY '); Insert into DATES_DIM Values (TO_DATE('04/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY '); Insert into DATES_DIM Values (TO_DATE('04/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY '); Insert into DATES_DIM Values (TO_DATE('04/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 19, '201504', 'MONDAY '); Insert into DATES_DIM Values (TO_DATE('04/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 20, '201504', 'TUESDAY '); Insert into DATES_DIM Values (TO_DATE('04/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 21, '201504', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('04/30/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 22, '201504', 'THURSDAY '); COMMIT;
I'm looking for a select statement that defines the indicator 'Y' for April records months and "n" for records in may for the first 3 days of the request. Here's the difficult thing, the results should vary depending when they run the select query.
For example:
Scenario-1: If I run the SQL code may 1st, 2nd, 3rd, 4th, or 5th (with in the first 3 days), FLAG must be set on 'Y' for records in April and "n" for records in May.
Scenario 2: If I run anywhere between May6th 31, FLAG must be set to ' do for April month and 'Y' for records in May.
Search results for scenario 1 should look something like this the results of the SQL query below (as I can't keep the complete set of results, I wrote a select query which will give you the expected results if you run the DDL and DML scripts above)
select day,case when day between '01-APR-2015' and '30-APR-2015' then 'Y' else 'N' end flag from dates_dim;
Results for the scenario-2 should look something like this the results of the SQL query below (as I can't keep the complete set of results, I wrote a select query which will give you the expected results if you run the DDL and DML scripts above)
select day,case when day between '01-APR-2015' and '30-APR-2015' then 'N' else 'Y' end flag from dates_dim;
Please let me know if it is confusing. Thank you.
Hello
Thanks for posting the CREATE TABLE and INSERT statements; It's very helpfu.
Month article it should really be a DATE, not a NUMBER. This issue (and many others) would be simpler and more effective it was a DATE, rather than a NUMBER, since it must be compared with the DATEs.
As the month is a NUMBER, do not insert VARCHAR2 values, such as '201505', in it.
Why is-day_of_week 100 characters? The longest name in English ("WEDNESDAY") is 9 characters. Day_name fairer apply in trouble.
Here's a way to do what you asked:
DEFINE SYSDATE = "DATE" "2015-05-05.
DEFINE SYSDATE = "DATE" "2015-05-06.
WITH got_effective_month AS
(
SELECT TO_NUMBER (TO_CHAR (ADD_MONTHS (& SYSDATE
CASE
WHEN COUNT (*)<=>=>
THEN-1
0 OTHERWISE
END
)
, "YYYYMM.
)
) AS effective_month
OF dates_dim
Day WHERE BETWEEN TRUNC (& SYSDATE, 'MONTH')
AND & SYSDATE
AND business_day > 0
)
SELECT d.
CASE
WHEN month = e.effective_month
THEN 'Y '.
ANOTHER "N".
Flag of the END as the
OF dates_dim d
CROSS JOIN e got_effective_month
ORDER BY d.day
;
I used the proxy & SYSDATE to test. In Production, you will use the SYSDATE function instead.
A calendar table, like days_dim, is really a good idea. You may consider adding a column business_day_count cumulative, a NUMBER that increments of 1 every day business. To find out how many days passed since any day x (for example, the 1st of this month), you would only need extract the 2 rows in the table: line x and the line today.
Maybe you are looking for
-
Question about own WXP installation and activation key code
Hello I recently received this laptop computer 2nd hand and I want to do a clean install on it, but I had not given a disc o/s.Can I use the disk to my other pc, and use the code located on the back of it to install? or do I have to buy a new copy of
-
HP officejet pro 6830e: error message when I turn on the printer
I just installed my new e 6830 and for some reason when I turn printer on site comes this error message on the display. There is a yellow triangle with the message "a paper tray is open close the drawer to continue" and told me to see loading paper i
-
Upgrade the video card HP Pavilion g7-1251er
Can I upgrade graphics card on my HP Pavilion g7-1251er? If 'yes '. This is how and which video type of card I need to buy? Product number: A2D47EA #ACB
-
BlackBerry Q5 cannot take photos but the video works fine
Hello world I've recently updated the operating system. I just tried to take a picture, and although he focuses although I can't actually take a shot. Singularly I record movies without problems, however. A few days ago I could do both, and the only