Forum Replies Created

Viewing 15 posts - 5,071 through 5,085 (of 14,953 total)

  • RE: Data Center Power Outage

    I find maintenance plan tasks to be a good stopgap till you can get something "real" in place. They're very, very useful for new/accidental/incidental DBAs, but too limited compared...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Where do you look for DBA's?

    Ferguson (2/8/2011)


    Jack Corbett (2/8/2011)


    I agree that this is a much better posting, albeit one I am not qualified for.

    I think that you should almost always include "or equivalent experience" when...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: SSIS Package - Data Flow Task

    On the flow from source to destination (the arrow in the package designer), you can right-click and set a data view on the state of the data at that point....

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: finding occurences of select *

    Won't get you what you need on this point, so far as I know.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Data Center Power Outage

    Makes sense.

    I interviewed at a company once, where they tested their backup generator every month. And that used up all the fuel in it, so when they actually needed...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: finding occurences of select *

    Lowell (2/8/2011)


    doh i didn't even think about if there were any math functions in the bodies; good catch; i'm not sure on the commented comments...

    Commented-comments are an edge case and...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: newbie - how to correctly filter on date select * from dbo.tblSubmissions where createdby = CreatedOn > '2011-02-03'

    The easiest way to do it is to check a range.

    Where CreatedOn >= '2011-02-03' and CreatedOn < '2011-02-04'

    There are other ways to do it, but this one almost always works...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Column Info

    Check out sys.columns.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Data Center Power Outage

    You'll want to set up a script, using dynamic SQL, that will step through all databases on a server and do a basic health-checkup. Then copy that and a...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: finding occurences of select *

    There are edge cases where Lowell's solution will return a false positive. For example, a commented-out-end-comment.

    /* This comment has been

    --*/modified

    by devs who weren't paying attention*/

    Reversing the sequence on...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Where do you look for DBA's?

    I think the latest version of the job posting is clear enough and presented well enough.

    Other than the degree requirement, it's one I would apply for if I were looking....

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: finding occurences of select *

    That kind of complex pattern matching is going to be best done through regex functions. That means CLR, since that's MUCH better at regex than T-SQL.

    Once you've built the...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: how to sort cte hierachical data?

    Here's an article on hierarchies. It includes a link to Joe's data on the subject (which is must-read for any DBA).

    http://www.sqlservercentral.com/articles/T-SQL/65540/

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: CTE, join or ?

    An inline sub-query in the Select clause would work just as well as an explicit join, probably. Has the advantage/liability that it will give an error if there are...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: DBA SQL Server Log Auditing Question - What is logged?

    A maintenance plan can have a "clean up history" step. That's the most usual cause of data in that table going away. Check the scheduled jobs in SQL...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing 15 posts - 5,071 through 5,085 (of 14,953 total)