Viewing 15 posts - 54,166 through 54,180 (of 59,068 total)
This report is accessing a history table that is constantly being written to by the application,
That would be part of the inconsistency... procs recompile when certain amounts of data...
November 12, 2007 at 6:14 pm
I can't prove it, but apparently you have... I've heard that the sp_OA* procs have a "connection leak"...
Real key here is what do you think you need an sp_AO* string...
November 12, 2007 at 6:08 pm
I don't see any similarity, either, except for the fact that Alicia has, again, not shown anything that she's tried (not to mention the double post).
November 12, 2007 at 6:00 pm
Ok, I'm not Jeff but I'm gonna take a shot at this anyway
First the question
WeekStart = DATEADD(dd,DATEDIFF(dd,-1,Date)/7*7,-1),
The /7*7 gives you a different number because the 7's are integers....
November 12, 2007 at 5:56 pm
Grumpy DBA (11/12/2007)
J Moden - Where in Michigan are you located? I heard about a possible opening...
November 12, 2007 at 5:07 pm
Using the "code" and "/code" tags (you need to include square brackets around those words instead of the double quotes... ). Still sucks for the end user, though, because...
November 12, 2007 at 5:01 pm
Thanks for the feedback on your solution, Juan...
November 12, 2007 at 4:56 pm
It's not a good analogy. An unhealthy restaurant will get you sick or dead.
Heh... it's a great analogy... An unhealthy bit of code will make your database sick or...
November 12, 2007 at 4:52 pm
Are they like restaurants opening without a health inspection?
I couldn't have come up with a better analogy if I tried... there are so many that are absolute rubbish when...
November 12, 2007 at 7:06 am
No, no... I believe a checksum of each row would allow you to check for uniqueness across the 24 columns. Lookup CHECKSUM in BOL...
November 12, 2007 at 6:31 am
Is this a separate request or added requirements to what has been done already?
... and NVL is ORACLE... the equivelant in SQL Server is ISNULL... but why would you not...
November 12, 2007 at 6:26 am
Just a different slant on things...
-- DROP TABLE #T
GO
--===== Create a table to store the results in
CREATE TABLE #T
(
...
November 11, 2007 at 10:40 pm
And, please don't post duplicate posts.... we'll find ya...
http://www.sqlservercentral.com/Forums/Topic420902-145-1.aspx
November 11, 2007 at 10:09 pm
Duplicate post...
http://www.sqlservercentral.com/Forums/Topic420896-146-1.aspx
November 11, 2007 at 10:07 pm
Lordy, I hate setting up test data for payroll examples... whatever...
Here's some code that generates 100,000 entries for 200 employes for a year's worth of payroll following your rules...
November 11, 2007 at 9:30 pm
Viewing 15 posts - 54,166 through 54,180 (of 59,068 total)