Forum Replies Created

Viewing 15 posts - 76 through 90 (of 243 total)

  • RE: ORDER BY megabytes DESC

    steve,

    ORDER BY len([data]),[data]

    why is this not recommended? it's the simplest solution.

    _________________________

  • RE: RDL or RSS... that is the question!

    Excellent! Many thanks!

    _________________________

  • RE: how to validate if an Index has been disabled?

    cool thanks

    better yet though...

    select sys.objects.name as 'table',

    sys.indexes.name as 'index',

    is_disabled = case is_disabled

    when '1' then 'disabled'

    when '0' then 'enabled'

    end

    from sys.objects join sys.indexes

    on sys.objects.object_id = sys.indexes.object_id

    where sys.objects.name =...

    _________________________

  • RE: Stopping SQL Agent

    xp_cmdshell 'net stop SQLSERVERAGENT'

    thats it.

    though you may need to enable the xp_cmdshell.

    _________________________

  • RE: ORDER BY megabytes DESC

    interesting...

    i'll keep that in mind.

    thanks!

    _________________________

  • RE: index deal... does this look right?

    cool thanks.

    _________________________

  • RE: comparing Reporting Servers?

    i found it.

    if i just look under each RS Server and find

    the ReportServer database i can run a query against

    the Catalog table, and just compare them to each

    servers ReportServer.dbo.Catalog table.

    _________________________

  • RE: location of reports?

    nevermind... i found it.

    most of the information i was looking for CAN

    be queried from the ReportServer database.

    the information is located in the Catalog table.

    _________________________

  • RE: ORDER BY megabytes DESC

    john

    many thanks.

    i'm making those changes now. i'll just change the column

    name to something like [mb_size]

    _________________________

  • RE: ORDER BY megabytes DESC

    thanks for all the quick replies!

    SQLBill

    I was just mentioned the kb, mb, gb as a general thought. i'm

    not really collecting all that information. just a...

    _________________________

  • RE: xp_cmdshell ''''systeminfo''''

    seems like there would be a free little utility some where

    which would allow you to do just that.

    ahh well... what can you do?

    _________________________

  • RE: xp_cmdshell ''''systeminfo''''

    thanks for all the good feed back people!

    i'm looking over teh msinfo stuff now, and i'll

    see how i can hit all the servers in my environment

    at once.

    _________________________

  • RE: xp_cmdshell ''''systeminfo''''

    unfortunately i'm not that well versed in this and i don't

    know how to use OPENROWSET in a loop, dynamic stringg with xp_cmdshell.

    forgive me if i'm asking too much, but is...

    _________________________

  • RE: starting a job on another server?

    oops...

    ok then; thanks alot MVJ!

    _________________________

  • RE: starting a job on another server?

    grasshopper,

    your stuff worked G R E A T!!

    thanks for the post!

    _________________________

Viewing 15 posts - 76 through 90 (of 243 total)