Forum Replies Created

Viewing 15 posts - 691 through 705 (of 1,353 total)

  • RE: Database File Placement and number of files

    Also, are there any benefit to having multiple OLTP Database Log files

    I'm also interested to hear this, but we have had a lot of success with a multiple file TempDB....

  • RE: CASE vs ISNULL? Which is faster?

    The expressions are not the same.

    I agree, but no one has addressed that. The CASE statement says if null do x if not do y. The other says...

  • RE: ID or Id

    In a POS system, someting like a terminal_id (origination) + timestamp could be a natural key

    I don't want to get in a back and forth about what a natural key...

  • RE: ID or Id

    In the RDMS realm, it makes more sense for a number of reasons to use a business assigned origin code and timestamp combined to form a natural key.

    [Emphasis mine]

    However...

  • RE: Selecting from sub-queries as tables

    This kind of sub-query is called a derived table. With the addition of CTEs to TSQL I don't know that they have much use anymore.

  • RE: ID or Id

    Given a single row that contains StartDate and EndDate columns as DATETIME2 columns, write the code to calculate the duration between those two columns and display it in the HHHHHHHH:MI:SS.mil...

  • RE: ID or Id

    What are the issues with DATETIME2 and DATEDIFF?

  • RE: ID or Id

    Sequence - this is no different logically than an int or identity, the difference is in how it is generated.

    It may not be different logically, but if it's important to...

  • RE: ID or Id

    That's a bit of a stretch. *IF* it really does stand for "Identity *Document*", then, yes, it should be ID. That's again why I strongly prefer underscores, so the word...

  • RE: ID or Id

    Why selectively capitalize just one abbreviation? Why the inconsistency?

    If it involves this thing we call language, absolute consistency is elusive. As consistent as possible remains a worthy goal.

  • RE: Prevent sp_ Procedures with SQLCop

    I'm still cleaning up "sp_" junk and "tbl_" notations that have become views (and vice versa) and a myriad of column names that no longer make sense that others have...

  • RE: ID or Id

    Perhaps Military ID means 'Military Identity Document' rather than 'Military Identifier', in which case the usage is perfectly sound.

    Yes, I guess that makes sense. In any case, as a...

  • RE: ID or Id

    ... and ID is not? What is it then?

    'Id' is an abbreviation of a single word and is therefore valid, at least in standard written English.

    When abbreviating 'Company', would you...

  • RE: ID or Id

    I would take issue with ID by itself, on every table

    Agreed. Maybe I should have made that clear in my post.

  • RE: ID or Id

    I use ID. It's an abbreviation that otherwise doesn't form a word.

Viewing 15 posts - 691 through 705 (of 1,353 total)