Forum Replies Created

Viewing 15 posts - 916 through 930 (of 3,011 total)

  • RE: Decrypted Data Using Views

    This will do what you want, although I would suggest protecting the certificate private key with the database master key instead of a password, since the password has to be...

  • RE: Converting local time to UTC when loading fact table

    Create a table showing the offset to UTC time for different time ranges, and then query that table to get the correct UTC offset to convert the local time to...

  • RE: Why Use the Principle of Least Privilege?

    There are fairly simple steps that you can use to eliminate the vast majority of SQL Injection attacks:

    Always Use Parameters. Even if you don't use Stored Procedures.

    http://weblogs.sqlteam.com/jeffs/archive/2006/07/21/10728.aspx

  • RE: Divide by 0 Error

    Replace this:

    SUM(trxquantity) / SUM(trxcount)

    with this:

    SUM(trxquantity) / NULLIF(SUM(trxcount),0)

  • RE: When to do column only encryption?

    sturner (4/6/2011)


    Jeff Moden (4/1/2011)


    I've also seen folks that do it just the opposite. Encrypt the item you're trying to find and look that up in the encrypted column. ...

  • RE: Named Instance vs Virtual Guest

    My preference would be to find a different vendor.

    I consider a vendor who requires sysadmin (or other server role) or dbo access for the normal application login to be incompetent....

  • RE: Page verify - Backup with checksum

    Does anyone know how to force a 2005 or 2008 maintenance plan backup to use the WITH CHECKSUM option of the backup command?

    I have not been able to find the...

  • RE: Extract Month from YYYYMM format

    select MonthName = datename(month,'200602'+'01')

    Results:

    MonthName

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

    February

  • RE: The Chance of Failure

    Steve Jones - SSC Editor (4/1/2011)


    Michael Valentine Jones (3/31/2011)


    Don't think of it as a failure.

    Think of it as a chance to start over without the burden of all that legacy...

  • RE: When to do column only encryption?

    Usually, you only encrypt one or two columns in a database, like a credit card number, and when you encrypt column level data, you only encrypt it when you add...

  • RE: proc can return table?

    Jeff Moden (3/31/2011)


    Grant Fritchey (3/31/2011)


    Michael Valentine Jones (3/31/2011)


    Grant Fritchey (3/31/2011)


    You can use a table valued parameter as an output parameter. But what are you trying to do?

    I believe that is...

  • RE: When to do column only encryption?

    repent_kog_is_near (3/31/2011)


    since TDE does whole DB encryption, and with less overhead, what may be situation where column only encryption would be a better choice to use with SQL 2008? or...

  • RE: proc can return table?

    Grant Fritchey (3/31/2011)


    You can use a table valued parameter as an output parameter. But what are you trying to do?

    I believe that is only available in SQL 2008 and later...

  • RE: The Chance of Failure

    Don't think of it as a failure.

    Think of it as a chance to start over without the burden of all that legacy data.

  • RE: Certification...Yes or No?

    As a rule, I give no weight, positive or negative, to certifications when I look at a resume.

Viewing 15 posts - 916 through 930 (of 3,011 total)