Viewing 15 posts - 16,276 through 16,290 (of 18,923 total)
Just found my mistake :
Select FileName from master.dbo.SysDatabases
SysFile is a virtual table that contains the fileinfo for the current database only.
June 23, 2005 at 9:34 am
Even in this case, the not in can make more sens to use than the not exists... Context is everything when you talk about performance.
June 23, 2005 at 9:18 am
let me rephrase my question. An exemple that you would actually use in production with performance in mind.
Good luck
.
June 23, 2005 at 9:17 am
Do you have multiple installations on the same pc?
Have you tried both the lazy and precise solutions?
June 23, 2005 at 9:11 am
any of the 2 conditions will do... I'd go with the path for precision or the shortname for lazyness
.
June 23, 2005 at 9:06 am
I don't either... but at least you have templates now
.
June 23, 2005 at 9:04 am
Select * from master.dbo.SysFiles where
name = 'FileNameGoesHere'
--and FileName = 'FullPathRelativeToServer'
June 23, 2005 at 9:00 am
"but it's not for the faint of heart."... certainly not, but the keyword here is BACKUP BEFORE.
June 23, 2005 at 8:58 am
It works on my pc, but I ahve them in a new folder... maybe you could move the template and hit refresh??
June 23, 2005 at 8:27 am
How about differential every 4 hours and log back ups every 15 minutes?? Can't lose more than 15 minutes of data that way.
June 23, 2005 at 8:09 am
a) 26M is a lot of rows.. are you sure you need that much???
b) size of the row for the selected columns (int = 4, tinyint = 1...)
F) one of...
June 23, 2005 at 8:08 am
Can you rerun the query like this and post the actualy text plan?
set showplan_text ON
GO
--select query
GO
set showplan_text off
June 23, 2005 at 8:05 am
Hehe, missed an easy one here... Thanx for the correction
.
June 23, 2005 at 7:45 am
Viewing 15 posts - 16,276 through 16,290 (of 18,923 total)