Solved

Table explanation (Lowfatspread?) for cutoff days

Posted on 2011-03-01
6
237 Views
Last Modified: 2012-05-11
In the related question, Lowfatspread mentions having 2 tables. My table..if you look at it...only has cutoff hours with the year being 1900. Not sure what he means but can he or someone explain what his solution means?

thanks
0
Comment
Question by:Camillia
  • 3
  • 2
6 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35014386

<In the related question, Lowfatspread mentions having 2 tables. My table..if you look at it..>
"Look at it"?
Great, now if we only had the link that leads us to this mysterious "related question", we might be able to help, ...agreed?

;-)

JeffCoachman
0
 
LVL 34

Expert Comment

by:James0628
ID: 35014865
 Jeff,

 There is a "Related Solutions" link right above your post.  :-)

 James
0
 
LVL 34

Accepted Solution

by:
James0628 earned 500 total points
ID: 35014925
Hopefully Lowfatspread will show up, but, FWIW, I think he had two main points:

 1) If you really only need to compare the hours, do you need the date at all?  Your cutoff table could just have the hours in it, in char form (eg. '16:00:00'), and you could use CONVERT to convert the datetime to hh:mm:ss, and compare just the times.

 2) Are the cutoff times different on different days of the week, or on holidays?  If so, then you might have one table with the cutoff times for each day of the week, and a second table with the cutoff times for each holiday.  If a date was found in the holiday table, you'd use those cutoff times.  Otherwise, you'd use the cutoff times from the first table, based on the day of the week.

 If the cutoff times are always the same for every day, then I don't think #2 applies.

 James
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35017126
<There is a "Related Solutions" link right above your post.  :-)>
WTFHAX!

;-)

0
 
LVL 7

Author Comment

by:Camillia
ID: 35020501
boag2000 ...hehe :)
0
 
LVL 34

Expert Comment

by:James0628
ID: 35025033
 Jeff,

 :-)


 Farzadw,

 I hope that makes sense.  At least, that's the way that I interpret what Lowfatspread posted.  And he raised a couple of good points.

 James
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now