Forum Replies Created

Viewing 15 posts - 5,491 through 5,505 (of 5,678 total)

  • RE: Indexed View question

    You'll want to try it without the NOEXPAND then, or we'll need to look at optimizing it. Either way, to get the correct values, you're subquerying and then reconnecting...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Datafile increased due to DBCC

    IF it's taking largish snapshots to deal with multiple enforced relationships... yeah, I could see it, especially if you're meticulous about FK relationships.

    As to affecting the log, hm... That...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Indexed View question

    I'm curious, but what's wrong with adding additional filters after the view's built? This is a short form of your code, but it's to help me understand what you're...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Datafile increased due to DBCC

    DBCC CHECKDB uses an internal database snapshot for the transactional consistency needed to perform these checks.

    What's your free space like at the moment? 🙂 It may have just needed...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: select query with all values

    Take two: Please actually read the link. You're going to want to give us a CREATE TABLE, INSERT INTO SELECT ... UNION SELECT... structure. Well, unless someone gets...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Create Index SQL 2005

    Ayie,

    I'll save you some trouble before the optimization experts swing through and they can look at your code immediately, you'll want to follow the directions in this link:

    http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

    What you've got...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Need Login credentials details

    Balaji, can you post the actual error you're getting? I think I followed your predicament but it would help to see the actual error.


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    Hey Threadizens...

    Can someone do a flyby on this post and make sure I haven't missed something that ends up with me blowing smoke and sunshine, and sending this soul off...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: select query with all values

    Please provide a sample table and data. See the first link in my signature to help if you need it.

    Short form: You'll be looking at creating a 'minutes' table,...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Trace Data from major blocking incident

    David O (9/20/2010)


    Craig

    I've updated on the post with the full sql statement for spid 94.

    The detailed trace file has everything the spid 94 did from the full minute before...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Trace Data from major blocking incident

    An oddity for me, do you happen to still have eventsequence 7003193444, or was it completely unrelated to spids 91 and 94?

    I'll save some researchers a bit of lookup for...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Sql 2k8 Backup Log command change

    Steve Jones - Editor (9/20/2010)


    I think moving to simple mode is the same thing, and cleaner. It's different, and it involves the change of code, but I think that the...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Stored Procedure question

    No, there isn't... they've wrapped implicit transactions with explicit ones but didn't including anything extra. THIS would be different, however:

    CREATE PROCEDURE ProcName

    AS

    BEGIN

    BEGIN TRAN

    INSERT Statement

    INSERT Statement

    COMMIT TRAN

    END


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Sql 2k8 Backup Log command change

    Edogg (9/20/2010)


    NO_LOG and TRUNCATE_ONLY options have been removed in 2008. You can switch the recovery model from FULL to SIMPLE to achieve the same thing.

    http://msdn.microsoft.com/en-us/library/ms186865(v=SQL.100).aspx

    The BACKUP LOG WITH NO_LOG and...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Log Shipping

    GilaMonster (9/20/2010)


    Or, if you don't want to believe me, how about someone who used to work on the storage engine team for SQL 2005.

    http://sqlskills.com/BLOGS/PAUL/post/Misconceptions-around-the-log-and-log-backups-how-to-convince-yourself.aspx

    Not that I don't believe you Gail,...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

Viewing 15 posts - 5,491 through 5,505 (of 5,678 total)