Forum Replies Created

Viewing 15 posts - 5,476 through 5,490 (of 5,678 total)

  • RE: Tempdb MDF - shrinking

    One item of note: If you manually set the tempdb size via properties, it rebuilds to that size even though it resets the database. You may still need...


    - 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: Tempdb MDF - shrinking

    chrisjkelly (9/21/2010)


    Craig,

    Thanks for the advice and for keeping it simple.

    Is it safe to carry out a shrink on the tempdb? and would simply stopping our application service on 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: How to update multiple tables in one statement ?

    I'd personally use a proc with a bunch of IF/ELSE IF, if I had to do this. Pretty? No. Easy to maintain? No. Best way I've...


    - 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

    Well, once the db grows to a size it doesn't autoshrink, usually. If you're running DBCC regularly you'll want to leave the space there so it doesn't have to...


    - 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: Tempdb MDF - shrinking

    Since you admit you're not a DBA I'll do my best to keep this easy. 🙂

    You can shrink the tempdb via the interface. Open the server up, open databases...


    - 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

    Well, if I'd ever seen a request for a tally table solution, this would be it. 🙂 Much easier to build out the necessary pre-array this way.

    Check out this...


    - 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

    Here's a link to an article that describes what you're looking for:

    http://weblogs.asp.net/steveschofield/archive/2005/12/31/change-schema-name-on-tables-and-stored-procedures-in-sql-server-2005.aspx

    It was the second link when I typed in at google: ms sql change object schema.

    😀

    The command you're looking...


    - 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

    Okay, what the check is trying to do is be able to scan the table, end to end, and make sure it's correct, allocated, etc etc.

    To do this, without screwing...


    - 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 Query performace

    Getting this error off qry1:

    TITLE: Microsoft SQL Server Management Studio Express

    ------------------------------

    Error loading execution plan XML file C:\ssc\qry1.sqlplan. (Microsoft.SqlServer.Express.SQLEditors)

    ------------------------------

    ADDITIONAL INFORMATION:

    There is an error in XML document (1009, 15). (System.Xml)

    ------------------------------

    Data at 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: Indexed View question

    You can post it here, or if it's very large, there's an 'edit attachments' button at the bottom of all posts. You can copy/paste your script to MSWord, notepad,...


    - 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

    Ah! So, to clarify, you're looking for a script or some other way to change all your objects from dbo.object to rescon.object?

    Such as dbo.TableA to Rescon.TableA?

    And you want to do...


    - 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 afraid to help you puzzle out your solution, I'm going to need more from you. DDL's of all the base tables, sample data, and expected results from 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: Indexed View question

    elayevskiy (9/20/2010)


    My test environment has SQL 2005 developer's edition, but my production one has Workgroup edition. So I have to use (NOEXPAND) for production environment.

    Ahhh. That's needed to...


    - 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

    Bhuvnesh (9/20/2010)


    .

    2. it contains 18000 tables,there are couple of heavy table like 18 -19 GB.

    There's your 15 gig bump, needed snapshot room.


    - 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: Incomplete Indexed View

    Cross posted, please direct all replies and discussion here: http://www.sqlservercentral.com/Forums/Topic989922-360-1.aspx


    - 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,476 through 5,490 (of 5,678 total)