Forum Replies Created

Viewing 15 posts - 1,426 through 1,440 (of 3,544 total)

  • RE: Where did Taskpad go?

    p.s. SimonSabin has published a custom taskpad report on his blog at

    http://sqlblogcasts.com/blogs/simons/archive/2006/11/23/Taskpad-view-version2.aspx

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Where did Taskpad go?

    I'm using 2k5 at sp2... and there's no "Summary" selection in the "View" menu... has anyone actually tried this?

    I belive it was changed in SP2.

    Right click on the database,...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Update previous close price.

    Thanks Jack... lotta tension on this side, lately, and I had to make sure I wasn't tuggin' on a friend's chain.

    Phew! Jeff 😀

    Thought you were trying to poke the...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Ltrim rtrim no working with UPDATE

    OK. Maybe there are trailing non printable chars as well, should have thought of that :blush:.

    Try

    LIKE '%WDT%'

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Ltrim rtrim no working with UPDATE

    You need to do

    LIKE '%WDT'

    not

    LIKE 'WDT%'

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Ltrim rtrim no working with UPDATE

    And this should correct the data....

    UPDATE #tablename

    SET colname = STUFF(colname,1,1,'')

    WHERE colname LIKE '%WDT'

    AND colname <> 'WDT'

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Ltrim rtrim no working with UPDATE

    I would do the following to find the offending values

    SELECT colname,CAST(colname as varbinary(5))

    FROM tablename

    WHERE colname LIKE '%WDT'

    AND colname <> 'WDT'

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Hidden RBAR: Triangular Joins

    Good article, as usual, Jeff 🙂

    You sure know how create these long threads 😉

    p.s. Keep banging that drum, they'll either get it or go deaf :hehe:

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: T-SQL statement to return SQL Job Last Run Date

    SELECT j.[name],

    CAST(STUFF(STUFF(CAST(jh.run_date as varchar),7,0,'-'),5,0,'-') + ' ' +

    STUFF(STUFF(REPLACE(STR(jh.run_time,6,0),' ','0'),5,0,':'),3,0,':') as datetime) AS [LastRun],

    CASE jh.run_status WHEN 0 THEN 'Failed'

    ...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Return missing hours from a table

    You need to match your data against a dataset of 24 hours, something like this

    SELECT DATEPART(Year,a.dev_time) as [Year],

    DATEPART(Month,a.dev_time) as [Month],

    DATEPART(Day,a.dev_time) as [Day],

    n.Number AS [Hour],

    COUNT(a.tdm_msg) AS [Total_Incoming_Vehicles]...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Knowledge sharing

    And Jeff makes a good point too. Not enough of you guys get credit for posting knowledge...

    Hear, hear. 🙂

    But I think we all owe thanks to folks like Jeff...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: DBCC

    Jeff Moden (11/15/2008)


    I got it right but this is a really bad question for people who are still stuck with SQL Server 2000. These types of questions should probably...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Absolutely (Not?)

    guess I'd have to argue that developers are sometimes even more arrogant than the DBA

    Ouch! :pinch:

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: The "Numbers" or "Tally" Table: What it is and how it replaces a loop.

    Wayne West (10/29/2008)


    Huh, somehow I never noticed that in the documentation about Len() ignoring trailing spaces. Then again, chances are that I never opened BOL for Len() and just...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: The "Numbers" or "Tally" Table: What it is and how it replaces a loop.

    Wayne West (10/16/2008)


    Hey, Gary. I just worked on cleaning up a big address table, talk about fun! Anyway, how about something like this:

    select left(Address, charindex(' ', Address) -...

    Far away is close at hand in the images of elsewhere.
    Anon.

Viewing 15 posts - 1,426 through 1,440 (of 3,544 total)