Viewing 15 posts - 10,996 through 11,010 (of 15,376 total)
Lynn Pettis (8/17/2012)
Stylez (8/17/2012)
August 17, 2012 at 9:45 am
Can you post ddl and sample along with desired output? Take a look at the first link in my signature for best practices when posting questions.
August 17, 2012 at 9:40 am
anushamsbi (8/17/2012)
Hi,It is not working.. can u pls eloborate that one..
Can you elaborate on "It is not working"? What does that mean? Did you get an error message? Did it...
August 17, 2012 at 7:18 am
dwain.c (8/17/2012)
ChrisM@Work (8/17/2012)
dwain.c (8/16/2012)
Lynn Pettis (8/16/2012)
Here is one for the do not hire list.Or it could be the needs much training list.
The quality of the hires will be roughly proportional...
August 17, 2012 at 7:04 am
Lynn Pettis (8/16/2012)
Sean Lange (8/16/2012)
I was just about to suggest using SSIS instead but it looks like Lynn beat me to it. 😀
Something about using the right tool for the...
August 16, 2012 at 12:57 pm
I was just about to suggest using SSIS instead but it looks like Lynn beat me to it. 😀
August 16, 2012 at 12:53 pm
Ken Davis (8/16/2012)
August 16, 2012 at 12:52 pm
Quite an odd requirement but it is going to take some work on your end.
Something like this should work.
select 'Col_1' as Col_1, 'Col_2' as Col_2, 'Col_3' as Col_3, 0 as...
August 16, 2012 at 12:35 pm
Pretty sparse on details but I think you want to use a left join instead of a union.
August 16, 2012 at 8:38 am
So if you totally remove the date check then it runs fast again? That sounds like indexing to me.
August 16, 2012 at 8:19 am
ChrisM@Work (8/16/2012)
pwalter83 (8/16/2012)
The query I am working on runs very slow due to a piece of code -
CREATE_DT > = DATEADD(D, 0, DATEDIFF(D, 0, GETDATE())) -1
Could someone please suggest...
August 16, 2012 at 7:50 am
Definitely do not need a cursor for this.
declare @ProcessingDate date = '17-May-2012'
PROCESSING_DATE > dateadd(d, @ProcessingDate, -1)
and PROCESSING_DATE <= @ProcessingDate
If that doesn't point you in the right direction, take...
August 16, 2012 at 7:29 am
scottichrosaviakosmos (8/10/2012)
August 15, 2012 at 3:10 pm
Borrowing from the fine example Luis provided this produces the results you are looking at least with the sample data.
SELECT child.LotID,
child.Parent,
isnull(CASE WHEN LEN( child.VBS) > 0 OR LEN( child.MOL)...
August 9, 2012 at 11:14 am
Woohoo!!! Vacation starts in about 7 minutes. Meeting my wife's parents, her brother and another close family friend for a long weekend in Chicago. 16 people in all. If you...
August 9, 2012 at 10:55 am
Viewing 15 posts - 10,996 through 11,010 (of 15,376 total)