Forum Replies Created

Viewing 15 posts - 13,696 through 13,710 (of 39,818 total)

  • RE: Script to report backup status... success or failed

    I think finish_date is null while it's running as well.

    What I was implying is that you need a script that only sends failures to you.

  • RE: Shrink .ldf files

    The log works with a series of mini-segments inside. You can't shrink past an active segment, so if it's at the end of the file, you can't shrink.

    There's a...

  • RE: Script to report backup status... success or failed

    Note that when you write this, store the data, but don't report "success" to yourself on a regular basis. It's easy to start ignoring the failures if they occur rarely,...

  • RE: The TCO of the Cloud

    niall.baird (5/22/2012)


    What's the difference between "the cloud" and a data centre providing hosting? A lot of companies that I've worked with over the years have been quite happy...

  • RE: Are the posted questions getting worse?

    GilaMonster (5/23/2012)


    dwain.c (5/22/2012)Perhaps the next time someone asks a really silly SQL question, someone will suggest this to solve their problem:

    EXEC xp_cmdshell 'format c:\'

    No, because chances are someone (the OP...

  • RE: Use Tools

    richj-826679 (5/23/2012)


    I heart automation -- correction: GOOD automation -- because I believe it's vital for the solo DBA's sanity. I loathe the 1MB "Everything's OK!" daily emails that list...

  • RE: Use Tools

    Your Name Here (5/23/2012)


    Just about everything I know about PowerShell I've learned from writing scripts to automate a task.

    That's a great tool, and a great feeling, I'm sure.

  • RE: Use Tools

    Frank Bazan (5/23/2012)


    One thing that these tools will often lead to though, is a dulling of your core skills and situational awareness.

    Very true. You should know how to do things,...

  • RE: Mr. or Mrs. 500??

    Wouldn't that be?

    Mr or Mrs or Miss or Ms 500

    Too long, and to be honest, didn't think about it. Plus, could you get to 500 home runs if you weren't...

  • RE: Enable Database mail..SMTP and SNMP

    SMTP is the protocol for sending mail.

    SNMP is a network management protocol.

    Database Mail will send across SMTP.

  • RE: How to provide database update

    You can integrate VCS with SQL Compare (also from Red Gate) to build a set of change scripts from source control.

  • RE: Are the posted questions getting worse?

    Gianluca Sartori (5/22/2012)


    I wonder why earthquakes always happen at night here. It's the worst time of the day, when everyone is sleeping and it takes some time to realize what's...

  • RE: Column naming convention

    I tend to be with Sean. I'd do this:

    Table1

    ID INT

    more columns

    Table2

    ID INT

    FKID INT

    where I'd name the FKID something that makes sense.

    Or more formally:

    Create table Customers (

    CustomerID int

    , CustomerName...

  • RE: Not ending Transact-SQL statements with a semicolon

    Just an FYI, I tend to use semi-colons separately. Just for ease of editing and working.

    alter database MyDb set read_only

    ;

    go

    select name

    from sys.databases

    where name not in ('master', 'msdb')

    ;

    That way...

  • RE: SQL Server virtualization

    OK, some more details. Apparently we have everything:

    VM Workstation

    vCloud director

    Lab Manager

    SCVMM 2008

    ESXi HyperVisors

    OpenSack

    Physical Machines - we have some of these.

    The tools above are used in different areas for...

Viewing 15 posts - 13,696 through 13,710 (of 39,818 total)