Forum Replies Created

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

  • RE: Obfuscating values (via T-SQL) in several Varchar, Char, and Datetime columns ?

    VoldemarG - Wednesday, September 19, 2018 1:26 PM

    Is there any good T-SQL solution that you can recommend for obfuscating a dozen of ...

    Michael Gilchrist
    Database Specialist
    There are 10 types of people in the world, those who understand binary and those that don't. 😀

  • RE: Obfuscating values (via T-SQL) in several Varchar, Char, and Datetime columns ?

    sgmunson - Friday, September 21, 2018 6:26 AM

    Michael G - Friday, September 21, 2018 5:42 AM

    Michael Gilchrist
    Database Specialist
    There are 10 types of people in the world, those who understand binary and those that don't. 😀

  • RE: Obfuscating values (via T-SQL) in several Varchar, Char, and Datetime columns ?

    I found this obfuscation code somewhere a while back and kept it.
    CREATE VIEW dbo.NewIDForFunction AS
    SELECT checksum(NEWID()) idNew
    GO

    CREATE FUNCTION dbo.RandomLetter() RETURNS...

    Michael Gilchrist
    Database Specialist
    There are 10 types of people in the world, those who understand binary and those that don't. 😀

  • RE: Who Works on What?

    Hang on - was it a hint to provide a SQL based solution, I can see the where clause already 😎

    Michael Gilchrist
    Database Specialist
    There are 10 types of people in the world, those who understand binary and those that don't. 😀

  • RE: Who Works on What?

    Nice one - it's quite a tricky Einstein Riddle
    Needs an "X" on the form though

    Michael Gilchrist
    Database Specialist
    There are 10 types of people in the world, those who understand binary and those that don't. 😀

  • RE: SSMS 17.6 connecting so SSIS 2016

    Hi,
    I can relate. I have a SQL 2016 server running SSIS and can only connect to it using SSMS 16. If I try using SSMS 17.X Is get this...

    Michael Gilchrist
    Database Specialist
    There are 10 types of people in the world, those who understand binary and those that don't. 😀

  • RE: Wildcard Searches

    Hi,

    Thanks for the article. I decided to try your email wildcard like search on our email list with a small tweak.

    Not all email address end with .com or .something. As...

    Michael Gilchrist
    Database Specialist
    There are 10 types of people in the world, those who understand binary and those that don't. 😀

  • RE: After cancelling SQL job database stuck in restoring state

    Hi All,

    I had the same issue. My one db was also stuck "restoring". I thought I leave it in that state overnight (non-production) but it never recovered.

    Thanks for pointing me...

    Michael Gilchrist
    Database Specialist
    There are 10 types of people in the world, those who understand binary and those that don't. 😀

  • RE: Conver Number to string ( exp. 9 - 0009 or 9 - 09)

    There must be a few ways to do this. Which would be quicker though...

    The original article's loop or this:

    "SELECT RIGHT(REPLICATE('0', @size) + CAST(@value AS varchar(20)), @size)"

    I'm guessing the latter would...

    Michael Gilchrist
    Database Specialist
    There are 10 types of people in the world, those who understand binary and those that don't. 😀

  • RE: Using the Script Task in SSIS to Process Data Files When They Arrive

    Thanks for sharing your article. I need to try implement something similar. So I'll be "stealing" bits and pieces from your code.

    With regards to your C# statement, I'm a SQL...

    Michael Gilchrist
    Database Specialist
    There are 10 types of people in the world, those who understand binary and those that don't. 😀

  • RE: The column "Column 2" cannot be processed because more than one code page (65001 and 1252) are specified for it.

    I've just encountered this bug too.

    What caused it was I edited a package by deleting the Excel source and replaced it with a .rpt flat file source... then all hell...

    Michael Gilchrist
    Database Specialist
    There are 10 types of people in the world, those who understand binary and those that don't. 😀

  • RE: Memory utilization

    Do you mean MemUsage indicator per process as in sp_who2's CPUTime and DiskIO?

    I found this article on MSDN.

    Michael Gilchrist
    Database Specialist
    There are 10 types of people in the world, those who understand binary and those that don't. 😀

  • RE: Database size in SQL Server 2012

    Would that be 511 PB or 524 PB?

    Googling...

    1 PB = 1000000000000000B = 10005 B = 1015 B = 1 million gigabytes = 1 thousand terabytes

    So if the correct answer is...

    Michael Gilchrist
    Database Specialist
    There are 10 types of people in the world, those who understand binary and those that don't. 😀

  • RE: Self Scheduling Jobs

    Thanks for the tips. Nice to have a framework the supplements the standard jobs that ship with SQL.

    Michael Gilchrist
    Database Specialist
    There are 10 types of people in the world, those who understand binary and those that don't. 😀

  • RE: Technology Guilt

    I hate to point out the obvious: The entire global economy is in a mess. Even way down at the southern tip of africa people are having a hard time.

    We're...

    Michael Gilchrist
    Database Specialist
    There are 10 types of people in the world, those who understand binary and those that don't. 😀

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