Forum Replies Created

Viewing 15 posts - 10,336 through 10,350 (of 49,566 total)

  • RE: Better Writing

    OCTom (1/20/2014)


    Steve,

    I agree with you comlpetely. It can set one apart from the crowd.

    I find it ironic that you are writing this as your editorials often have misspellings and grammatical...

  • RE: Different collations on different databases

    What do you mean 'best way'?

    To change collation, you need to run an ALTER TABLE ... ALTER COLUMN on the columns you're changing.

    Test in a non-production environment first, make...

  • RE: Trigger

    Ok, and...?

    With the trigger as you have posted it, any insert will fire that trigger and hence will run that procedure. Whether it works as intended is another matter, but...

  • RE: Different collations on different databases

    Collations aren't per database or object. The collation on the database is just the default for new columns, there's no collation on an object. Columns are what have collation defined...

  • RE: WITH OPTION RECOMPILE faster query?

    It's called parameter sniffing. Plans ARE replaced when you recompile.

    Recompile either removes the plan from cache on the spot forcing a new compile the next time, or marks the...

  • RE: Trigger

    Define 'doesn't work'?

    What does that procedure do? What's the trigger supposed to do? Why is the trigger not referencing inserted or deleted pseudo-tables at all?

  • RE: Copy logins with their password

    Also consider the SSIS Transfer Logins task.

  • RE: Different collations on different databases

    If you're getting a collation error, you have two different collations. Check the columns, the database setting just defines the defaults

    As for changing... Test on a non-production environment first! You...

  • RE: Different collations on different databases

    Yes you can change it, it's a tonne of work. You'd have to run an ALTER TABLE ... ALTER COLUMN on every single char and varchar column in the database.

    Doing...

  • RE: Aggregate function with DATE TYPE column

    It should be, but why count(<column name>) rather than Count(*)?

  • RE: Database in Recovery mode

    Wait until recovery finishes!

    There is no alternate solution. There is no magic 'instantly finish recovery' button. Be patient and wait for the recovery to complete, then your DB will come...

  • RE: Database in Recovery mode

    praneethydba (1/20/2014)


    As the database is very big and no place on drive. we stopped taking backup's.

    So what do you expect to do when something goes seriously wrong and the DB...

  • RE: Database in Recovery mode

    Wait.

    There is nothing else you can do, particularly since you have no backup. You have to wait until recovery is complete.

    When you restarted the server all you did was force...

  • RE: Which is the faster ?

    Should be the same all other considerations being equal.

  • RE: Partitioned Table and Index Storage Confusion

    Depends. If you create the index on the partition scheme, it will be partitioned like the table and stored across the three filegroups. If you create the index on a...

Viewing 15 posts - 10,336 through 10,350 (of 49,566 total)