Forum Replies Created

Viewing 15 posts - 5,776 through 5,790 (of 14,953 total)

  • RE: Returning row based data from XML

    Pretty simple to do with SQL XQuery. Are you familiar with 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: Eval function in sql

    What's it meant to do?

    - 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: @recipient in sp_send_dbmail

    Is it possible there's a null value being passed to the @recipients parameter? Check the cursor's query, see if any rows will be null on that column.

    - 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: noob question about tracing and sp_prepexec

    It just means there's an application that uses cursors, and probably uses some internal numbering scheme for the handles on them.

    It's probably not that big a deal.

    - 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: possible combinations in int column for given value

    You're going to need to recursively cross-join the table with itself, essentially.

    This question is almost always school work. Is it this time, too?

    - 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: need a push

    SELECT

    COALESCE(PlateNos.counter, PlateStates.counter) AS ID, -- Pulls the "counter" value from the derived tables to create an ID number for the row

    PlateNo,

    ...

    - 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: Job Scheduling

    Jeffrey Williams-493691 (12/7/2010)


    GSquared (12/7/2010)


    I prefer a bigger job with some custom logging over splitting it up. It makes it more obvious that it's all part of the same sequence....

    - 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: System performance limitations

    SQL33 (12/7/2010)


    Is there a means to analyze the output from say a syslog output and determine the optimum data type and size the target SQL table fields should be?

    I use:

    select...

    - 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: Backup script loop exits while there are still databases in the cursor

    Is it possible the state column is changing? Do you have any databases where AutoClose is turned on, or anything like 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: Are the posted questions getting worse?

    Tom.Thomson (12/7/2010)


    Roy Ernest (12/7/2010)


    jcrawf02 (12/7/2010)


    Where do space aliens outsource to?

    India... 🙂

    Nonsense. They outsource to Hollywood.

    That wouldn't be "out"-sourcing, now would it?

    - 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 (12/7/2010)


    GilaMonster (12/7/2010)


    Two that produced the 'wtf' reaction tonight...

    http://www.sqlservercentral.com/Forums/Topic1031451-391-1.aspx

    Seriously?

    http://www.sqlservercentral.com/Forums/FindPost1031507.aspx

    Petty games with words and an attempt to be right?

    Nono, it was an attempt to be accurate. C'mon, get...

    - 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: need a push

    First, switch from ntext to nvarchar(max), if you even need that.

    If it's US license plate and VIN data, I guarantee you can fit that into something much more efficient, 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: Converting to decimal from Calculation

    First, I'm assuming that the text bit in there is a column name.

    Assuming that's correct, it would be helpful to see the actual query, and to know what data type...

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

    Speed's nice, but I prefer to think of all the oomf in modern computers as power, not speed. A V8 engine is only "fast" if it's pulling a light...

    - 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 doesn’t ISNUMERIC work correctly? (SQL Spackle)

    Mike McIver (12/7/2010)


    Really . . . I don't know where to start. I suppose the thing to say is having command of data types is an essential for any...

    - 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,776 through 5,790 (of 14,953 total)