How to create calendar
We have a requirement to create the database calendar (calendar table).
can someone suggest me a good way to do the same.
table must have the following column
1 year
2 months
3. date
for example:
SQL > CALENDAR / / DESC
YEAR CHAR (4)
MONTH CHAR (2)
DATE DATE
SQL > select * from calendar
YEAR MONTH DAY
--------------------------------------------------------
2014 02 23/02/2014
2014 02 24/02/2014
2014 02 25/02/2014
2014 02 26/02/2014
2014 02 27/02/2014
I NEED TO CREATE THE CALENDAR FROM 1999 UNTIL 2050.
Like this?
Select extract (year dt) year_
from month_ (month of dt)
dt date_
de)
Select to_date (January 1, 1999 "," dd-mon-yyyy ') + dt (level 1)
of the double
connect by level<=>=>
TO_DATE (31-dec-2050 "," dd-mon-yyyy "").
TO_DATE (January 1, 1999 "," dd-mon-yyyy "")
) + 1
);
Tags: Database
Similar Questions
-
How to create a calendar, I don't have a calendar list
I do not see how to create a calendar, can anyone help please
File (Alt - F) - new - calendar
-
How to create a wall calendar?
How to create a wall calendar with cs6 Adobe InDesign?
Do a Google search for "indesign calendar template.
-
How to create a category to calendar
I do not know how to create a new category of calendar
The Pre / Google really don't support categories.
If you wish to have separate categories that you can do is Google create a separate calendar within your email account for each "category".
FOR EXAMPLE
Your email address [email protected] you have and then you have your calendars (business, personal, etc.)
-
How to create a common hieracrhy calendar?
I need to create a repository to support the following business scenario.
My client has a Supportcall management system and he wants a report to show the volumes of Supportcalls in the following format. A Supportcall recorded Monday, first met Monday, resolved Wednesday and finally closed by the customer on Friday should be included in the report as follows:
LUN Mar sea game Fri
Date1 Date2-Date3 date.5 Date4
New call 1 0 0 0 0
answer 1 1 0 0 0 0
resolution 1 0 0 1 0 0
0 0 0 0 1 private clients
I have the following physical tables at my disposal
Table: FACT_SUPPORT_CALLS
CALL_NUMBER
CALL_ENTRY_DATE_ID
FIRST_RESPONSE_DATE_ID
FIRST_RESOLUTION_DATE_ID
CUSTOMER_CLOSED_DATE_ID
CALL_TYPE
CUSTOMER_TYPE
Table: DIM_CALENDAR
ID_CALENDAR
DAY
DAY OF THE WEEK
WEEK
MONTH
YEAR
I created 4 measures (new calls, 1st response, resolution 1 & customer closed) in the layer MDB by creating logical columns (with aggregation-rule = Count) and their mapping against the physical table using a Case statement:
The CASE i.e. WHEN FACT_SUPPORT_CALLS. CALL_ENTRY_DATE_ID <>'-1' THEN 1 END.
Then I need to provide a calendar hierarchy, so that the user can start at the level of the year i.e. and drill-down to the day level as shown in the example.
In the physical layer, I created 4 alias for DIM_CALENDAR
DIM_CALENDAR_CALL_ENTRY
DIM_CALENDAR_FIRST_RESPONSE
DIM_CALENDAR_FIRST_RESOLUTION
DIM_CALENDAR_CUSTOMER_CLOSED
and I created the joins between each DATE_ID, relevant and DIM_CALENDAR (p. EX. DIM_CALENDAR_CALL_ENTRY.ID_CALENDER = FACT_SUPPORT_CALLS. CALL_ENTRY_DATE_ID)
But how to create 1 calendar hierarchy that handset/joins these dimensions four calendar?
What is the best way to achieve this?
Thanks in advance for your suggestions.Rather than create aliases of the dimension of your calendar table, you must create aliases of your fact table.
Next step is to create a join between the dimension of your calendar table and the table physics alias.
Then add the table as LTS alias separated at the logical fact table.
Last step is to map the fact right at the table source just makes sense. -
How to create the rule to trigger only 5 and 20th of each month in Foglight
Hi team,
One needs to create a rule in Foglight that fire only a day as the 5th and 20th of each month and check the status. I tried to create it, but I've not found an option less create rule. I think we can do it by Time Driven option or calendar drove but I'm confuse. Can someone let me know how or the document where it mentioned.
Thank you for your help in advance.
Thank you
Shashank Soni.
That sounds more like a rule-based program. First, create a new calendar and choose the monthly option and enter one of the days of the month. I think it might be difficult to get a calendar to be true on two different days, you may create two programs and then create a rule for each. We can be one simple copy of the other. Once the calendar is created, you can create a rule, choose led calendar and choose one of your two annexes.
Maybe someone can be smarter about how to create a monthly calendar for two different dates.
I hope this helps.
Jeff (I work for Dell) -
How to create a new auto sync with Salesforce?
We try to create a new automatic synchronization so that we can test with a second profile of Salesforce integration, but I don't see anything on the screen Auto Synchs which shows how to create a new.
Anyone has any ideas on where to start?
Installation--> integration--> inbound--> create Data Sources
Create a new external call and make sure that CheckBox 'calendar for automatic execution' this will allow this call for automatic synchronization. I will link an article shortly...
Edit: Surprisingly, I can't find an article dedicated to the implementation of an automatic synchronization, but you can renovate sort of article to meet your needs for a walk through...
-
How to create a field date in my Contact form.
How to create a field date in my Contact form. Ideally, it would offer a timetable for the user to choose from.
Hello
You cannot add a calendar field in Muse. However, if you decide to host your site on Business Catalyst, you can add the Date field to your form in the form Builder Web of BC and then add the form code to your Muse site using the feature to insert the HTML code.
Kind regards
Aish
-
How to create a PDF/X1a on a Mac? (with or without iWork)
Hi all
I don't have an idea what is a "PDF/X1a.
I know how to create or convert PDF files on a mac, with the Preview app and the iWork.But a "PDF/X1a? What is c?
Anyone know how to create or convert a "PDFX/X1a?
Thanks to you all.
Here is an explanation:
https://www.prepressure.com/PDF/basics/PDFX-1A
Frankly, I didn't know there are different "flavors". I create .pdf for years without knowing or worry about this. I just use an excerpt:
Or, if you are in a document Pages (iWork as long that is not really exist anymore - there are separate applications: Pages, Numbers, Keynote), use the export as PDF option.
Have never heard of someone that they were not able to read the PDF, I sent as an attachment.
-
How to create the Sierra startup disk?
Hello world
I downloaded Sierra on the App Store.
Can I create a bootable USB Sierra drive?
I want to install a new copy of Sierra, not upgrade.
Thank you
Abdelaal
Hello
The download size is about 4.8 gig and want 8 GB on a USB key or similar.
I used the command line, but there are other ways.
http://osxdaily.com/2016/06/15/make-MacOS-Sierra-beta-USB-boot-drive/
and it may be better (which I used)...
-
How to create the recovery partition
How to create a recovery for OSX on an existing SSD partition?
What Mac OS X you are using?
To boot from OS X Recovery, hold down the command (⌘) r immediately after start-up or that you restart your Mac. Release when you see the Apple logo.
More information on the recovery of the operating system partition: On OS X Recovery - Apple Support
If you want to create a bootable USB, here is a useful guide: create a bootable OS x - Apple support Installer
-
How to create a new profile on a MacBook?
How to create a new user or COMP
-
How to create a template in pages or numbers grocery list?
How to create a template in pages or numbers grocery list?
Create yourself as a standard document and save it. Then save it again as a model, where you can then reuse.
-
I fitted with a 1 TB drive to my macbook, then partitioned several times, all good so far, everything works.
I use two connections, staff and work. My 'work' connection I have one partitioned drive named "work" which I use as an archive / storage for all work related data, far from any current activity. How to create a shortcut for just this partition to 'work' on the desktop?
I tried Finder > Preferences > general - show these items on the desktop, hard drives of ticks. But it shows then all partitioned drives.
The partitions must be included in the side bar of the Finder to choose. You can also click with the right button on a volume and select 'add to dock '. I don't know how to add an alias on the desktop.
-
How to create different folders to put the registered e-mail
I just had to migrate my old e-mail address after the provider changed things and for some reason, it doesn't let me access my mail through the site, I've been using so I created an account in Thunderbird and get my emails but it did not bring all my mail recorded files created that me trying to understand another time , but I would like to know how to create folders to move emails from my Inbox
If you have created your account as a POP account, everything you see in Thunderbird is the Inbox.
You can create good local folders. Right click on the name of the account - new folder.To see all the folders that you created on the server, that you must set your account as IMAP, assuming that your email provider supports IMAP.
Maybe you are looking for
-
Update ISTAT menus mac is good or bad
ISTAT Menus Mac update is good or bad for your Mac Book Pro and IMac
-
How can I get new tabs to open my home page display?
When I opened a new tab, it displays a blank page. How can I open showing my home page?
-
Satellite L350D (PSLE0E) - WIFI hardware switch does not work
Hello! Next problem: since yesterday, I have Windows 7 on the laptop, almost everything works perfectly. Not been necessary to load the drivers from the Toshiba site, Win 7 provides with the pilots, the rest comes via update... What does not work is
-
How can I print page of thumbnails (such as a Board-contact) of Vista?
I want to print pages of small thumbnails of pictures, with their titles. I was able to do this in an earlier version, but how to do it on Vista? Thank you, Deb B.
-
Updates doesn't stop! to the research.
Updates never stops the search. so never get an update? and it shows that I never watch.