Forum Replies Created

Viewing 15 posts - 661 through 675 (of 13,445 total)

  • RE: Changing object owner

    changing the owner for object or jobs are just  object level schema lock; no instance wide affects. if someone is connecting or updating , you might have to wait for...

  • RE: Data Archive

    i was thinking of recovering table space, typically tied up in indexes or in heaps.
     and not reserved space for the whole database.

    AS Jeff mentioned,you have to shrink...

  • RE: Removing Databases

    if you run the query below in a given database, it will check the index statistics and tell you the last time a table was read/updated since the last time...

  • RE: SSC Forum Updates

    minor annoyance: the email link for old vs new forum posts: new posts have a direct link to unsubscripbe.
    old posts have the generic link to all the items you've...

  • RE: SSC Forum Updates

    Over the weekend, I saw a huge flood of the same kind of spam we were getting in the old forum software; mostly links to current events like football games...

  • RE: List users that belong to a specific database role

    Senchi - Sunday, January 15, 2017 8:24 PM

    This, unfortunately,this  works only if I run it on the server. If I run it from...

  • RE: List users that belong to a specific database role

    each database has a system view named sys.database_role_members, which is just ID's associated ot roles; you have to join that against database_principals to get what you are after.
    you'll need...

  • RE: Data Archive

    After a large delete, you'll need to rebuild the indexes on the table.
    the deleted items still take up the pages they used to occupy, and reindexing rearranges and deletes...

  • RE: stored procedure is only returning one letter

    Senchi - Saturday, January 14, 2017 9:01 AM

    I have a stored procedure like this :
    USE [MyDatabase]
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[sp_logvrnitev]
        @p1...

  • RE: SSC Forum Updates

    I managed to break the javascript in a post, so I cannot edit the post, nor use the mini "Explore "menu in the upper right that typically has a link...

  • RE: DMV for index options (such as ONLINE)

    brett.walker - Friday, January 13, 2017 12:18 PM

    Hello,

    I have a script that returns lots of useful information about all the indexes in my...

  • RE: Help me with the query - Reporting Server related

    i have this saved from something i built off of an msdn, does this help?

    left join ReportSchedule rs on Sch.ScheduleID = rs.ScheduleID
      left join...

  • RE: Migrating Subscriptions and Schedules from SSRS 2008

    agerard 65681 - Friday, January 13, 2017 9:10 AM

    Hi

    My company currently runs SSRS 2008 in production, and we've stood up an SSRS 2016...

  • RE: Export data in fixed width with header row

    I tried slapping a full example together, but i find it pretty annoying that Format-Table is leaving extra whitespace.
    there a line in the  beginning where  a header would be...

  • RE: Options for auditing SQL logins

    no problem with asking for another look, I'm glad to help.

    yeah you could potentially be seeing new logins being created after your delete, so they show up in your query;...

Viewing 15 posts - 661 through 675 (of 13,445 total)