Forum Replies Created

Viewing 15 posts - 346 through 360 (of 471 total)

  • RE: SQL LEN Function

    Yes, interesting question. Can be fooled by the fact that ...

    SELECT len (@str),@str

    Returns:

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

    5 1, 2,

    ...with a...

  • RE: SQL 2008 T-SQL

    Yes, please explain the difference between answers 1 and 2 because it is very subtle.

  • RE: char to datetime!

    Implicit type conversions have been shown to work differently from one SQL Server version to another. We had a question recently that exposed this behavior. We witnessed it...

  • RE: char to datetime!

    If you rely on implicit conversion, is it going to convert the CHAR to DATETIME or DATETIME to CHAR? You are never really sure so you explicitly convert...

  • RE: char to datetime!

    Mark Horninger (8/19/2009)


    Actually, you could do an implicit or explicit conversion....

    I agree. That was my first thought as well.

  • RE: CheckDB

    I have always been able to fix the broken database. I restore the backup with a new name and then drop and recreate any broken tables from the restored...

  • RE: CheckDB

    I would highly recommend you watch Paul Randal's TechED presentation.

    http://www.sqlskills.com/BLOGS/PAUL/post/TechEd-80-minute-video-of-Corruption-Survival-Techniques-presentation.aspx

  • RE: CheckDB

    Thanks for the explanation. I missed that 'Statistics' was in the last answer. When I first read the answers I thought you were saying that is...

  • RE: CheckDB

    Five people got the question correct so far, I am not sure how that happened.

  • RE: Choosing a FillFactor

    I set the default fill factor at %90. Then for tables which have static data that does not change much on a daily basis I explicitly set the...

  • RE: CheckDB

    So what kind of an error message does the author recieve when running CHECKDB agains the tempdb? I am not seeing it.

  • RE: Backup and Restore Tables

    mtassin (8/6/2009)


    Here's how to write the True/False type statements to work within the context of the question

    I agree. I was torn by DBCC CHECKDB, REPAIR_ALLOW_DATA_LOSS answer becuase it didn't...

  • RE: Reclaiming freed space

    Hugo Kornelis (8/5/2009)


    You'll see that after the TRUNCATE TABLE, the space used is zero - but after the INSERT INTO, it is right back at its original size, even though...

  • RE: Stored procedures

    Yes, I am a little worried about Artur. 😎

  • RE: Stored procedures

    Yes, really nice question that illustrates the perils of naming a stored procedure using the naming convention 'sp_' which is used for system stored procedures.

Viewing 15 posts - 346 through 360 (of 471 total)