Viewing 15 posts - 9,346 through 9,360 (of 15,381 total)
It would be FAR better to remove the cursor from both of your procs. 😀
February 8, 2013 at 8:02 am
anthony.green (2/8/2013)
Well you learn something new every day.That was the way I was tought back when I was a young whipper snapper, so I guess it just stuck.
Count is one...
February 8, 2013 at 7:52 am
Jason-299789 (2/8/2013)
to order by the Count you need to alias it and then reference that in the orderby
anthony.green (2/8/2013)
You cant use a * in an aggregate query unless you group...
February 8, 2013 at 7:36 am
dwain.c (2/7/2013)
SELECT Div_time, Unit_id
,TimeDifferenceMin=DATEDIFF(minute, MIN(Filled_Time), MAX(Filled_Time))
FROM #Something
GROUP BY Unit_id, Div_time
HAVING MAX(Filled_Time) <> MIN(Filled_Time)
Edit:...
February 8, 2013 at 7:23 am
Great question. I don't do much with full text indexing but that is going to change for a project in the very near future so the timeliness was good for...
February 8, 2013 at 7:20 am
justsidu (2/7/2013)
Thanks for trying it out Sean. I appreciate your time.
I am willing to help you but you have to put in the effort to provide tables and data to...
February 7, 2013 at 3:30 pm
You haven't received much response because your question is so vague. I think this may be what you are looking for.
Notice how I provided a table and sample data. This...
February 7, 2013 at 3:00 pm
asco5 (2/7/2013)
for example i have
Date, ...
February 7, 2013 at 2:35 pm
OK last try. You think you need a loop but you don't. A loop is not the answer here. Sadly I can't help you with the answer because I still...
February 7, 2013 at 2:33 pm
justsidu (2/7/2013)
I want to automate the @asofdate so that I can increment @createdate by 1 day to get the historical data from that day...
February 7, 2013 at 1:30 pm
justsidu (2/7/2013)
I am new here and I will make sure I will abide by the etiquette from now. could do...
February 7, 2013 at 1:26 pm
akberali67 (2/7/2013)
February 7, 2013 at 12:41 pm
I took the liberty of attempting to format your script but it has a number of syntax errors, variables missing etc...
DECLARE @startDate AS DATETIME
,@endDate AS DATETIME
,@lastRunDate AS DATETIME
SELECT @lastRunDate =...
February 7, 2013 at 12:31 pm
Please take a few minutes to read the first link in my signature. There is nowhere near enough information here to even begin thinking about an answer. You have an...
February 7, 2013 at 12:29 pm
akberali67 (2/7/2013)
What I am trying to do is to filter a dataset on all possible combinations.
My code does create combinations in a separate dataset but I am unable to completely...
February 7, 2013 at 12:23 pm
Viewing 15 posts - 9,346 through 9,360 (of 15,381 total)