Viewing 15 posts - 6,076 through 6,090 (of 7,636 total)
Atif Sheikh (8/5/2008)
GREAT ARTICLE...Alot of learning points in it...
Thanks, Atif.
August 5, 2008 at 5:50 am
Chirag (8/5/2008)
great article!!
Thanks for the Feedback, Chriag!
August 5, 2008 at 5:45 am
Emre Erkan (8/5/2008)
Nice Article. I learned a lot. But for this problem there may be a shorter/ simpler solution...
In all fairness, I should point out that sometime after I posted...
August 5, 2008 at 5:44 am
Jeff Moden (8/4/2008)
August 5, 2008 at 5:40 am
Please see this link for instructions on how to get better results from these forums: http://www.sqlservercentral.com/articles/Best+Practices/61537/
August 4, 2008 at 4:06 pm
Suggestion: Temporarily add an XML column to your table and store the entire EVENTDATA in there.
Then you can query the actual EVENTDATA interactively, until you figure out what is...
August 4, 2008 at 4:03 pm
KMM (8/4/2008)
August 4, 2008 at 3:04 pm
The smiley's appear when you have a space followed by a ")" followed by a space or an end-line. I try to put a tab or a character in...
August 4, 2008 at 2:11 pm
good luck and thanks for the feedback.
August 4, 2008 at 1:39 pm
You should note that my technique preserves the "time" part of the dates (including Getdate()) instead of knocking them down to midnight. This might produce slightly different results than...
August 4, 2008 at 11:47 am
Jeff Moden (8/4/2008)
I wonder how they do running totals in data warehouses in SQL Server?
Either in pre-processing (the Load step of the ETL) or in post-processing (the Analysis client). ...
August 4, 2008 at 11:37 am
Try it like this:
ALTER procedure [dbo].[usp_GetDupes]
(@days int)
as
SELECT RX_NUMBER, FD_FACILITY_ID, POS_POS_FINALIZATION_NUM,
COUNT(RX_NUMBER) AS TALLY
FROM POS_DATA
WHERE POS_POS_FINALIZATION_NUM IN
(
SELECT POS_POS_FINALIZATION_NUM
FROM POS_DATA
GROUP BY POS_POS_FINALIZATION_NUM
HAVING (COUNT(POS_POS_FINALIZATION_NUM) > 1)
) AND
AND POS_DATESTAMP BETWEEN DateAdd(Day, -@days-1,...
August 4, 2008 at 11:22 am
stuart.hill (8/4/2008)
--------------------------------Msg 240, Level 16, State 1, Line 1
Types don't match between the anchor and the recursive part in column "AllDescr" of recursive query "cteIterate".
--------------------------------
There's not much that I can...
August 4, 2008 at 11:13 am
Viewing 15 posts - 6,076 through 6,090 (of 7,636 total)