Forum Replies Created

Viewing 15 posts - 1 through 15 (of 126 total)

  • RE: Query local SSMS server group with Powershell?

    This also works

    get-childitem 'SQLSERVER:\SQLRegistration\Central Management Server Group\

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: AlwaysOn Failover Alert

    It looks like you have cribbed the code from here ..https://www.mssqltips.com/sqlservertip/3489/configure-sql-server-alerts-and-notifications-for-alwayson-availability-groups/

    ...have you updated the job_id to your specific job ids in your code?

    If not use the link as a reference...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Permissions Issue with Bulk Insert and Execute as...HELP!

    UPDATE - Solved! Pesky kerberos

    Thanks for those of you that responded. Your ideas put me on the right track. I went back to grass routes and re-checked everything and it...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Permissions Issue with Bulk Insert and Execute as...HELP!

    Many thanks for the response; Much appreciated. [EDIT]...Sorry - I missed the 'credential' part of your post. I will give that a go (although not sure if that works if...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: User (db_datareader) can't see tables in MS; can SELECT data!

    ok; I know this is really old post and has surely been resolved but just in case it's not...(as there was a new post)

    Run SP_helprotect @username = 'whateverUserName' on the...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: User (db_datareader) can't see tables in MS; can SELECT data!

    See above:

    Roy gave the answer. This is expected behaviour if the login is not granted view definition

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Verify SQL Backups With SQL Powershell

    Nice article although I think "Verify SQL backups" is misleading; there is nothing verifying the backups, just checking that they ran and completed. You would need to restore and integrity...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: SQL Server System Audit Report

    You can run it against remote servers 🙂

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: SQL Server System Audit Report

    You could always take a look at MS Baseline Security Analyser. Not fantastic, but useful.

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Find and Remove Duplicate Records SQL Server

    As long as there are not any triggers to complicate the issue, the merge statement would be another option. Not necessarily better, but at least you could update and insert...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Kill all USer Sessions before starting to restore a Database

    Is it worth mentioning that sysprocesses is a deprecated table?

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Prevent sp_ Procedures with SQLCop

    Is there a reason why you wouldn't just use native policy management in SQL to achieve the same?

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Database Permissions

    I would think as a DBA, SP_HELPROTECT is a quicker option?

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Importing data from a Oracle view

    Many thanks SQL Buddy - I will test and get abck to you to let you know if it worked

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Importing data from a Oracle view

    I cannot get the oledb providers to work, neither the MS one or the oracle one, from within the import data function. Could you let me know the steps you...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

Viewing 15 posts - 1 through 15 (of 126 total)