Viewing 15 posts - 661 through 675 (of 1,114 total)
Oh...Correct.
Thank a lot teachers.:)
May 21, 2008 at 12:15 am
I did that one. I saw remarkable change in the execution time.
Earlier it took 2.5 hrs, now it is taking 50 minutes only, still i am not happy with the...
May 20, 2008 at 10:41 am
All 3 work just fine if all you want to do is to detect that there is one or more. #3 is the fastest for this purpose. #1...
May 20, 2008 at 10:38 am
oh..Ok...I thought that 1782 is the maximum page per read.
Thanks Gila for pointing some good points.
so, what is your suggestion ?
May 20, 2008 at 5:52 am
Thanks for you reply.
Only thing left is to ask Karthik if he understands how it works and why...
As i haven't studied that article i am not in the...
May 20, 2008 at 5:38 am
As for higher vs lower reads, which do you think is better, for SQL to read 1782 pages or for it to read 720?
1782 is better. Am i correct...
May 20, 2008 at 5:35 am
I heard that we should avoid <> operator because it leads to 'Table Scan'.
I think way #1 is best when we compare with way #2. Am i correct ?
May 20, 2008 at 4:20 am
what i am saying is #3 is not suitable for our requirement. #1 and #2 is working fine.
May 20, 2008 at 3:15 am
suppose if i have like
insert into #test
select 1
union all
select 0
union all
select 1
union all
select 0
union all
select 1
union all
select 1
union all
select 0
union all
select 1
union all
select 0
union all
select 1
union...
May 19, 2008 at 7:30 am
Once I repair the error in the #2 code you provided, it gives me the following...
-----------------------------------------------------
3.0
(1 row(s) affected)
...
May 19, 2008 at 7:21 am
why i have used ? for your reference,
http://www.sqlservercentral.com/Forums/Topic492922-8-1.aspx#bm492981
May 19, 2008 at 7:17 am
select sum(sign(Sample)) from #test
select sum(convert(int,Sample) from #test
select max(cast( Sample as int)) from #test
May 19, 2008 at 7:13 am
What is the purpose of the MIN statements?
1) Multiplying by 100 just to take modula 100?
2) Multiplying by 100 just to take integer part divided by 100?
Ok.I will explain it.
Assume...
May 19, 2008 at 7:10 am
for #1,
Create Table #PMgr
(
sP varchar(25) NULL,
MID varchar(10) NULL,
mm int Null,
yyyy int Null,
DateStart datetime Null,
monthEndDate datetime Null,
Flag char(1)
)
Insert into #PMgr (sP,mm,yyyy,DateStart,monthEndDate,Flag)
SELECT sP,
...
May 19, 2008 at 6:58 am
Viewing 15 posts - 661 through 675 (of 1,114 total)