Forum Replies Created

Viewing 15 posts - 9,631 through 9,645 (of 49,571 total)

  • RE: Records suddenly disappear from fn_dblog in SQL Server 2008

    rani_rahbani (3/17/2014)


    I am already trying to create a dynamic trigger.

    No, don't try to create triggers which use dynamic SQL to do anything anywhere. That's going to kill performance, maintainability and...

  • RE: Are the posted questions getting worse?

    From a presentation on design I did recently:

    Business Analysis/Conceptual design

    Process of gathering requirements

    Identify entities

    Identify attributes

    Identify business rules

    Produces a conceptual model

    Logical Design

    Refining of the conceptual model

    Define the full set of entities...

  • RE: Impact of multiple user database files?

    Jeff Moden (3/17/2014)


    First, having the 80 files won't degrade performance. It won't enhance it, but it won't degrade it.

    Too many data files can degrade performance. What too many is...

  • RE: FOREIGN KEY constraint

    Books Online (the SQL help file) -> ALTER TABLE

  • RE: Inserting values with SP

    Remove the error handling (database side and client side, since both hide the errors) and have a look at exactly what is being returned

    Also try running the stored proc from...

  • RE: Inserting values with SP

    What error are you getting?

  • RE: Are the posted questions getting worse?

    paul.knibbs (3/17/2014)


    GilaMonster (3/17/2014)


    I just love the way a couple of heavy IO operations turns my (5 month old) laptop into a paperweight. Busy shrinking one DB and zipping the backup...

  • RE: FOREIGN KEY constraint

    You need a script to drop the constraint and another script to enable it, then some component in your SSIS package which checks that the constraint was indeed recreated and...

  • RE: Inserting values with SP

    altana (3/17/2014)


    GilaMonster (3/17/2014)


    What errors are you getting?

    p.s. A catch block which just discards the error is not exactly good coding practice.

    I doesn't give any error.

    Probably because the catch block...

  • RE: Inserting values with SP

    What errors are you getting?

    p.s. A catch block which just discards the error is not exactly good coding practice.

  • RE: FOREIGN KEY constraint

    And does that requirement have a reason other than 'because I said so'?

    You'll have to drop the constraint entirely and then hope you can add it back successfully. Be...

  • RE: FOREIGN KEY constraint

    Switch to delete instead of truncate. Removing the constraint is risky, as it leaves a window where data can be inserted which would violate the constraint.

  • RE: Improve performance

    yuvipoy (3/17/2014)


    When i delete the TableB with TableA record exists the query is taking long time thats why i came across Not Exists Vs Not IN.

    how about leftouter join?

    Very slightly...

  • RE: Log file won't truncate...any advice?

    Siberian Khatru (3/17/2014)


    assumed the log was truncated as part of the log backup procedure.

    It is. Truncate means to mark portions of the log as reusable. It happens on...

  • RE: Are the posted questions getting worse?

    I just love the way a couple of heavy IO operations turns my (5 month old) laptop into a paperweight. Busy shrinking one DB and zipping the backup of another...

Viewing 15 posts - 9,631 through 9,645 (of 49,571 total)