Viewing 11 posts - 1 through 11 (of 11 total)
Your telling me... 🙂
Its one of those vendor apps that like to come in and have sysadmin access to everything... this is not the only bad part of this product......
May 15, 2012 at 10:06 am
yes, that would be handy, I hard coded the database name when I was playing with that inner query, but I imagine the for each loop grabs the database names...
May 14, 2012 at 2:36 pm
Wrong!
Ok I know now...
I just extracted that inner query and played with it..
select
a.FILEID,
[FILE_SIZE_MB] =
convert(decimal(12,2),round(a.size/128.000,2)),
[SPACE_USED_MB] =
convert(decimal(12,2),round(fileproperty(a.name,'SpaceUsed')/128.000,2)),
[FREE_SPACE_MB] =
convert(decimal(12,2),round((a.size-fileproperty(a.name,'SpaceUsed'))/128.000,2)) ,
NAME = left(a.NAME,15),
FILENAME = left(a.FILENAME,60)
from
wslogdb70_2.dbo.sysfiles a
where filename like '%wslogdb70_%.mdf'
I think this will...
May 14, 2012 at 2:22 pm
ok, thanks,...
replicating 2 databases into our sandbox and I'll give that script a try...
So I think all I need to do is add an AND to where clause such as
...
from
?.dbo.sysfiles...
May 14, 2012 at 1:55 pm
I hope, here's what I did...
- I got domain user ID created by our security department. It only has domain user rights.
- Created a credential and used that domain user...
December 3, 2009 at 10:22 am
Humm... yeah I read that somewhere on the net during my initial investigation of my issue... I did thnk of another solution of adding a role to the MSDB database,...
December 3, 2009 at 5:51 am
We have a similar account for us DBA's here also, use to administer database servers. The services on the other hand are not managed by us, but by our security...
February 6, 2009 at 2:01 pm
yeah, that's the part that wouldn't work when we tried using our configured domain account for this service.... The only way to get it started was to have that domain...
February 6, 2009 at 1:35 pm
I actually did have the renaming part done as a seperate step in the scheduled job, but there was one reason why I put it directly in the SP, I...
January 22, 2009 at 9:36 am
nope, I think thats where the problem lies.... Is there a way to do this withot having to use xp_cmdshell, I know using this presents security hole. maybe this...
January 22, 2009 at 6:30 am
oh yeah, as I mentioned, it works like 95% of the time... for some odd reason, about once a week it will fail randomly, I'm trying to develop a pattern...
January 20, 2009 at 2:06 pm
Viewing 11 posts - 1 through 11 (of 11 total)