Viewing 15 posts - 26,356 through 26,370 (of 59,099 total)
vshiva2379 (7/28/2013)
My table is
Student
StudentID int,
name varchar(20),
maths int,
science int,
comp int
records are
1, Allen, 60, 80,75
2, John ,70,60,90
3, Kim, 86,85, 80
result...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 28, 2013 at 6:26 am
Dird (7/28/2013)
Do what Jeff said but replace
PARTITION BY StudentNameWith
PARTITION BY SubjectName
I read it as wanting to know the best subject for each student hence the partitioning by StudentName. Partitioning...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 28, 2013 at 6:21 am
vshiva2379 (7/27/2013)
suppose if we have student name, and subjects so we want student name and max marks scored subject for each student
one student will be scored in maths,...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 27, 2013 at 9:04 pm
I guess I'd have to say the horse is already out of the barn on which backup software to use. That's a battle I wouldn't bother fighting.
So far as...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 27, 2013 at 7:29 pm
DataAnalyst011 (6/27/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 27, 2013 at 6:12 pm
Wesley.Groleau (7/27/2013)
For example, if the ROW (condition) then select col_A as @vrbl_X, col_B as @vrbl_Y
else, select L, M, N, O, P, Q, ...V and arrange them into several lines of...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 27, 2013 at 5:26 pm
What is the difference between what you've designed the Accounts hold and a Bank Account?
Also, why do you need to identify a "Primary Group" and why are you using 4...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 27, 2013 at 5:06 pm
skpani (7/27/2013)
GilaMonster..please make me clear with details..
My recommendation would be to look up "Clustered Indexes" and "Non Clustered Indexes" in Books Online so that you'll at least be familiar with...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 27, 2013 at 4:48 pm
koolme_85 (7/23/2013)
Never mind i just got it worked
Very cool. What did you do to fix it?
--Jeff Moden
Change is inevitable... Change for the better is not.
July 27, 2013 at 3:28 pm
iamsql1 (7/27/2013)
Jeff Moden (7/27/2013)
iamsql1 (7/26/2013)
Use length and then substring funtionc
It's easy to get to the moon. All you need to do is build a rocket ship. 😉
How would YOU...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 27, 2013 at 3:27 pm
The use of IsNumeric in onne of the solutions serves as a reminder that there are a whole lot of things that look like numbers to SQLServer. Here's some...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 27, 2013 at 12:20 pm
deepthipayal01 (7/27/2013)
data type int."
SELECT dbo.fn_int_only('11AB31-A')
but SELECT dbo.fn_int_only('11AB31') this...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 27, 2013 at 10:26 am
SwePeso (7/27/2013)
Here is a further reduced code (one less addition)(DATEPART(DAYOFYEAR, DATEADD(DAY, DATEDIFF(DAY,...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 27, 2013 at 10:25 am
Skpani (7/27/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 27, 2013 at 10:05 am
iamsql1 (7/26/2013)
Use length and then substring funtionc
It's easy to get to the moon. All you need to do is build a rocket ship. 😉
How would YOU use what you...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 27, 2013 at 9:50 am
Viewing 15 posts - 26,356 through 26,370 (of 59,099 total)