January 21, 2009 at 9:36 am
Is it possible to issue a DBCC Command like DBCC SQLPERF(LOGSPACE) from via an OPENROWSET I googled a number of posts across various websites where people are having a problem doing this, but there is no solution available. I haven’t been able to do this eithier. Anyone have any ideas ?
January 22, 2009 at 6:46 am
SELECT a.* FROM OPENROWSET('SQLOLEDB',
'DRIVER={SQL Server};SERVER=ServerName;Trusted_Connection=yes;',
'SET NOCOUNT ON;SET FMTONLY OFF; exec (''dbcc sqlperf(logspace)'')') AS a
MJ
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy