Forum Replies Created

Viewing 15 posts - 2,461 through 2,475 (of 3,348 total)

  • RE: Shrinking Databases

    CavyPrincess (12/10/2010)


    My opinion - what needs to be "fixed" is the default option of FULL on model. There are a lot of non-DBAs supporting SQL Server. Databases are...

  • RE: What is the result of the following query

    cengland0 (12/10/2010)


    I thought I found the trick and it was that a space was missing. The lack of the space actually had nothing to do with the error but...

  • RE: What is the result of the following query

    cengland0 (12/10/2010)


    This should produce the same as (Notice no spacing between two commands):

    Set @strSQL = 'Create table #tmp (id int)Insert into #tmp(id) values (1)'

    I knew this had to cause...

  • RE: Shrinking Databases

    I almost completely agree with Gail's comments.

    Shrinking should not be removed. There are situations where a database has suffered exceptional growth, and there is no need to keep that space...

  • RE: What is the result of the following query

    da-zero (12/10/2010)


    (but it surprises me that apparently 78% -for the moment- know the exact error message!)

    Well, I don't know about others, but for me this is one of the more...

  • RE: Nulls

    Artur Komkov (12/9/2010)


    What's why I always try to avoid nullable columns or make something like that:

    select * from dbo.Employees where EmployeeID

    not in...

  • RE: Build date table

    kevin.l.williams (12/9/2010)


    By the way, how many of you read the forum comments and stop after you get to Hugo's? 🙂

    :laugh:

    If that number is significantly large, I'll have to consider postponing...

  • RE: Build date table

    WayneS (12/9/2010)


    While reading through this, I kept asking myself "What is the author trying to teach?". Unfortunately, I never did get a good answer to my question...

    He did tell us...

  • RE: Nulls

    Good question. But the explanation is not an explanation at all. I wrote a series of blog posts about NULLs, and one part covers (a.o.) this issue - you can...

  • RE: Why doesn’t ISNUMERIC work correctly? (SQL Spackle)

    steven.malone (12/7/2010)


    ISNUMERIC functions perfectly. Every example given is, in fact, a valid numeric.

    Ummm... I think you missed where we discussed two commas in a row with no numbers

    select isnumeric(',,')

    -----------

    1

    (1...

  • RE: Why doesn’t ISNUMERIC work correctly? (SQL Spackle)

    Mike McIver (12/7/2010)


    This article is an example of how poor coding propagates.

    I have to disagree.

    Yes, you are right - all the examples are indeed valid string representations of a value...

  • RE: LIKE and = Operators

    SanDroid (12/6/2010)


    Hugo Kornelis (12/6/2010)


    2. The explanation does not mention how important it is to make ANSI_PADDING is enabled at the time the column is created. If it's not, the results...

  • RE: LIKE and = Operators

    Nils Gustav Stråbø (12/6/2010)


    Good question, thanks!

    Is it just me, or is there a bug in SQL Server when ANSI_PADDING is OFF (not that I've ever used it)?

    (... snip ...)

    I suspect...

  • RE: LIKE and = Operators

    Tough question, but also a good question. Well done, Ron!

    Two minor issues:

    1. The documentation link points to the description for SQL Server 2000. This behaviour has not been changed in...

  • RE: sp_tables

    You're doing nothing wrong. This is the expected and documented behaviour for sys.tables.

    Note that this discussion is about the system stored procedure sp_tables, not about the catalog view sys.tables.

Viewing 15 posts - 2,461 through 2,475 (of 3,348 total)