Viewing 15 posts - 61 through 75 (of 240 total)
L' Eomot Inversé (7/25/2012)
July 26, 2012 at 12:59 pm
Thomas Abraham (7/24/2012)
July 24, 2012 at 9:46 am
Interesting question, John. And great explanation of what's going on under the hood, Hugo!
Thanks to you both.
June 22, 2012 at 9:29 am
venoym (6/14/2012)
ronmoses (6/14/2012)
L' Eomot Inversé (6/14/2012)
June 14, 2012 at 9:48 am
Good question. I learned something, too.
But I also agree with the following...
L' Eomot Inversé (5/23/2012)
May 23, 2012 at 11:02 am
Sorry -- hadn't read your entire post. Looks like you don't have permissions to modify the table/indexes at all. That would rule out implementing my suggestion....
May 10, 2012 at 11:16 am
Do you have an index on the ID field? I presume you would....
This might be a situation where it would be worth creating a computed column that contained only the...
May 10, 2012 at 11:14 am
dwilliscp (5/4/2012)
Thus I need to get 2012/02, 2012/03, 2012/04.. ect
How about...
select cast(datepart(Year,[Net_Day]) as varchar) + '/' + right('0' + cast(datepart(Month,[Net_Day]) as varchar),2) as [Year/Month],
cast(datepart(Year,[Net_Day]) as varchar) +...
May 4, 2012 at 1:06 pm
Great question. Looking forward to using this feature in an upcoming project....
April 24, 2012 at 9:41 am
Lynn,
You're absolutely correct. There are quite a few unknowns here.
But I made qualified assumption based on the OP's initial post, which said,
select cast(selection as varchar(1))+cast(period as varchar(1)) as number from...
April 16, 2012 at 9:59 am
If the range of values for u.selection and u.period are constrained to single digit integers [1-9], why not skip the cast as varchar/int parts and just work with integer values,...
April 16, 2012 at 9:50 am
I'll add my voice to those saying this was a rather poorly worded, ambiguous question.
I took the third option to mean, 'Technically no, but you can mostly simulate foreign key...
April 6, 2012 at 10:53 am
Andy Hyslop (3/14/2012)
Hi
SELECT
Encounter
FROM
JeffTest
WHERE
Encounter NOT IN ( SELECT Encounter FROM JeffTest WHERE DocType = 305 )
Andy
If you only want to see the Encounter value once in the result set, I'd add...
March 14, 2012 at 9:50 am
Great question. Definitely learned something today.
I agree that the typo was a serious distraction, but I thought it was pretty obviously a typo and I assumed that QOTD would NEVER,...
March 9, 2012 at 10:47 am
Viewing 15 posts - 61 through 75 (of 240 total)