Forum Replies Created

Viewing 15 posts - 2,476 through 2,490 (of 3,348 total)

  • RE: Unique constraint on a nullable column

    I have to agree with the others that adding a WHERE clause to all INSERT statements is not a good workaround, for the reasons already given (not robust, not possible...

  • RE: Why doesnโ€™t ISNUMERIC work correctly? (SQL Spackle)

    I have some already seen several posts about how useless ISNUMERIC() is, and how SQL Server lacks a function that tests is a value can actually be cast to a...

  • RE: sp_tables

    sknox (11/30/2010)


    Hugo, I do hope that you've posted the same excellent analysis as a comment to the Microsoft documentation... ๐Ÿ˜›

    Thanks! ๐Ÿ˜‰

    And no, I did not. But I did submit it...

  • RE: sp_tables

    An interesting question.

    I will not debate the quality of the question, but I will debate the quality of the documentation. Not the documentation that is linked to (this is a...

  • RE: Using OVER with an Aggregate Function

    Gopinath Srirangan (11/25/2010)


    Hi,

    How do we filter the result using WHERE and HAVING clause as used in group by

    Say like...

    select MAX(TaxRate) AS 'Tax Rate',StateProvinceID

    from Sales.SalesTaxRate where Name <> 'Canadian GST'

    group...

  • RE: Transactions

    Toreador (11/24/2010)


    I've never found this to be a problem though. Under what circumstances would you want to do DDL in a transaction?

    I do that all the time. I develop a...

  • RE: Transactions

    richardd (11/24/2010)


    Nice easy question? Unless I'm missing something, the CREATE TABLE, the first INSERT, the BEGIN TRAN and the ALTER TABLE statements are all inside a stored procedure which is...

  • RE: Transactions

    Good question. Many people (24% at this time) tend to think that DDL is somehow excluded from rollbacks, so it's good to help educate them.

    I was unaware of the issue...

  • RE: T-SQL GO statement

    bitbucket-25253 (11/23/2010)


    Want some more ...

    CREATE the temptable as ##

    Run the insert code ... do NOT close that instance of SSMS.

    Perform the SELECT * FROM ## statement .. right it returns...

  • RE: T-SQL GO statement

    bitbucket-25253 (11/23/2010)


    Hugo Kornelis

    The server does not matter, the client does. You need at least the SSMS version that ships with SQL Server 2005. It should work against any version...

  • RE: T-SQL GO statement

    Nice question, fairly basic. I agree that the # trickery is a bit unnecessary.

    Minor bitching about the title and explanation:

    1) GO is not a T-SQL statement. It's a batch seperator...

  • RE: temp table in sysobjects

    Randhir Singh (11/22/2010)


    Good question!!!

    I just want to add few lines here..

    1. sysobjects is a view not table

    And a deprecated one to boot. New code should use the new system views....

  • RE: Indexed Views

    amenjonathan (11/19/2010)


    I guess I will concede to your view of cursors because I don't have time to take your challenge. I have read many articles on cursor vs set vs...

  • RE: SSIS Execute Package Task

    Andy Leonard (11/19/2010)


    Hugo: I am considering every option for course deliveries.

    (...)

    Contact me if I can help you sir.

    Sir? I'm not called a sir very often!

    Thanks for offering those opportunities, but...

  • RE: SSIS Execute Package Task

    Good question. I tried to find the asnwer on the internet, but failed, then had to use my common sense to choose an answer.

    Andy, is there any reference (other than...

Viewing 15 posts - 2,476 through 2,490 (of 3,348 total)