Forum Replies Created

Viewing 15 posts - 3,556 through 3,570 (of 49,571 total)

  • RE: Creating Filtered Index with OR Statement

    Filters in indexes don't allow OR.

    I'm not sure if what you're trying to do can be done in a filtered index. They have to be simple filters.

  • RE: Are the posted questions getting worse?

    Google down? 😉

    First search results: http://www.investopedia.com/terms/s/stump-the-chump.asp

  • RE: order of execution problem

    Speeding up changing results implies things were running on two sessions. Within a single session, SQL executes statements strictly in sequence. So if you have code of:

    SELECT <something>

    INSERT <Something else>

    ...

  • RE: Disk performance

    SQLAssAS (2/19/2016)


    Is there still a performance advantage of doing this in a VM environment if we just have 1 raid 5 pool of disk?

    No.

    There may be a management benefit...

  • RE: Indexes are not visible

    Are they hypothetical indexes (from DTA)? Don't know if those show un with helpindex, but they won't in SSMS.

    Try querying sys.indexes directly.

  • RE: Are the posted questions getting worse?

    SQLRNNR (2/18/2016)


    I am seeing people claim to be an MCM for some of these interviews. I know full well they aren't an MCM. I have also been hearing that there...

  • RE: Using Parameters in a Query is Killing Performance

    Fixing this will require either changing the query or changing the index. Can you do either?

  • RE: tempdb error

    There's lots of things that will spill to TempDB, and even if there's available buffer pool memory they get written out (kept in memory, but written out). But if you're...

  • RE: tempdb error

    Faulty SSD? Faulty switch/controller/cables (as applicable)?

  • RE: order of execution problem

    Not possible. SQL executes statements strictly sequentially when they're in the same batch (which a procedure is).

    Sure another process isn't somehow deleting B? Or is the insert into B failing...

  • RE: SQL Cluster Questions

    Huh?

    A clustered SQL Server doesn't care whether the passive node is down or not. Passive node is passive, there's no SQL instance running on it.

    As I've already explained, a cluster...

  • RE: SQL Cluster Questions

    No.

    Cluster failover is NOT live migration. Failover is just an automatic version of stopping a SQL service on one node and starting it on another.

  • RE: identity columns question

    Wrap it in a transaction and do the insert WITH TABLOCKX. Nasty for concurrency, but as long as you don't do this often may be fine.

  • RE: SQL Cluster Questions

    When the active node fails and the cluster fails over, SQL restarts on the new node. Part of that restart is crash recovery. During crash recovery any uncommitted transactions (uncommitted...

  • RE: identity columns question

    Could be anything, could be the procedures that the replication uses (which it creates itself), could be connection properties, could be a bunch of other stuff.

    Why not create a stored...

Viewing 15 posts - 3,556 through 3,570 (of 49,571 total)