Forum Replies Created

Viewing 15 posts - 76 through 90 (of 272 total)

  • RE: Dynamically setting fully qualified name for tables in stored procedure

    I haven't had time to check out any strange implications this may have but I would experiment with synonyms

    You can create a synonym for a dbname.schema.name.tablename combination, so your code...

  • RE: Need hlep this linked server script

    You need to investigate what is going on with DTC (Distributed Transaction Coordinator)

    Is it running on both machines involved?

    Can the two DTC instances communicate? - it is a long...

  • RE: While ETL do I need to drop and recreate Pks and FKs ?

    As always - it depends.

    Lets say you have a table of 100 million rows and your ETL is inserting/updating a few thousand.

    In that case dropping amd recreating constraints is...

  • RE: Insert Statement Syntax Error

    Personally I always include the as, and I wish it was mandatory to aid readability.

    Mostly personal preference I suppose regarding the readability side, but I also find for...

  • RE: Recompile Features include at existing SP?

    Just migrating stored procedures from an older version to new does not require (nor benefit) from with recompile option.

    Generally the idea of a stored procedure re-using the compiled plan is...

  • RE: How we dealocate the memory of a row

    There is not normally a need to. What exactly makes you think you should need to do this - especially fo rone row?

    Normally the space will be reused a new...

  • RE: Database crash

    Rather a broad question - have you any specific error messages to go on? In what context was this asked?

    Mike

  • RE: Update Large Table

    I would also have the table defined WITH the three columnns that are being added rather than create it/load it /add columns.

    Make them non-nullable with default values if possible and...

  • RE: Table Relationship Design Question

    My immediate reaction is don't do it.

    I would have a separate xref table for each of the many:many relationships that you need for the following reasons:

    a) It more clearly...

  • RE: Large, high volume database

    If the main problem is ETL loading speed I would also look at a few configuration details:

    a) You say the data file is all on one disc - where are...

  • RE: When can we use "Do not Compress"?

    If you have an encrypted database it can compress very poorly, so it is often worth ensuring no compression is selected for a database that is encrypted.

  • RE: Backups for beginners

    It sounds like you are backing up to the same file every time, and you have multiple backups in the one file.

    Various choices, you say you are new to this,...

  • RE: Rollback data

    Its is not likely many people can help remotely, but give us some details to work with.

    a) DO you have a backup?

    b) Can you restore it to a clean db?...

  • RE: Rollback data

    Before you worry anout tools what recovery model is the db in?

    Redgate do one - http://www.red-gate.com/products/dba/sql-log-rescue/

    I have not used it personally but have heard good reports

    Mike

  • RE: Rollback data

    I think your only option is restore most recent backup to a different database, and then extract the lost data from the restored backup and re-insert it to the original...

Viewing 15 posts - 76 through 90 (of 272 total)