Forum Replies Created

Viewing 15 posts - 4,246 through 4,260 (of 6,036 total)

  • RE: OSQL output stored procedure column formatting problem

    NULLIF(FieldName, '')

  • RE: The T-SQL Quiz

    Yes, I saw that typo when I posted the query but did not bother to update the post.

    And it's good that I would fail the test.

    Because if you don't...

  • RE: Select And Count Consecutive Numbers

    And to finalize it:

    #Work must permanent table populated/updated when a new row is saved in "Header" table.

    Then you'll not gonna have any problems with building SELECTs and providing best performance.

  • RE: The T-SQL Quiz

    Different number of columns depending on a parameter value?

    Well, I guess no optimisation could let that project survive till real amounts of data will arrive.

    It will always stay on...

  • RE: The T-SQL Quiz

    I did not dare comment.

    You know my French.

  • RE: The T-SQL Quiz

    If you don't specify the version that means it must work on EVERY version, not only the one you know.

  • RE: The T-SQL Quiz

    Unfortunately your solution does not run in SQL Server, at least in any of SQL Server installations we use for real product development.

    SQL Server 2005 is not still an industry...

  • RE: The T-SQL Quiz

    Are you sure the code you wrote is written in SQL?

    And front end envionmen is single user one.

    That's a difference between it and databases.

    Try to imitate 10 users run and...

  • RE: char to datetime

    And read "Cast and convert" topic in BOL.

  • RE: The T-SQL Quiz

    > Wrong! If it takes a bit longer to write scalable code that won't need to be changed, it's worth and extra minute or two for a piece of...

  • RE: The T-SQL Quiz

    Jeff, a little note:

    there was no requirement for proper commenting, there was a requirement for 2 min solution.

    Cannot say about anybody else, but my typing would not give me a...

  • RE: Sql Design help

    You should not search in ntext field.

    It's not a SQL Server job.

    You should split Job Descriptions into parts you are interested in when you are saving it. And save...

  • RE: The T-SQL Quiz

    BTW, the question itself is so "front end"!

    The whole nature of a professional database developer protests against mixing different datatypes in one column....

  • RE: The T-SQL Quiz

    1st of all - my query DOES NOT return an error.

    Try before you say.

    2nd, if I would include new table into my solution I would separate CREATE TABLE statement from...

  • RE: The T-SQL Quiz

    It's funny nobody, even author, mentioned an obvious solution:

    SELECT

    ISNULL(

    NULLIF(

    CASE WHEN Number % 3 = 0 THEN 'Bizz' ELSE '' END +

    CASE WHEN Number % 5 = 0...

Viewing 15 posts - 4,246 through 4,260 (of 6,036 total)