Viewing 15 posts - 211 through 225 (of 389 total)
avdhut.k (8/31/2012)
Select Lnno From Temp_Check
Where det_trantype = 'Opbal'
Group By Lnno
Having ...
August 31, 2012 at 3:53 am
Shadab Shah (8/30/2012)
The question which i am going to ask will prove that i how newbie i am.
Basically indexes increases the performance will searching which is nullified while inserting ....
August 30, 2012 at 10:32 pm
raghuldrag (8/28/2012)
(
@stuid nvarchar(22),
@startyear nvarchar(22),
@endyear nvarchar(22),
)
as
begin
select name,class,noofsubject,rank,test from @tab1
union
select name,class,subject,rank,test from @tab2
where rank is not null
and studentname=@stuid
and accodomicyear>=@startyear
and accodomicyear<=@endyear
end
OUTPUT:
class noofsubject ...
August 28, 2012 at 1:09 am
raghuldrag (8/27/2012)
employee details
...
August 28, 2012 at 12:05 am
rhythmk (8/26/2012)
niha.736 (8/26/2012)
Hi Rajesh, can u please mail me the doc.Hey Guys,
For sharing personal information(emailid) you can send private messages.
That would secure your mailbox 🙂
Done 🙂
However I don't think we...
August 27, 2012 at 11:54 pm
Saga... (8/27/2012)
Main objective is to find duplicate db's...... and out put is perfect..... which I am looking for....
Can you please help wi
Sorry but it is difficult without the sample...
August 27, 2012 at 4:41 am
asranantha (8/26/2012)
i have a table that table contains some nullt values and some spaces.
how to seperate what ever...
August 26, 2012 at 10:36 pm
niha.736 (8/26/2012)
Hey Guys,
For sharing personal information(emailid) you can send private messages.
That would secure your mailbox 🙂
August 26, 2012 at 10:24 pm
SQLRNNR (8/24/2012)
eccentricDBA (8/24/2012)
JAZZ Master (8/24/2012)
Cliff Jones (8/24/2012)
Daniel Bowlin (8/24/2012)
High priorityeverything
nothing
NIN
boon
August 26, 2012 at 9:56 pm
stephen mehl (8/23/2012)
Can CASE be used as follows?
CASE
WHEN expression is TRUE THEN
SQLstatement#1
ELSE
SQLstatement#2
END
Thanks for any help,
Larry...
August 23, 2012 at 10:39 pm
mohan.mariyappa (8/23/2012)
Thanks all. It works
Hi Mohan,
Apart from your specific requirement.
I was thinking about the scenario where first record itself is having NULL.
You can validate that also in your logic.
August 23, 2012 at 10:34 pm
rVadim (8/23/2012)
2. Your 2 examples are not equivalent: in 1st it seems you want to take first not...
August 23, 2012 at 10:20 pm
sandeep rawat (8/23/2012)
Lynn Pettis (8/23/2012)
sandeep rawat (8/23/2012)
table deftable
(
price int,
typeofpen varchar (20)
)
query
-----
,WITH Temp AS
(MAX(price ) OVER(PARTITION BY typeofpen) AS price
FROM
table
)
SELECT SUM(mx) FROM temp
Curious, this...
August 23, 2012 at 9:55 pm
Sumit Rastogi (8/23/2012)
Try this one:select * from Table1(nolock) T1 where T1.column1 in (select T2.column1 from Table2(nolock) T2 order by T2.column1 desc)
Regards,
Sumit Rastogi
Hi Sumit,
It is the best practice to...
August 23, 2012 at 3:08 am
Viewing 15 posts - 211 through 225 (of 389 total)