Viewing 15 posts - 7,036 through 7,050 (of 7,597 total)
Eugene Elutin (11/30/2012)
... and got some pretty mediocre answers from (supposedly) experienced and skilled T-SQLers.
I am not be surprised when good skilled T-SQLers come up with stupid answers on paper...
November 30, 2012 at 4:50 pm
capnhector (11/30/2012)
ScottPletcher (11/30/2012)
Eugene Elutin (11/30/2012)
ScottPletcher (11/30/2012)
In the interests of being thorough, I added a Message to my proposed solution back to them:
SELECT
...as above...,
...
November 30, 2012 at 4:45 pm
Eugene Elutin (11/30/2012)
ScottPletcher (11/30/2012)
In the interests of being thorough, I added a Message to my proposed solution back to them:
SELECT
...as above...,
CASE WHEN...
November 30, 2012 at 4:13 pm
Jeff Moden (11/29/2012)
capnhector (11/29/2012)
November 30, 2012 at 1:53 pm
Grant Fritchey (11/30/2012)
For lots more detail...
November 30, 2012 at 12:28 pm
rwm972 (11/30/2012)
I'm trying to bulk insert a pipe-delimited file with <CR><LF> as a row terminator. The problem is some fields may contain <CR><LF>. So, I've asked the client to...
November 30, 2012 at 12:27 pm
Eugene Elutin (11/30/2012)
... and got some pretty mediocre answers from (supposedly) experienced and skilled T-SQLers.
I am not be surprised when good skilled T-SQLers come up with stupid answers on paper...
November 30, 2012 at 10:54 am
Jeff Moden (11/30/2012)
ScottPletcher (11/30/2012)
Jeff Moden (11/29/2012)
November 30, 2012 at 10:49 am
Eugene Elutin (11/30/2012)
what do you mean by "mid-score"? Do you mean average or second largest score (from three possible ones)?
The middle one. You're listing all the actual scores each...
November 30, 2012 at 8:49 am
Eugene Elutin (11/30/2012)
mid_score --may be NULL if only one test taken
low_score --may be NULL if only one or two tests taken
Looks a bit illogical to me...
I can see why...
November 30, 2012 at 8:45 am
PiMané (11/30/2012)
ScottPletcher (11/29/2012)
PiMané (11/29/2012)
ScottPletcher (11/29/2012)
Then define the FK on (c2, c1) and you should be...
November 30, 2012 at 8:37 am
Jeff Moden (11/29/2012)
November 30, 2012 at 8:28 am
PiMané (11/29/2012)
ScottPletcher (11/29/2012)
When you create the nonclustered index on c2, explicitly specify c1 as a key after that.Then define the FK on (c2, c1) and you should be covered.
if the...
November 29, 2012 at 4:20 pm
FYI, I think you can touch-up the original function to get rid of the variable and the COUNT(DISTINCT):
alter function AreEqual (@t as GenericTable readonly)
returns bit
as
begin
return (
select...
November 29, 2012 at 4:02 pm
Viewing 15 posts - 7,036 through 7,050 (of 7,597 total)