Forum Replies Created

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

  • RE: multiple dbs + log shipping + marked transactions

    It is my thinking that you have to run the BEGIN TRANSACTION ... WITH MARK against all the DB's in the set - So assume it has to be done...

    [font="Verdana"]-- Wally
    -- Reluctant DBA[/font]

  • RE: Row Select and XP_CMDSHELL Execution?

    Thanks Wayne - I think that will do it!

    [font="Verdana"]-- Wally
    -- Reluctant DBA[/font]

  • RE: Comparing Stored Procedures - Looking for changes?

    Awesome ideas!

    Thanks!

    [font="Verdana"]-- Wally
    -- Reluctant DBA[/font]

  • RE: Select based on filed length?

    John Rowan (11/7/2008)


    In that case, use LEN:

    DECLARE @Table TABLE (Col1 int, Col2 varchar(50))

    INSERT INTO @Table

    SELECT 1, '123234345' UNION ALL

    SELECT 2, '123456789124578'

    SELECT *

    FROM @Table

    WHERE LEN(Col2) < 12

    Perfect!

    Thanks!

    Wally

    [font="Verdana"]-- Wally
    -- Reluctant DBA[/font]

  • RE: Select based on filed length?

    Sorry,

    varchar(50)

    [font="Verdana"]-- Wally
    -- Reluctant DBA[/font]

  • RE: MCDBA vs MCITP:DBA ??

    BEACHDBA (2/22/2008)


    If you are managing 2000 & 2005 and don't see 2008 in your near future, there could still be an argument for pursuing the 2005 track as it could...

    [font="Verdana"]-- Wally
    -- Reluctant DBA[/font]

  • RE: MCDBA vs MCITP:DBA ??

    Jeff,

    If you haven't undertaken any exams as of yet, I would wait.

    I have my MCDBA, and was about to take the two exams to upgrade, but decided to wait until...

    [font="Verdana"]-- Wally
    -- Reluctant DBA[/font]

  • RE: Writing a report?

    [font="Verdana"]-- Wally
    -- Reluctant DBA[/font]

  • RE: Writing a report?

    [font="Verdana"]-- Wally
    -- Reluctant DBA[/font]

  • RE: Huge Table - Must Archive

    Yup, probably can't do that though... There are only a few on the table and they are highly utilized...

    Thanks All!

    [font="Verdana"]-- Wally
    -- Reluctant DBA[/font]

  • RE: Huge Table - Must Archive

    Thanks gang, you've got me off to a great start!

    [font="Verdana"]-- Wally
    -- Reluctant DBA[/font]

  • RE: Huge Table - Must Archive

    The table currently has 5 years of data in it. We want it to only have 60 days of history moving forward.

    So I need to delete about 40 million rows,...

    [font="Verdana"]-- Wally
    -- Reluctant DBA[/font]

  • RE: Maintenance plan syntax

    Ditto... I only shrink a logfile if I've had some type of a unique event (like a large DW insertion etc.) that causes it to grow to nonstandard size.

    Why don't...

    [font="Verdana"]-- Wally
    -- Reluctant DBA[/font]

  • RE: TempDB Log Growth

    Very strange.

    If you can truncate it manually then SQL Server already knws that there are no open or uncommited transactions... So Checkpoint SHOULD be cleaning up!

    [font="Verdana"]-- Wally
    -- Reluctant DBA[/font]

  • RE: Script to append character?

    Perfect!

    Actually had just about figured it out.

    Thanks Mark.

    [font="Verdana"]-- Wally
    -- Reluctant DBA[/font]

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