Forum Replies Created

Viewing 15 posts - 3,256 through 3,270 (of 6,041 total)

  • RE: Serious Hacking

    Wayne West (10/21/2015)


    Eric M Russell (10/21/2015)


    If someone (or something), other than the official DBA, unexpectedly changes configuration settings on the database server, then you probably want to immediately close all...

  • RE: Script out passwords

    Iwas Bornready (10/21/2015)


    Funny. I actually thought you had something there.

    Are you referring to the brute force dictionary query against sys logins table to get passwords? Yes, it works. There are...

  • RE: Bad Management

    One definition of a "bad manager" is one who locks themselves in their corner office from 8am - 5pm every day, or one who spends their day hovering over the...

  • RE: Serious Hacking

    timlenz (10/20/2015)


    Mike Fal (github.com/MikeFal) did an excellent presentation to our SQL Users Group on configuring your servers using PowerShell. By having the configuration setup he was able to install a...

  • RE: Retrieving DDL & other object changes from DMVs

    SQLCurious (10/20/2015)


    Thanks, Eric. Unfortunately, that's not enough for me since it will only tell me that the object has been modified...that too the most recent one. I need to know...

  • RE: Retrieving DDL & other object changes from DMVs

    The following will return all objects modified today.

    select * from sys.objects where cast(modify_date as date) = cast(getdate() as date);

  • RE: Deleting large batches of rows - optimum batch size?

    Kim Crosser (10/20/2015)


    Eric M Russell (10/19/2015)


    it's indicative of poor ETL processing or poor data modeling. I mean, why insert something and then delete it?

    We have interfaces with other systems where...

  • RE: Serious Hacking

    Steve Jones - SSC Editor (10/20/2015)


    Eric M Russell (10/20/2015)


    It makes me wonder how anyone (regardless of whether they are a hacker or the CIO) can download records for 40 million...

  • RE: Some spid's Blocked By 2 SPid's without share table !!!

    The following gem will list what database/objects currently are locked by an open transaction, the type of lock used (ie: Exclusive vs. Shared) and also the SPID, login name, etc....

  • RE: Serious Hacking

    Let's assume a hacker can gain access to a privileged account on a highly sensitive database, like the one belonging to the federal government's Office of Personnel Management.

    (OK, let...

  • RE: Deleting large batches of rows - optimum batch size?

    Lynn Pettis (10/19/2015)


    Eric M Russell (10/19/2015)


    What % of rows are you deleting and how often? If > 25%, then you probably want to go ahead and just drop all indexes...

  • RE: Deleting large batches of rows - optimum batch size?

    What % of rows are you deleting and how often? If > 25%, then you probably want to go ahead and just drop all indexes and then rebuild afterward. Another...

  • RE: Database Tuning Advisor crashes on complex query

    Indianrock (10/19/2015)


    Yes, its not pretty. With 30 indexes on the table, I was hoping to find some to remove or change. Very difficult to do when such updates...

  • RE: Database Tuning Advisor crashes on complex query

    Lynn Pettis (10/19/2015)


    Here is the update query initially post in a slightly more readable format:

    ...

    Looking at this, I started having a problem following it. This is something I'd have...

  • RE: Using Latitude and Longitude to get the name of a state

    To start, you would need a reference table mapping the longitude and latitude boundaries of each state, wouldn't you?

Viewing 15 posts - 3,256 through 3,270 (of 6,041 total)