Forum Replies Created

Viewing 15 posts - 481 through 495 (of 1,253 total)

  • RE: How to sync database schema from a database to another?

    Iam with you on that .

    "Keep Trying"

  • RE: detect a table being updated

    Hi

    I doubt whether a single procedure that detects updates on any of the tables and updates the date column is possible.

    You can write update triggers on the tables or

    The procedure...

    "Keep Trying"

  • RE: Delete command in trigger

    whats the error?

    "Keep Trying"

  • RE: T-sq doubt

    Chris Morris (12/9/2008)


    steveb (12/9/2008)


    SELECT top 10 * FROM [YourTable] Order by YourId Desc

    It really depends on how your table is orderd, otherwise the results will not really mean anything

    That's...

    "Keep Trying"

  • RE: How to sync database schema from a database to another?

    Iam not sure how much you can automate this task or would even want to automate unless iam dealing with a very large number of changes.

    Anyway i do it manually...

    "Keep Trying"

  • RE: locking

    Hey... why are you reindexing every 4 hrs?

    "Keep Trying"

  • RE: Stored Procedure for 2 table insert

    Hi

    Your requirement seems pretty simple. Dont think you need the actual code...Just lookup the BOL on how to create procedures.

    Make sure you are doing the inserts inside a transaction.

    You...

    "Keep Trying"

  • RE: Free Tools for the SQL Server DBA Part 2

    thanks for the list.

    "Keep Trying"

  • RE: Development and Production Database

    Do you mean to say insert real time production data into development db. Then how will you put the data back to production?

    What i would suggest is

    Create a development...

    "Keep Trying"

  • RE: FK relation error

    ALZDBA (12/3/2008)


    khushbu.kumar (12/3/2008)


    ...

    I'm deleting the record from child table and then parent table. Still I get the error

    A parent row can have more than one child rows in a child...

    "Keep Trying"

  • RE: FK relation error

    Probably these "child" tables have Fkey relationships with other tables.

    "Keep Trying"

  • RE: Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs

    Another masterpiece.

    Small typo -

    You have a single quote missing at the end of the date for the code under OLD fashioned swap.

    "SET @EndDate = '2008-01-15 "

    "Keep Trying"

  • RE: SQL statement to lock tables?

    You could use locking hints like TABLock or HoldLock. Alternatively you could set a higher transaction isolation level and do your inserts. Bear in mind that these have their own...

    "Keep Trying"

  • RE: temp table vs subquery

    GilaMonster (12/1/2008)


    Depends what you're doing.

    Usually derived tables are less intensive because there's no interim storage and no need to insert stuff somewhere and then query it out. If you're...

    "Keep Trying"

  • RE: Autoincrement variable

    i think i got this from some code written by Jeff Modem 🙂

    "Keep Trying"

Viewing 15 posts - 481 through 495 (of 1,253 total)