Forum Replies Created

Viewing 15 posts - 4,921 through 4,935 (of 14,953 total)

  • RE: TSQL Help

    Looks like homework. Or the first question on an interview tech screening.

    Hint: Join the table to itself.

    - 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: Are the posted questions getting worse?

    LutzM (2/17/2011)


    GSquared (2/17/2011)


    ...

    Yes, at camelsexchange.com. :w00t:

    Must be a pain for the camel. (They still use bricks for it, right?) :pinch::crying:

    Sledgehammers. Or dynamite if you're in a hurry.

    - 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: Moving Data with possible changes from Different Locations

    If you end up with a false positive on checksum in this case, saying a row has changed when it hasn't, that can be handled by a second step of...

    - 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: Creating Trigger for a table

    I'm going to second the motion on the recommendation to not put this in a trigger.

    You'll want to have the initial logic in a stored procedure, or whatever other code...

    - 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 what circumstances are there no other option than to use cursors?

    pietlinden (2/17/2011)


    Oh, okay... this is almost starting to sound like an episode of Intervention... "You gotta kick the cursor habit, man!! That stuff will kill you!"

    I'm a recovering Access...

    - 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: Are the posted questions getting worse?

    Brandie Tarvin (2/17/2011)


    You people are strange.

    @=)

    It's okay for me to talk to kids. I'm not a stranger. I'm the strangest!

    - 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: Are the posted questions getting worse?

    Alvin Ramard (2/17/2011)


    They exchange camels too??

    Yes, at camelsexchange.com. :w00t:

    - 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: IS NULL Parameter

    IsNull doesn't work that way in SQL. You're using it like a binary function (which would make more sense, given the name), but what it really does is return...

    - 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: Are the posted questions getting worse?

    Craig Farrell (2/17/2011)


    GSquared (2/17/2011)


    Ken Jennings? I was more thinking along the lines of expertsexchange.com.

    Until you just mentioned it I don't think I ever quite caught that one... 😛

    That's because...

    - 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: SQL Server Interview Questions And Answers

    Alvin Ramard (2/17/2011)


    What does all of this have to do with Integration Services?

    Not a thing.

    It's all about how to ignore that job prep is a superset of interview prep. ...

    - 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: row by row operations

    One of the best ways I know of to get used to optimizing SQL and stepping away from row-by-row is to stop looking at rows, and starting thinking about what...

    - 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 Performance -Troubleshooting

    MissTipps-320357 (2/17/2011)


    I have a query, a fairly straightforward, single table query with a slightly nasty WHERE clause that looks like this:

    'right(column_name,1) != 'X'

    (not my query)

    The problem I have is that...

    - 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: Moving Data with possible changes from Different Locations

    Are you in a position to make sure tables in the source databases have RowVersion columns? (Called Timestamp in most SQL 2000 databases, but it's the same thing.)

    That makes...

    - 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: Are the posted questions getting worse?

    CirquedeSQLeil (2/17/2011)


    Stefan Krzywicki (2/17/2011)


    Jack Corbett (2/17/2011)


    george sibbald (2/17/2011)


    Koen Verbeeck (2/16/2011)


    Jeff Moden (2/16/2011)


    CirquedeSQLeil (2/16/2011)


    For the execution of Wayne:

    --get spid of code requestor

    sp_whorequestedcodeIntheThread 'Wayne'

    --use returned spids to verify the request

    dbcc...

    - 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: SQL Server Interview Questions And Answers

    Randheer (2/17/2011)


    This is the questions which other than the general indexes questions.

    What are criteria to define covering index and how we create it?

    Please provide some details for this question.

    For 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 - 4,921 through 4,935 (of 14,953 total)