Viewing 15 posts - 48,616 through 48,630 (of 59,099 total)
Carl Federl (8/25/2008)
This application is running under SQL Server 2000 and the analysis consisted of...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2008 at 9:49 pm
skenzie (8/25/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2008 at 9:47 pm
Amit Khanna (8/25/2008)
WITH C_TEMP AS
(
SELECT T.num,T.OP_Bal,T.quantity,T.OP_Bal + T.quantity AS Closing_Bal
FROM #Temps T
WHERE T.num...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2008 at 9:23 pm
aneeshvarghes (8/24/2008)
I want the count each day seperately
Still doesn't tell me a thing... like I said, tell us exactly what you want by giving us an example of the inputs...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2008 at 9:21 pm
dphillips (8/25/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2008 at 9:19 pm
pakaw_man (8/24/2008)
please help me solve this problem:
I'm off to bed just now... but I have a suggestion for you... start your own thread for this problem. It'll get more...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 11:41 pm
KB (8/21/2008)
The execution plan for my original query and the derived table query is exactly the same with 50%-50% cost.
Ummmm.... never trust the "cost" of a batch in the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 11:39 pm
DECLARE @Table TABLE(TimeNumber INT)
INSERT INTO @Table
SELECT '131000'
UNION
SELECT '220000'
UNION
SELECT '230000'
...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 11:25 pm
... and, if that's not the right answer, then tell us exactly what you want by giving us an example of the inputs provided and a printout of what you'd...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 11:09 pm
Mukti (8/22/2008)
CREATE Function DaysBetweenDates
(
@FromDate smalldatetime,
@ToDate smalldatetime
)
RETURNS varchar(4000)
AS
BEGIN
DECLARE
@DaysInBetween varchar(4000)
SET...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 11:06 pm
You bet, Mishaluba! Thanks for the compliment! 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 10:52 pm
LMAO! You must love them almost as much as me! 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 7:17 pm
Nuts (8/24/2008)
I had to import a txt file into sql server . I have attached the sample file for your reference.
It would be really good to know how to...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 6:57 pm
By the way... could you post a copy of the code that fixed your parameter sniffing problem? Thanks...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 6:46 pm
Oh Yeah! I forgot about that, Carl! Parameter sniffing can indeed cause these kinds of problems.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 5:12 pm
Viewing 15 posts - 48,616 through 48,630 (of 59,099 total)