Forum Replies Created

Viewing 15 posts - 3,121 through 3,135 (of 3,638 total)

  • RE: Think like a DBA

    99% of the time I use ISNULL.  It does what it says on the tin.

    COALESCE is useful when you have to have some form of construct that is IF @a...

  • RE: Think like a DBA

    Depends on their caffeine intake

    Seriously though, there are so many factors that determine how much administrative work needs to be done that it...

  • RE: Think like a DBA

    There are certain coding jobs that are the IT equivalent of cleaning the loo.

    Dealing with NULLs, dates and default values etc.

    If you can take this away from your developers and...

  • RE: Delete taking too long

    If you are absolutely positive that the records that you are about to delete don't have an related records in other tables then, as part of the delete process, try...

  • RE: Delete taking too long

    When you say that two table reference your 10 million row table, do you mean that there is a logical relationship or a physical i.e. foreign key constraints enforcing the...

  • RE: SQL Server 2000 vs SQL Server 7

    I take it that you checked the client's source data?

  • RE: Question of the Day for 28 Jul 2004

    Oooh the quandary.  Should I give the answer that the question wants or the actual answer received.

    It's like being at college again where you give the answer your lecturer wants to...

  • RE: Database Design Help - E-commerce Apparel Color/Size/SKU

    Actually I would approach your problem from a completely different angle.

    There are out-of-the-box e-commerce solutions out there and I would simply choose the one that is nearest your requirements.

    They are...

  • RE: Standard versus Enterprise

    The enterprise edition is one hell of a lot of money for......not really that much unless you are into major league stuff.

    I would work out precisely what it is that...

  • RE: Composit Primary Key or a Primary Key with Identity Column

    I tend to follow the practice that if the table is in the middle of a query then I need a single unique field to act as a primary key.

    If...

  • RE: Does a large transaction log affect performance?

    My understanding is that, as a transaction log is a sequential file writing into it doesn't cause performance issues.

    That said I can see performance issues arising in the following areas.

    • Disk...
  • RE: Procedure gets compile more than once

    Good Lord!!!!!!!

    Well, make sure your first statement in the procedure is SET NOCOUNT ON, which should speed the thing up.

    I would definitely break this...

  • RE: Procedure gets compile more than once

    If you are mixing and matching DDL with DML then you are almost certain to get recompiles.

    The way that I would approach the problem is to break out the proc...

  • RE: Output SQL Report to file

    Could you be a bit more specific?

    Do you mean the reporting services reports, error reports, results for QA etc?

  • RE: Sargable condition slower than non-sargable...why?

    I found that the best way of comparing text execution plans was to export them into text files then import them into source safe and use the compare function.

    Crude I...

Viewing 15 posts - 3,121 through 3,135 (of 3,638 total)