Number of days for all the months of the previous 10 years
Hi guys,.I wonder if there is a way to insert in my table of data for the period dimension all
days for the months of the year 2004,2005,2006,2007, etc..
Is there somewhere in the Oracle database that stored the number of days for all the months of the years?
I think I woud have to use a loop of the GET something like the following:
-The year month day
2004 - 1-1
2004 1-2
2004 1-3
2004 1-4
2004 1-5
2004 1-6
etc.
Assuming that there are 28 or 29 or 30 or 31 days the lines for January 2004 would be 28,29,30 or 31.
I need it for all the months and years.
Thank you
metalray
Hello
The following SQL returns all the days from 01/01/1970 until today:
+ (Just modify the FRST to What You Need).
with beginat as (
select trunc(to_date('1970/01/01','yyyy/mm/dd')) frst from dual
)
select frst+(level-1) as daydt
from beginat
connect by level <= ceil(sysdate-frst);
With a previous alter session set nls_date_format = "dd/mm/yyyy hh24:mi:ss" result would be:
DAYDT
-------------------
01/01/1970 00:00:00
02/01/1970 00:00:00
03/01/1970 00:00:00
04/01/1970 00:00:00
05/01/1970 00:00:00
06/01/1970 00:00:00
(...)
09/01/2011 00:00:00
10/01/2011 00:00:00
11/01/2011 00:00:00
14986 rows selected.
In fact, the real question is: Why do you need them?
(^_^)
Published by: Nicosa January 11, 2011 14:25
(for the correction)
Tags: Database
Similar Questions
-
HI everyone, I paid almost 10 days ago, my supcripcion to plan for all the app elements, and after u date of my latest plan, any program is runing, always appear, your time taking, is late, please by the app with my adobe ID works correctly?
Photoshop Elements and Premiere Elements are NOT part of the cloud... you buy a serial number, not a subscription, and you enter the serial number during installation
If you don't want to say things, read below
Your subscription to cloud shows correctly on your account page?
If you have more than one email, you will be sure that you use the right Adobe ID?
https://www.adobe.com/account.html for subscriptions on your page from Adobe
.
If Yes
Some general information for a subscription of cloud
Cloud programs don't use serial... numbers you, connect you to your cloud account paying to download & install & activate... you may need to sign out of the cloud and restart your computer and log into the cloud for things to work
Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud
-Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
-http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
-http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
-http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
-ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp
-http://helpx.adobe.com/creative-cloud/kb/license-this-software.html
.
If no
This is an open forum, Adobe support... you need Adobe personnel to help
Adobe contact information - http://helpx.adobe.com/contact.html
Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">===>
-Select your product and what you need help with
-Click on the blue box "still need help? Contact us. "
-
If I bought the creative Club today would pay for all the month of February?
If I bought the creative Club today would pay for all the month of February?
No, you are not billed by calendar month but starts from the date of your membership.
http://www.Adobe.com/products/creativecloud/FAQ.html#purchasing
"When my subscription start?
If you purchase your membership directly from Adobe's Web site, it starts as soon as the order is respected by the Adobe Store.
If you purchase your membership to a participating retailer or an online store, it starts as soon as you enter your purchase on www.creativecloud.com and click on Get Started.
If you purchase your subscription at a participating retailer, it starts as soon as the seats are added to the account. »
-
my pc CPU fan runs very strongly & the processor running at 100% for all the programs I opened. DO NOT KNOW IF IT IS A VIRUS IN THE PC WAS WORKING FINE A FEW DAYS AGO. How can I solve this issue?
Hello
You did changes to the computer before this problem?
Step 1: Check if the problem persists in the clean boot state.
From your computer by using a minimal set of drivers and startup programs so that you can determine if a background program is interfering with your game or program. This type of boot is known as a "clean boot".
Reference:
How to configure Windows XP to start in a "clean boot" State
http://support.Microsoft.com/kb/310353When you are finished troubleshooting, follow these steps to reset the computer to start as usual:
1. click on start and then click Run.
2. type msconfig and click OK.The System Configuration Utility dialog box appears.
3. click on the tab general, click Normal Startup - load all services and device drivers and then click OK.
4. When prompted, click on restart to restart the computer.Step 2: Also, look for error messages in the event viewer. If you find error messages after return the exact error message so that we can help you better.
Reference:
Using the event viewer
http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/snap_event_viewer.mspx?mfr=true
Understanding of event viewer
http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/event_overview_01.mspx?mfr=true
Procedure to view and manage event logs in Event Viewer in Windows XP
http://support.Microsoft.com/kb/308427I would also refer the below article which may be useful.
The CPU utilization reaches 100 percent when you run programs after you install Windows XP Service Pack 2
http://support.Microsoft.com/kb/890582 -
Thanks for all the answers
Windows XP's Wordpad which has more features then Notepad. However, if you want more features, you must purchase Windows Office 2003, 2007 or 2010.
You can also do a search on Initernet and find other 3rd office products that you can use. Some are free and others you can buy.
Windows XP also included speech recognition. However, in Windows 7, speech recognition is most perfect.
Article number: 306901 - how to use speech recognition in Windows XP
http://support.Microsoft.com/kb/306901Article number: 306902 - how to configure and use text-to-speech in Windows XP and Windows Vista
http://support.Microsoft.com/kb/306902What can I do with speech recognition
http://Windows.Microsoft.com/en-us/Windows7/what-can-I-do-with-speech-recognitionhttp://Windows.Microsoft.com/en-us/Windows7/dictate-text-using-speech-recognition
I hope this helps.Marilyn
-
Just bought a Nikon d750 and confused about adobe LR4 and PS6 support for RAW files. I have 8.7 DNG, but I was wondering if LR and PS will import direct soon thanks for all the tips
Support for the Nikon D750 was introduced in the last version of LR 5.7 and ACR 8.7 Novemder 18 2014.
New updates for LR 4 were arrested when LR 5 was released on June 9, 2013. No other updates of bug fixes and new camera support.
Nada, LR 4 will never support Nikon D750. The Nikon D750 was introduced on the market in September 2014 some 15 months after further development of LR 4 was arrested.
You can use the Adobe DNG (free download for packing) program to convert your Nikon D750 Nef (raw) files in Adobe's DNG format which will allow you to import those into LR 4. This is the crutch provided by Adobe to allow the processing of raw files with versions out-of-date LR and ACR.
You can also update the ACR for PS CS6 version 8.7 plugin that can also work with the raw files of the D750. For direct support in Lightroom, you will need to upgrade (paying) to version 5.7.
-
How to get a list of paths for all the files used in a project
I have a CC Pro first project that has a large number of bins. A sequence in one of these bins uses files of the other tanks. I'll try to find the locations of all of the files used in the project.
(1) obviously I can select each item in the timeline and display in the finder, but there are a lot of clips
(2) the use of the video associated with each file in the project would help. However
1. I have not found a way to display only the clips that have the use of the video if all locations have not been developed.
2. use video shows its use for all sequences, so it should be manually checked traction towards the bottom for each file see if it is used in the sequence in question.
(3) I tried to export the project to the final cut pro xml. The url path gives me the information I need. For some reason, however, when I do the single export item information are here, not the information for all the other elements of the project.
(4) I got tired of export for speedgrade, and all file names are there. However, the railways are not.
Basically, I want to find all the files in the project and transfer them to a specific folder for this project. There must be a way to do this, but I'm not...
You can import the sequence in a new project and then use the project manager to make them all together.
-
(1) is there a function for all the object of the same size?
(1) is there a function for all the object of the same size?
Sorry, I thought you wanted to align the objects.
We do not have the function to make items of the same size. You must change one by one. To change the .lks file may be more effective.
-
just has got rid of the virus and responsible for all the disks but given the wifi does not work
WiFi doesn't work do not
just has got rid of the virus and responsible for all the disks but given the wifi does not work
Hello
Check with the system manufacturer or the actual WiFi device manufacturer and ask in their forums (if any)
for problems known.Actually, try updating your driver:
Control Panel - network - write down of the brand and the model of the Wifi - double click top - tab of the driver - write
version - click the driver update (cannot do something that MS is far behind the pilots of certification). Then
Right click on the Wifi device and UNINSTALL - Reboot - it will refresh the driver stack.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.htmlDownload - SAVE - go where you put it - right click – RUN AS ADMIN.
You can download several at once however restart after the installation of each of them.
After watching the system manufacturer, you can check the manufacturer of the device an even newer version. (The
manufacturer of system become your backup policies).Repeat for network (NIC) card and is a good time to get the other updated drivers as Vista like
updated drivers.I would also turn off auto update for the drivers. If the updates Windows suggests a just HIDE as they
are almost always old, and you can search drivers manually as needed.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) .aspxI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
In Windows Media Player 11, I would like to change the album art integrated for all the songs in an album while removing all previously used album art in advanced tag editor. My mP3 player only displays art on top of the list of advanced tag editor and WMP automatically puts most recent album on the background art. Is there a way to change this?
Hello
Try the following steps:
a. connect to the Internet.
b. open Windows Media Player.
c. click on the Library tab, and then go to the album you want to resolve.
d. right click on the album and then click on Find Album Info.
e. If you get an error message that says you must change your privacy settings before you can update media information, follow these steps: click on the Tools menu, click Options, click the Privacy tab, and then clear music update files by retrieving the news media from the Internet check box. Then, in the library, repeat the previous step.
See the following articles for more information:
http://Windows.Microsoft.com/en-us/Windows-Vista/add-or-change-album-art-in-Windows-Media-Player
-
Spanning tree Distribution Switch Port is root for all the VLANS
Hello world.
Uplink to switch on 2 layer network flat if Distribution change a.
This distribution uplink port is Root Port.
Core switch port goes to the Distribution switch appears as State PLEASE FWD.
It will cause slow for users who are connected to the network on the Distribution switch?
According to my understanding core should be Root STP for all the right of VLAN?
If necessary how can I make kernel as root port switch port?
Thank you
MAhesh
Hello
a root is a designated port (if shipping port) on a non-root bridgewhich a path root the lowest cost to the root bridge. So there is nothing unusual here, and your kernel needs to be done to root bridge if you run STP between distribution and kernel as you apparently.
Kind regards.
Alain
Remember messages useful rate.
-
Hello
How can I use statistics for all the tables in a schema in SQL Developer? and how long will it take on average?
Thank you
Jay.
Select the connection and right-click on it and select schema statistics collection
-
Hi all
I am trying to disable some built-in options for all modules as well as all users in paragraph 6.1.1.1.
How to disable the button create and edit button in IMPORT environment for all the modules of 6.1.1.1.?
Please help me solve this problem.
Thank you
Nefertari
Thank you Ivy, Yes.
I made some changes more in environment settings that helped me to turn off the button the user create a user/edit.
Thank you
Nefertari
-
I want to add glyphs like ², but for all the numbers. How can I do this?
I want to add glyphs like ², but for all the numbers. How can I do this?
Oh cool, I just had to use a different font
-
I have created a form to fill out that is a contract, but I need a way for the person who is to fill the form to insert their logo. Is it possible for someone to insert a logo when you fill out the form to fill out? I'm looking for all the options under the button 'add a text field.
It is not possible within a text field, either. If they have Acrobat, they can use the built-in under Tools - editing content Add Image tool.
If they drive XI or higher, they can use a button form field you will need to set up for them, but the image must be in PDF format.
Maybe you are looking for
-
When I'm able to get the camera raw for DMC-ZS70?
My new camera is the Panasonic DMC ZS70 and I use the latest version of Yosemite on my iMac.I can't open the RAW files from this camera using Photoshop 6. When I search for the update to Camera RAW It is not updated for this model unit. How long wil
-
Energy saver settings missing from the Profile Manager
I'm under Server.app 5.1 on a MacPro El Capitan (10.11.4) running. I am trying to create a fake profile in the Profile Manager to distribute to my class to illustrate patterns of school boards and want to create one for the energy-saving settings. Un
-
Hello This is my first post so... Nice to you all and thank you for supporting! whenever I turn on the Imac, show first the message 'no' (see image), then crashes at startup. And only after 3 or 4 starts, the part of the Imac. And there is always an
-
How can I have my photos duplicated to remove computer?
Help, please? I need to find an easy way to remove duplicate pictures! I know that some photo sets have 3 or 4 duplicates.
-
Cannot download the latest version of Adobe Flash Player
I tried to install the latest version of Adobe Flash Player. Download now appears and then the next screen appears and says you can encounter these problems and down load it. When I click on help that he goes back directly to the load down the page