Viewing 15 posts - 18,391 through 18,405 (of 18,926 total)
this update is gonna table a while... you have 500 000 keywords about 88 000 indexes. the udf will be called once for each index. This is gonna...
March 14, 2005 at 8:39 am
Totally agree here... It would be nice to see how many questions we have left to get points.
March 14, 2005 at 8:09 am
Any here's a link on dynamic sql and why it should not be used :
The Curse and Blessings of Dynamic SQL
Make sure you understand the consequences on dynamic...
March 11, 2005 at 10:35 am
I never said you couldn't change the parameter type to varchar
.
But I never said it would speed it up either.
March 11, 2005 at 10:33 am
I was just requoting PW's solution... I never name any derived table dt (in prod environement anyways). I must say I don't apply all best practices when I just...
March 11, 2005 at 9:23 am
(
Select serverid, Max(updated) As MaxUpdated, Min(updated) As MinUpdated)
From diskspace
Where description = 'Local Fixed Disk'
Group By serverid
) dt
dt is short for derived table.
I...
March 11, 2005 at 8:48 am
Doh! I can't believe I didn't think to check that. Would this be worth making a FAQ (I know it's not frequent, but the compatibility level often causes...
March 11, 2005 at 8:33 am
Select dtQties.Part, dtQties.Qty, P.Location FROM Part_tbl P inner
join
(Select Part, Max(QTY) as QTY From Part_tbl group by Part) dtQties on P.Part = dtQties.Part and P.Qty = dtQties.QTY
ORDER BY dtQties.Part, P.Location...
March 11, 2005 at 7:23 am
I think you'll have to use an activeX script to do this in the dts... You'll be able to use a sring and won't have any length limit.
March 11, 2005 at 7:17 am
I've never used the reporting services. But in access what you have to do is put dbo.MyStoredProc as the source of the report, then fill the inputparameters box with...
March 11, 2005 at 6:24 am
Actually I must thank everyone who posted on this site. I had great teachers last year when I was learning prog, but I learned so much more from this...
March 11, 2005 at 4:34 am
Select key1, key2, count(*) - 1 as Dups from dbo.MyTable group by key1, key2 having count(*) > 1 order by key1, key2
March 10, 2005 at 12:24 pm
create proc dbo.SearchMyCustomers @Cust_id as int = null
as
set nocount on
select * from dbo.Customers C /*may need to inner join to your list of preselected customers here*/ where C.Cust_id = @Cust_id...
March 10, 2005 at 12:16 pm
There is a thread on this forum that has been started a few days back about parameter sniffing and how sql server wasn't always utilizing the most optimized plan because...
March 10, 2005 at 9:12 am
Viewing 15 posts - 18,391 through 18,405 (of 18,926 total)