Forum Replies Created

Viewing 15 posts - 1,801 through 1,815 (of 7,636 total)

  • RE: checksums and unicode data

    To clarify: HashBytes w/ SHA1 is nigh-unbreakable.

  • RE: checksums and unicode data

    Jeff Moden (8/10/2009)


    Ummmm.... does SQL Server's CHECKSUM use the SHA1 algorithm because I was talking about that CHECKSUM. Obviously that doesn't take 6000 to 12000 years to happen because...

  • RE: checksums and unicode data

    Jeff Moden (8/9/2009)


    Paul White (8/8/2009)


    HashBytes (perhaps including the PK as a salt) is a good choice if the task is to detect changes.

    CHECKSUM is quick and efficient for creating hash...

  • RE: stored procedure and if statement

    What have you tried so far?

  • RE: kill connection

    Well, this will bump everyone else off and keep them off until you reset that database to MULTI_USER mode:

    ALTER DATABASE YourDBName SET SINGLE_USER WITH ROLLBACK IMMEDIATE;

  • RE: script

    Robert klimes (8/10/2009)


    you can use sys.master_files instead of sys.database_files to get all databases on server.

    Wow, nice tip! I wonder why I never noticed it before ...?

  • RE: Are the posted questions getting worse?

    GilaMonster (8/10/2009)


    Gianluca Sartori (8/10/2009)


    Thanks Gail! I'm never patient when it's time to learn something new, especially from you!

    Please note I'm asking for an article review, either a technical review or...

  • RE: Stored procedures

    FYI: the BOL link posted after the explanation does not confirm anything said in the explanation.

  • RE: Issue with assigning candidates to a review list

    Bob Hovious (8/7/2009)


    Warning. Don't click on the link above. Save it and open it with notepad or some other editor first. I'm...

  • RE: date function

    Hmm, better go with minutes.

  • RE: date function

    Oops, that's still too big...

  • RE: date function

    You are getting an integer overflow because you are trying to count milliseconds since 1900.

    Try this query:

    SELECT 1000 * 3600*24 * 365.25*(2009-1900)

    Use seconds instead.

  • RE: Can Sql 2008 and 2005 exist on the same machine?

    Yep, sure it works. I've got both on my laptop right now.

    I am no admin, but the only "trick" that I know of is to make sure that you...

  • RE: WORD UP!

    Dang, someone told me last year what causes that and I can't remember ... 🙁

  • RE: ASP SQL Select in a Select issue

    chris.pols (8/5/2009)


    Got some more efficient code for an FYI:

    SQL = "SELECT TOP 10 X.differential FROM ( " _

    & " SELECT...

Viewing 15 posts - 1,801 through 1,815 (of 7,636 total)