| Author |
Topic |
|
neeharika_r
Starting Member
1 Post |
Posted - 2011-01-14 : 07:02:16
|
| Hi,Please anyone help!!!!!Please any one can answer my question.You are only given the transaction date in your transactions table and your client requires you to be able to show them their data by Financial Year, Quarter, Month, Week and Week DayWrite the script that will enable you to create the new values for each of the measures listed above. The financial year end is 28 February 2011Then confirm the Financial Year, Quarter, Month, Week and Weekday for the following date: 15/06/2011 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
Kristen
Test
22859 Posts |
Posted - 2011-01-14 : 07:08:15
|
| "Need help!!!!!!!!!!!!!! urgent"Pay a consultant then ..."Write the script that will enable you to create ..."Sounds like homework to me ...Show your workings so far, and change the subject to something that people who are knowledgeable will bother to read. Most people here just ignore posts with subjects like this. Me too, most of the time ... |
 |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2011-01-14 : 07:38:10
|
Who says allowing internet access during an exam is a bad thing? |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2011-01-14 : 07:44:16
|
i'm totally disappointed there are no ones between those exclamation marks in the title. ___________________________________________________________________________Causing trouble since 1980Blog: http://weblogs.sqlteam.com/mladenpSpeed up SSMS development: www.ssmstoolspack.com <- version 1.9 out!SQL Server MVP |
 |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2011-01-14 : 10:04:05
|
quote: Originally posted by spirit1 i'm totally disappointed there are no ones between those exclamation marks in the title.
ZOMG!!111!!! NEED UR HELP 4 MY QUESTION NEED 2 SHOW TRANSACTIONS BY FINANCIAL QUARTER MONTH WEEK WEEKDAY !!!URGENT!!111!!! KTHXBAIHappy now? Regarding the actual questions, look in SQL Server Books Online at the DATEPART and DATENAME functions. For the finanacial year calculation, you can do some DATEADD arithmetic or use a CASE expression. |
 |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2011-01-14 : 14:05:48
|
If I wanted my money to be safe I'd take it OUT of any U.S. bank. edit: and this made sense earlier before someone deleted their reply. |
 |
|
|
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
7020 Posts |
Posted - 2011-01-14 : 15:04:05
|
| Give her a break, she's still very young:Real Name: neeharika raavi Location: aaa, aaaIndia Age: 1Marital Status: married Gender: Female Occupation: sql developerCODO ERGO SUM |
 |
|
|
dataguru1971
Master Smack Fu Yak Hacker
1464 Posts |
Posted - 2011-01-14 : 17:28:29
|
quote: Occupation: sql developer
O Rly? Poor planning on your part does not constitute an emergency on my part. |
 |
|
|
Sachin.Nand
2937 Posts |
Posted - 2011-01-14 : 23:54:02
|
quote: Originally posted by robvolk If I wanted my money to be safe I'd take it OUT of any U.S. bank. edit: and this made sense earlier before someone deleted their reply.
It was me actually. I just thought it was more of a personal insult which might go against forum rules thats the reason I deleted it.PBUH |
 |
|
|
Sachin.Nand
2937 Posts |
Posted - 2011-01-16 : 03:04:15
|
quote: Age: 1Marital Status: married
& Married...PBUH |
 |
|
|
fparker
Starting Member
27 Posts |
Posted - 2011-01-17 : 16:48:22
|
quote: Originally posted by Sachin.Nand
quote: Age: 1Marital Status: married
& Married...PBUH
arranged marriage for sure. kind of makes the south usa look good. --f |
 |
|
|
|