Forum Replies Created

Viewing 15 posts - 16 through 30 (of 40 total)

  • RE: Script to find table sizes in a database

    Great Script, Just a small tweak if i may;

    The 'Order By' clause you use on line 45 does not really work as the data column is a nvarchar and contains...

    Knock Knock, Who's There?, sp underscore, sp underscore who?
    spid1, spid2, spid3....

  • RE: Create Mirror Alerts for All Mirrored Databases

    Hi Varun

    The script creates several different alerts. Alerts such as "Mirror Connection Lost" and "Principal Running Exposed" etc dont require thresholds, however, alerts such as "Unrestored Log Threshold" do.

    The SP...

    Knock Knock, Who's There?, sp underscore, sp underscore who?
    spid1, spid2, spid3....

  • RE: Nth occurrence of a weekday in a month and year

    Working great for 1,2,3 & 4th occurances, but if i pass in 5 for april 2010, i am getting the wrong date

    For example:

    SELECT dbo.getNthOccuranceOfWeekDay(YEAR(GETDATE()), MONTH(GETDATE()), 1, 5)

    Resulting in:

    2010-04-18 00:00:00.000

    Should be:

    2010-04-25...

    Knock Knock, Who's There?, sp underscore, sp underscore who?
    spid1, spid2, spid3....

  • RE: Mirroring + Maintinecnce Plans + Recovery Model switching = arghghg

    Robert Davis (2/21/2010)


    You can do it that way, but then it will take a longer time to sync up again because the mirror is doing nothing during the batch processing....

    Knock Knock, Who's There?, sp underscore, sp underscore who?
    spid1, spid2, spid3....

  • RE: Mirroring + Maintinecnce Plans + Recovery Model switching = arghghg

    Hi Robert, as I said In my post, I am stuck with using 2008 standard edition. I thought high performance mode mirroring was only available in enterprise editions? Or have...

    Knock Knock, Who's There?, sp underscore, sp underscore who?
    spid1, spid2, spid3....

  • RE: Mirroring + Maintinecnce Plans + Recovery Model switching = arghghg

    Hi

    Cheers for the link mate, read that some time ago, meant to update this thread!

    Basically after reading just about everything i could find on Mirroring, (i even bought 'Pro SQL...

    Knock Knock, Who's There?, sp underscore, sp underscore who?
    spid1, spid2, spid3....

  • RE: Transaction log not shrinking after Maintenance Task

    on further investigation into this, its defiantly my Weekly Maintenance task that is causing the Log File to explode in size (Probably due to the Rebuilding of Indexes)

    Now, the database...

    Knock Knock, Who's There?, sp underscore, sp underscore who?
    spid1, spid2, spid3....

  • RE: Transaction log not shrinking after Maintenance Task

    GilaMonster (6/18/2009)When the data file is shrink all the nicely rebuild indexes will be fragmented badly.

    Aye, i realise that the shrink fragments the new index, that’s why i proposed a...

    Knock Knock, Who's There?, sp underscore, sp underscore who?
    spid1, spid2, spid3....

  • RE: Transaction log not shrinking after Maintenance Task

    The original problem was a 150GB log file on a different database which i shrunk to get working this morning (desperate measure, 500 staff screaming at me etc, you get...

    Knock Knock, Who's There?, sp underscore, sp underscore who?
    spid1, spid2, spid3....

  • RE: Transaction log not shrinking after Maintenance Task

    The Transaction logs are being backed up, see the screenshot below, this shows several things:

    Transaction logs are being dumped every 30 minutes (and 1 ad-hoc one i ran for the...

    Knock Knock, Who's There?, sp underscore, sp underscore who?
    spid1, spid2, spid3....

  • RE: Transaction log not shrinking after Maintenance Task

    on running:

    SELECT NAME, compatibility_level, log_reuse_wait, log_reuse_wait_desc FROM sys.databases

    i get:

    NAME compatibility_level log_reuse_waitlog_reuse_wait_desc

    synergy ...

    Knock Knock, Who's There?, sp underscore, sp underscore who?
    spid1, spid2, spid3....

  • RE: In-place upgrade from SQL 2000 to SQL 2008

    Yes, it is possible, and you can keep the User Accounts etc.

    The Tools here help alot:

    http://support.microsoft.com/kb/246133

    And a script to generate server logins, roles, permissions, users etc can be found...

    Knock Knock, Who's There?, sp underscore, sp underscore who?
    spid1, spid2, spid3....

  • RE: Migrating from 2000 to 2008 in parallel.... Mission Impossible?

    i know this threads getting a little old, but we have just started setting up the 2008 (64bit) server to replace a 2005 server, and migrating users, passwords, roles, memberships...

    Knock Knock, Who's There?, sp underscore, sp underscore who?
    spid1, spid2, spid3....

  • RE: CXPACKET wait type on Linked Server Operation

    UPDATE:

    as a test i tried to disable parallelism by running the following:

    exec sp_configure 'max degree of parallelism', 1

    go

    reconfigure

    go

    THe SP still gets stuck on the 2005 box, however the thread is...

    Knock Knock, Who's There?, sp underscore, sp underscore who?
    spid1, spid2, spid3....

  • RE: Best way to count occurances of April 1st in a given date range?

    hi m8,

    I just kinda came up with a solution by using a function to take a date and return the year end for that date + 1 day to...

    Knock Knock, Who's There?, sp underscore, sp underscore who?
    spid1, spid2, spid3....

Viewing 15 posts - 16 through 30 (of 40 total)