Viewing 15 posts - 22,291 through 22,305 (of 59,072 total)
Deries (12/1/2014)
Sean,I am sorry,i get .cvs file from the client on monthly basis and i manipulate that in excel and give them the report. Sorry again.
Excellent! Post the CREATE...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2014 at 8:20 pm
Luis Cazares (12/1/2014)
I use the following formula to calculate the previous monday. Just change GETDATE() for any date you need to use.
DATEADD(WK, DATEDIFF(WK, 0, GETDATE() - 2), 0)
Oh, be careful...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2014 at 8:10 pm
GrassHopper (12/1/2014)
Anyone think they can improve on this query?
Almost no question. The key here is that your code now has two real tables in it. For my stuff...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2014 at 7:25 pm
OK, here we go. This will go back for 30 days (not including "today" because it's a partial day) and also report on the same time span for all...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2014 at 6:55 pm
Crud. I can't post the answer from where I'm at. I have a solution for you and will post it as soon as I get home.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2014 at 6:01 pm
Jeff Moden (12/1/2014)
Perry Whittle (12/1/2014)
High end FC disks generally arent available in TB sizes and are usually in the order of $1000s each
Oh my! I guess I'm not sure...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2014 at 3:43 pm
My question would be, see what happens when you have denormalized data in your tables? Table 2 should NOT have the Cat column in it.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2014 at 2:15 pm
To be honest, having a "timeslot field" is a really bad idea. You should have a StartDT and an EndDT where you have both the date and time (hence,...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2014 at 1:42 pm
Perry Whittle (12/1/2014)
High end FC disks generally arent available in TB sizes and are usually in the order of $1000s each
Oh my! I guess I'm not sure what type...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2014 at 8:30 am
Perry Whittle (12/1/2014)
Jeff Moden (11/28/2014)
A 1 TB 15k-RPM drive costs less than $300 for a SAN drive.High end FC disks are a lot pricier than $300!!
I'll try to find...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2014 at 7:51 am
aaron.reese (11/27/2014)
declare @data table (ID int, FirstName varchar(20), Surname varchar(20), phone varchar(10),...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2014 at 7:49 am
My pleasure. Thank you for the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2014 at 7:05 am
Shadab Shah (11/30/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 30, 2014 at 11:34 pm
Are you allowed to use xp_CmdShell? That would probably make your life a bit easier here. And, no... I'm not suggesting that you enable a proxy for a...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 30, 2014 at 11:22 pm
P.S. That table has a fair number of columns that you might want to add indexes to. With that thought in mind, I strongly recommend that you do...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 30, 2014 at 11:04 pm
Viewing 15 posts - 22,291 through 22,305 (of 59,072 total)