Viewing 15 posts - 466 through 480 (of 1,229 total)
mister.magoo (10/10/2012)
The outline of the logic is to replace the recusive cte with a...
October 11, 2012 at 2:26 am
haiao2000 (10/10/2012)
whatelse could i do to make this query perform better. this thing runs for about 20seconds on the table that contains more than 10 millions of records, which is...
October 11, 2012 at 2:24 am
CREATE VIEW (Transact-SQL) SQL Server 2005 states the following: "The ORDER BY clause is used only to determine the rows that are returned by the TOP clause in the view...
October 11, 2012 at 1:45 am
Resender (10/10/2012)
He asked because you can do it in Oracle, but that is cause in...
October 10, 2012 at 8:52 am
maida_rh (10/10/2012)
I tried ur solution but stilll code return the same result as my query return ....
AND NOT (
actiontype in ('withdrawn','Discontinued','Matured','Withdrawn from Public')
AND rhdate < (select getdate()-1095)
)
This will...
October 10, 2012 at 4:08 am
luissantos (10/10/2012)
The purpose for using a Cursor is because i need to run an Update not for one "referencia" = Article, but for more and less 170000, and for...
October 10, 2012 at 2:56 am
SELECT *
FROM Vu_CurRating
WHERE CatId <> 7
AND NOT (
actiontype in ('withdrawn','Discontinued','Matured','Withdrawn from Public')
AND rhdate < (select getdate()-1095)
)
AND NOT (
ltrating LIKE 'D%'
AND rhdate < (select getdate()-365)
)
ORDER BY SectorCode,...
October 10, 2012 at 1:09 am
raghuldrag (10/9/2012)
create tab T1(name varchar(22),age numeric(22))
create tab T2(name varchar(22),age numeric(22))
insert into t1 values('ram',22)
insert into t1 values('am',26)
insert into t1 values('sam',28)
insert into t1 values('bam',23)
insert into...
October 10, 2012 at 1:03 am
ravisamigo (10/9/2012)
If query is not using execution plans, how we can find it and what is the action required from DBA side?
How we can reduce the query cost for...
October 10, 2012 at 12:56 am
dean-hodgson (10/9/2012)
CREATE TABLE Subjects
(
SubjectsKey TEXT PRIMARY...
October 10, 2012 at 12:40 am
Could be because it's homework season, Eugene.
October 9, 2012 at 4:43 am
ronan.healy (10/9/2012)
out of interest is it possible to do it this way
update ACRT set MIDIRB = min(IRBT2.IRBRATING)
from ACRT,IRBT,IRBT2 where ACRT.MIDIRB = IRBT.IRBRATING
and IRBT2.IRBRATING > IRBT.IRBRATING
and if so what do...
October 9, 2012 at 4:41 am
DROP TABLE #SampleData
CREATE TABLE #SampleData (USERID CHAR(3), CLIENTID CHAR(6), PROJECTID CHAR(6))
INSERT INTO #Sampledata (USERID, CLIENTID, PROJECTID)
SELECT 'ABB', '012345', '000001' UNION ALL
SELECT 'ABB', '012345', '000002' UNION ALL
SELECT 'ABB', '012346', '000034'...
October 9, 2012 at 4:30 am
Grant Morton (10/9/2012)
ChrisM@home (10/9/2012)
Of those, this looks promising:
http://support.microsoft.com/kb/948525
Scanning through this lot, here's what I'd suggest:
List the version / SP / CU level etc...
October 9, 2012 at 4:16 am
Viewing 15 posts - 466 through 480 (of 1,229 total)