Forum Replies Created

Viewing 15 posts - 12,211 through 12,225 (of 49,558 total)

  • RE: File System Failure DB Recovery

    Please run the following and post the full and complete, unedited output.

    DBCC CHECKDB (<Database Name>) WITH NO_INFOMSGS, ALL_ERRORMSGS

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (8/2/2013)


    How many people (besides Jeff and myself) have written SQL Spackle articles?

    Not me, my preference is deeper technical articles (when I write at all these days)

  • RE: Reg: SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED

    Phil Parkin (8/2/2013)


    If you can guarantee that the database is and will be in a fully committed and unchanging state when the proc runs (eg if everything is in read-only...

  • RE: Reg: SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED

    kevin_nikolai (8/2/2013)


    For SQL Reports stored procedures you most definitely want to use "SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED".

    Because it's really, really important for all reports to occasionally return inconsistent and...

  • RE: WITH (NOLOCK), allows dirty reads.

    Eugene Elutin (8/1/2013)


    I guess missing and double counting of rows could be part of "Dirty Read" definition.

    No it's not. It's a second effect that Books Online doesn't mention and which...

  • RE: WITH (NOLOCK), allows dirty reads.

    Eugene Elutin (8/1/2013)


    3. Dirty read may not read data which was committed long ago...

    That's not a dirty read. The definition of dirty read is reading uncommitted data.

    That nolock can miss...

  • RE: WITH (NOLOCK), allows dirty reads.

    ben.brugman (8/1/2013)


    For my understanding:

    1. Dirty reads is the reading of data which is not (yet) committed.

    2. NOLOCK hint reads data which is not committed.

    Correct.

    Is there example code which does...

  • RE: DBCC CHECKDB

    L' Eomot Inversé (7/31/2013)


    and about 175 picked the equally non-existent although less implausible sounding DBCC CHECKFILEGROUP;

    http://msdn.microsoft.com/en-us/library/ms187332.aspx

    DBCC CHECKFILEGROUP (Transact-SQL)

    Checks the allocation and structural integrity of all tables and indexed views in...

  • RE: Shrink database file with EMPTYFILE option

    Jeff Moden (7/30/2013)


    GilaMonster (7/30/2013)


    There is no requirement that a DB be in single user mode or quiesced to do a shrink file.

    That's true but it makes it a heck of...

  • RE: Global Variable

    You can't create global variables in SQL Server.

    What are you trying to do? Maybe there's an alternative...

  • RE: CheckDB inconsistency error

    Greg A Goss (7/30/2013)


    1) I write a script to create a new table with the same schema as the "broken" one, and then I'll do an insert into it...

  • RE: CheckDB inconsistency error

    The correct solution here is to run checkDB with repair allow data loss. It won't actually lose any data, it's just that the particular fix requires that option.

    It is discussed...

  • RE: Non-Pageable Memory

    The Lock Pages in memory privilege allows SQL to allocate memory that is not pagable. That memory is allocated with the AWE APIs (no matter if it's 32-bit or 64-bit)

    Hence,...

  • RE: CheckDB inconsistency error

    Please run the following and post the full, complete and unedited output.

    DBCC CHECKDB (<Database Name>) WITH NO_INFOMSGS, ALL_ERRORMSGS

  • RE: Shrink database file with EMPTYFILE option

    There is no requirement that a DB be in single user mode or quiesced to do a shrink file.

Viewing 15 posts - 12,211 through 12,225 (of 49,558 total)