Forum Replies Created

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

  • Reply To: Are We Dinosaurs?

    We're not dinosaurs!  I saw a Star Trek movie (from the 23rd century mind you) where Spock said that a SQL injection attack was used to do nefarious stuff.  Hollywood...

    --Paul Hunter

  • Reply To: A Digital Wish Card for Ken

    Sending our thoughts and prayers Ken.

    @SqlNightOwl

    --Paul Hunter

  • RE: Making Deployments Simpler with Re-runnable Scripts

    Thank you for the post.  I always like to see what others are doing to create repeatable DDL/DML scripts.

    There are a few built in function you may want...

    --Paul Hunter

  • RE: Performance of the SQL MERGE vs. INSERT/UPDATE

    We use merge extensively as part of our delivery process.  We need to have re-runnable scripts that affect "process" related data (reference type data).  If the value isn't there then...

    --Paul Hunter

  • RE: The Danger of xp_cmdshell

    t.franz (9/16/2016)


    I think the risk is reasonable, as long you are using an xp_cmdshell_proxy_account with minimal privileges.

    I agree the risk can be mitigated.

    t.franz (9/16/2016)


    On the other side it would nice,...

    --Paul Hunter

  • RE: Practical Uses for Synonyms in SQL Server

    While a synonym will allow you to create a better name, it does nothing to handle the mix of order types. You may want to explore views that use...

    --Paul Hunter

  • RE: Practical Uses for Synonyms in SQL Server

    I use synonyms for testing. I have a testing DB that has business object mock ups, staged data and testing inputs. I then create/sync the synonyms to the...

    --Paul Hunter

  • RE: Dynamically generate Format File For OPENROWSET tekst file import

    I love helper routines like this... definitely going in my toolbox. 😎

    --Paul Hunter

  • RE: Holidays and Calendar Generation

    This wasn't a post advocating that you change your business process. If you're lucky enough to have a data steward then this post is irrelevant. If you have...

    --Paul Hunter

  • RE: usp stored procedure prefix

    We need a thumbs up/down button and a count for each on posts. Sometimes all I want to do is know if a majority of readers agree or disagree...

    --Paul Hunter

  • RE: Holidays and Calendar Generation

    Not all companies have the benefit of having a Data Steward. I've done this for a number of years for both large and small companies. My experience is...

    --Paul Hunter

  • RE: Holidays and Calendar Generation

    g.britton (2/16/2016)


    There's an easier way:

    1. Set up a date table (aka DimDate) (examples abound: google is your friend)

    2. Have a yearly process to update the table with new info...

    --Paul Hunter

  • RE: Holidays and Calendar Generation

    I see, in that case feel free to change the behavior of how the function works for your environment. My focus was based on how federal holidays are observed...

    --Paul Hunter

  • RE: Holidays and Calendar Generation

    michael.sasso (2/16/2016)


    One little quirk is the US Federal Reserve System. If a holiday falls on a Sunday then Federal Reserve banks and branches are closed the following Monday. However, if...

    --Paul Hunter

  • RE: Holidays and Calendar Generation

    Chris Quinn-821458 (2/16/2016)


    In the UK if a holiday such as Christmas Day, Boxing Day or New Year's day falls at the weekend, the public (bank) holiday always moves to the...

    --Paul Hunter

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