Forum Replies Created

Viewing 15 posts - 3,781 through 3,795 (of 49,571 total)

  • RE: Update with Lock

    You're going to have to explain the problem in a lot more detail please, I can't understand. Code may very well help.

  • RE: Performance & uniqueness

    salardx (1/21/2016)


    1- if some bytes of the main file (mdf) get corrupted for any reason (hardware problems mostly) there's high probability that the whole table become unavailable!

    Nope. If a...

  • RE: Slow running query

    Alexander Suprun (1/20/2016)


    It's actually quite strange why optimizer decides to scan the whole index instead of performing few hundred seeks of the same index.

    The keys are in the wrong order....

  • RE: Un-partition and decompress tables

    Roust_m (1/20/2016)


    Given that not clustered indexes get rebuilt when a clustered index gets rebuilt...

    They do not, unless you're changing the keys of the clustered index. If you are, drop the...

  • RE: RECREATE AN ID OF A ROW AFTER BEING DELETED

    My question would be 'why'?

  • RE: Clustered Index Scan

    Table definition, index definitions and execution plan please.

    But first, is the query really a problem?

  • RE: Are the posted questions getting worse?

    djj (1/20/2016)


    I missed if anyone ever found the crystal ball?

    It's in a quantum state. At best, sufficient need can collapse its waveform temporarily and cause a sudden burst of clarity,...

  • RE: Are the posted questions getting worse?

    Eirikur Eiriksson (1/20/2016)


    Alvin Ramard (1/20/2016)


    Ed Wagner (1/20/2016)


    Steve Jones - SSC Editor (1/20/2016)


    This is, potentially, the longest thread on the Internet. I'm not sure I've seen anything continue this long, for...

  • RE: Slow running query

    bcp will work for the data. You'll have to script out the tables, with keys and indexes and recreate then in the destination DB first.

  • RE: TDE - Restore unencrypted backup to a server running TDE

    DB Backups don't have passwords. You'll need to have the same certificates (well, the ones used for TDE) on both servers.

  • RE: Slow running query

    Rather get a backup restored somewhere you can test. Because a test table with dummy data will behave differently.

  • RE: TDE - Restore unencrypted backup to a server running TDE

    TDE is a database-level setting, not a server/instance setting.

  • RE: Slow running query

    EasyBoy (1/20/2016)


    This index is already exist.

    CREATE INDEX [ix_tblEventSample_FkSample_fkEventtype] ON [dbo].[tblEventSample]([fkSample], [fkEventType]) WITH FILLFACTOR = 97 ON [INDEXDBGROUP]

    GO

    No it doesn't.

    Andrew recommended an index with the key fkeventtype, fksample. The...

  • RE: Error Handling - Pass Error as variable

    Why not just delete all the duplicates in an initial pre-processing step, rather than one at a time after an error?

  • RE: Restore database - Preserve users

    Short of scripting it all out, no. When you restore over an existing database it's completely replaced.

Viewing 15 posts - 3,781 through 3,795 (of 49,571 total)