Forum Replies Created

Viewing 15 posts - 4,876 through 4,890 (of 5,590 total)

  • RE: update qry

    lmu92 (1/12/2010)


    WayneS (1/12/2010)


    ..

    The data was enclosed in quotation marks, so it was assumed that this was a string.

    ...

    I agree with you and my comment didn't question your solution at all...

    Since...

  • RE: update qry

    lmu92 (1/12/2010)


    I actually doubt you've tried the solution Wayne proposed....

    He suggested to add a string to a string.


    ORIGINAL QUESTION


    How do i update a table with prefix number for the existing...

  • RE: parse comma-delimited list into seperate columns

    CirquedeSQLeil (1/12/2010)


    is250sp (1/12/2010)


    WayneS (1/12/2010)


    Thanks for letting us know how you decided.

    Is there any particular reason for going this method - specially since there is a way further on down that...

  • RE: parse comma-delimited list into seperate columns

    Thanks for letting us know how you decided.

    Is there any particular reason for going this method - specially since there is a way further on down that is faster, and...

  • RE: Where are you?

    GilaMonster (1/12/2010)


    ... and lions don't wander the streets.

    very often...

  • RE: Update field after stiping brackets from data

    DECLARE @test varchar(50)

    SET @test = '{FFFFFFFF-0000-0000-0000-000000000463}'

    PRINT REPLACE(REPLACE(@test, '{', ''), '}', '')

    PRINT SubString(@test, 2, len(@test)-2)

  • RE: SQL Help

    First, I took your supplied data and put it into a format that is readily consumable by all of us volunteers here (take a look at the first link in...

  • RE: Where are you?

    Cumberland, VA (west of Richmond VA);

    Grew up in Virginia Beach, VA

    Currently working in Hampton, VA

    @Gus: in Tampa? My Mother-in-law is in Brandon. Guess I'll have to look you up...

  • RE: update qry

    UPDATE TableA

    SET ColumnA = '2009.' + ColumnA

    WHERE ColumnA = '51'

  • RE: Capture error rows

    UnionAll (1/12/2010)


    I am trying to insert 4 rows from #Dev to #QA, out of which 2 rows will fail converting

    from varchar to datetime.

    What i am trying to acheive is,...

  • RE: How would you write this Query, maby CTE?

    How about some table definitions and sample data in the form of CREATE TABLE and INSERT statements so that we can better see what is going on? Also, what constitutes...

  • RE: Query-Select the first 5 characters in a field?

    JOIN to the CUSTOMER table ON bo.cust_d LIKE CUSTOMER.cust + '%'

    This will match to the customer table where the cust_d starts with the customer cust field.

  • RE: fn to split concatenated and delimited string into seperate column of 2 tables

    I'd recommend a two-step approach...

    1. split the string into the comma-separated portion into a column in a temp table

    2. split the column with the dash-separated columns

    You might want to take...

  • RE: parse comma-delimited list into seperate columns

    CirquedeSQLeil (1/11/2010)


    WayneS (1/11/2010)


    ...

    PS. Jason - just how do you go about embedding the execution plans inside the messages? I've seen you do this many times...

    Wayne,

    set statistics xml on

    Or Click show...

  • RE: parse comma-delimited list into seperate columns

    CirquedeSQLeil (1/11/2010)[hrWayne, I found a really slow point in your second script (the million records). The table population stuff. You will probably notice throughout the site that there...

Viewing 15 posts - 4,876 through 4,890 (of 5,590 total)