Viewing 15 posts - 796 through 810 (of 2,894 total)
ScottPletcher (11/30/2012)
Are you sure that hi __[blank] low is "more logical" than "hi lo __"?
What about a potential for 10 scores?
If you're reading it, do you want to see "hi...
December 1, 2012 at 3:47 pm
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 COUNT(*) >...
November 30, 2012 at 3:28 pm
jasona.work (11/30/2012)
November 30, 2012 at 9:50 am
If you using flat-text-files for export-import of data, you should not allow data to contain the same control character (or combination of them) used as row or column separators.
As...
November 30, 2012 at 9:27 am
another one, for my logic only, without even CASE WHEN (actually it's hidden under NULLIF):
select student_id
,high_score = MAX(score) ...
November 30, 2012 at 9:13 am
... 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 during interviews....
November 30, 2012 at 9:06 am
what do you mean by "mid-score"? Do you mean average or second largest score (from three possible ones)?
November 30, 2012 at 8:49 am
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 mid_score should...
November 30, 2012 at 8:42 am
Shadab Shah (11/30/2012)
Chris Harshman (11/30/2012)
November 30, 2012 at 8:10 am
It's not an issue. It is default setting.
menu Tools/Options
expand Query Results/SQL Server
select Results to Text
change "maximum number of characters displayed..." to 8192 (that is absolute max to be displayed...
November 30, 2012 at 8:09 am
freecoder (11/30/2012)
can u please help me! I have never written dynamic sql. And I dont have time to learn :(.
Can you give it to someone else to do? Surely if...
November 30, 2012 at 5:52 am
How many records does query return without parameters?
Looking the latest version of your sp, I can tell that it has quite few things...
1. Brackets in WHERE clause of your...
November 30, 2012 at 5:50 am
I have also noticed that your code is changes from post to post 😉
Now I can see that you also trying to page it.
Please note:
SET ROWCOUNT is not the...
November 30, 2012 at 5:31 am
freecoder (11/30/2012)
November 30, 2012 at 5:23 am
Viewing 15 posts - 796 through 810 (of 2,894 total)