Forum Replies Created

Viewing 15 posts - 91 through 105 (of 9,244 total)

  • Reply To: Advice: how to script out existing Azure (logical) SQL Server logins

    I'll assume Azure SQLDB since you cite "logical server".

    Important to remember with Azure SQLDB there is no concept of server logins and permissions, indeed, you shouldn't be (and shouldn't need...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • Reply To: Ledger Feature In Sql Server 2022

    start here as this has all the info

    https://learn.microsoft.com/en-us/sql/relational-databases/security/ledger/ledger-landing-sql-server?view=sql-server-ver16

     

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • Reply To: Invoke-SQLCMD

    You don’t need to use a file for the delete records, you have a memory resident recordset which you can loop through, could then output this status to a log...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • Reply To: Invoke-SQLCMD

    ok, but as suggested by others why dont you just connect directly to the source first, build your recordset and then connect to the target and perform whatever work needs...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • Reply To: Invoke-SQLCMD

    Bruin wrote:

    This is the snippet from script. The serverInstance and Query both use servers that have the Dash(-) in their names.

    stopwatch = [System.Diagnostics.Stopwatch]::StartNew()
    # Define your SQL Server...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • Reply To: Advice: how to script out existing Azure (logical) SQL Server logins

    Azure SQLDB or Azure SQL Managed Instance?

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • Reply To: is azure an option for multiple instances of dev engine and ssas?

    Vdis can be started and disposed to meet dev requirements

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • Reply To: Backup with Checksum Show No Issues, While DBCC CHECKDB Reports Errors

    andreas.kreuzberg wrote:

    Perry Whittle wrote:

    What errors did checkdb report? how often do you run dbcc checkdb on your databases?

    Hi,

    we check our databases every day with dbcc. If you got an...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • Reply To: Monitoring if something is deleted in DB

    Why use sql auth and not windows auth?

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • Reply To: Removing TDE from a Database: Level 4 of the Stairway to TDE

    You also need to bear in mind that even after decrypting the database and dropping the encryption key and cert it is still possible part of the transaction log is...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • Reply To: Monitoring if something is deleted in DB

    Obvious question, why does this person have the ability to do this in prod in the first place, kill this and you resolve 99.9% of the issues

    Put delete triggers on...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • Reply To: is azure an option for multiple instances of dev engine and ssas?

    again VDI will be best

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • Reply To: test sql servers

    Virtual desktop infrastructure is a common usage for exactly this, it keeps the organisation’s data where it should be and still easily accessible to those who have dev and test...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • Reply To: Can index fragmentation cause the database to enter suspect mode?

    Original DBCC CHECKDB output would be helpful, with no outputs available would be safe to say data loss is unknown

    if you knew what table(s) or index(es) were affected could restore...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

  • Reply To: Backup with Checksum Show No Issues, While DBCC CHECKDB Reports Errors

    Paul Randal details backup with checksum on this blog

    https://www.sqlskills.com/blogs/paul/a-sql-server-dba-myth-a-day-2730-use-backup-with-checksum-to-replace-dbcc-checkdb/

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" πŸ˜‰

Viewing 15 posts - 91 through 105 (of 9,244 total)