Forum Replies Created

Viewing 15 posts - 6,271 through 6,285 (of 14,953 total)

  • RE: SQL Slammer

    Roger L Reid (11/3/2010)


    Sure - didn't know it at the time because it wasn't important - we weren't running MS servers at all. But I know the history....

    - 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: Activity Monitor in 2008?

    It's on the menu bar in SSMS.

    - 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: better way to write union

    True. I made some assumptions about use that may not be valid.

    - 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: Change from Full to Simple Recovery, what to do with the Log file?

    WayneS (11/3/2010)


    Well Kit, Gus just said everything I was going to... and since we both know he's always right... :w00t:;-)

    You're the third person to accuse me of that.

    The first was...

    - 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: I want to insert values from data table to emp table

    You can do a couple of different things to accomplish this.

    The best would be to make a table that has your values in it, and join to that table in...

    - 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: Select * from a table with one billion rows failing

    RPSql (11/3/2010)


    Select * from a table with one billion rows failing with following error (SQL 2005 SP3 HF11)

    An error occurred while executing batch. Error message is: Exception of type 'System.OutOfMemoryException'...

    - 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: getting rows in alphabetic order because of char(39)

    naresh0407 93367 (11/3/2010)


    can u give me example on how to do that.

    select case when MyColumn = 'Header' then 1 when MyColumn = 'Other' then 2 else 3 end as Seq,...

    - 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: getting rows in alphabetic order because of char(39)

    SeanLange (11/3/2010)


    As it sits there is no order by anywhere in this so there is no guarantee about what order it will be returned in.

    On another point, this looks like...

    - 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: Change from Full to Simple Recovery, what to do with the Log file?

    Kit G (11/3/2010)


    So, I do a full backup at 1:00pm on a Sunday. Each night, at 11:00pm, I have the Diffential backup scheduled to run.

    If the database won't change...

    - 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: Query with Performance Issues

    Here's as far as I got in the time I've had so far.

    Try this out, see if it helps with the first query's performance. I'll see if I can...

    - 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: Transaction logs have stopped on all SS2005 DB's

    You're welcome.

    - 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: Simple Question about "Script Table as... INSERT To"

    Put simply, those are placeholders. The "Script As" button has no clue what actual values you want, so it just puts something there that can help you fill in...

    - 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: IN operator only returning first match

    I'd have to see the rest of the query to be able to help much.

    As an aside, take a look at uses of a Numbers or Tally table to split...

    - 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: Append incremental alphabetical values by group

    Create a sub-table for students, include a column for "Project Suffix" which will include the "a", "b", "c". For ones that don't need that, put a zero-length string or...

    - 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: request a parameter when running sql

    They're called "Input Parameters". You could have one like this:

    create procedure dbo.IDsByDOB

    (@DateOfBirth_in datetime)

    as

    select ID, DateOfBirth

    from dbo.MyTable

    where DateOfBirth = @DateOfBirth_in;

    Then, of course, the application has to be built to run...

    - 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 - 6,271 through 6,285 (of 14,953 total)