Forum Replies Created

Viewing 15 posts - 10,216 through 10,230 (of 14,953 total)

  • RE: Pivot or else...

    Can you provide a table definition, some sample data, and a sample of what you want the output to look like from the sample data?

    I'm having a little trouble visualizing...

    - 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: Harassment

    Jack Corbett (3/31/2009)


    Steve Jones - Editor (3/30/2009)


    The definition is in the ear of the victim/beholder. However they have to let you know.

    Overhearing something isn't harassment. If they say something, 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: Harassment

    I've had a basically psychotic person stalk me at work, does that count? I didn't even have to complain about that one, because she was doing the same to...

    - 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: Not Trigger few Columns

    Putting something in the Where clause will take more processing power than using the updated columns function.

    - 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 suppress a similar row values to the last row in a table

    That's generally best done in the underlying query. Do you have 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: query to find a column in a sql server with several databases

    If you need to find out which table in a database has a certain column, you can use something like this:

    select

    (select name

    from sys.tables

    where object_id = columns.object_id), *

    from sys.columns

    where name...

    - 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: Unique Constraint for 2 columns in SQL 2005

    You can use a unique index. The constraint will actually create a unique index. That's how it works.

    I can't tell from the original post if it's included 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: The March 2009 Car Update

    My wife and I own a 2006 Ford Taurus and a 1999 Mazda Protege. They are both good cars.

    The Protege gets about 27 mpg city, close to 50 highway....

    - 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: Why would I be getting an unexpected "Stop request from Service Control Manager"?

    I would say there's always a precise reason for a computer to fail, but not always a clear one. 🙂

    Glad you found the cause. Were you able to solve...

    - 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: Managing Selects and Updates in a High Transaction table

    What you need to do is trace the deadlocks and find what's competing with what. The deadlocks portion of Books Online has instructions on how to do 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: Make my query efficient

    Try this:

    SELECT *,

    isnull(

    (select min(t2_ts)

    from tbl2

    where act2 = a.act1

    and t2_ts between dateadd(second, 30, a.t1_ts) and dateadd(second, 120, a.t1_ts)),

    (select max(t2_ts)

    from tbl2

    where act2 = a.act1

    and t2_ts between a.t1_ts and dateadd(second, 30, a.t1_ts))) as...

    - 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: Starttime of the next row have to be the endtime of the previous row.....

    Nah. I do miss stuff. Challenging me is a good thing. 🙂

    - 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: Managing Selects and Updates in a High Transaction table

    Santa Ana (3/27/2009)


    A question gents :

    If i place a NOLOCK for an update on a row (Update triggered by the background process) Say Transaction 1

    If there is a ROWLOCK for...

    - 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: Managing Selects and Updates in a High Transaction table

    Two simultaneous updates to the same row of the same table isn't a deadlock. Would have a block, and resolve the updates sequentially, but it's not a deadlock. ...

    - 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 We Wasting Too Much Time Social Networking?

    I think I created a Facebook account once several years ago. Haven't logged in since.

    I do have a LinkedIn account. I've signed in a few times in 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

Viewing 15 posts - 10,216 through 10,230 (of 14,953 total)