Forum Replies Created

Viewing 15 posts - 5,866 through 5,880 (of 10,144 total)

  • RE: Crazy Interviews

    Stuart Davies (8/17/2012)


    ChrisM@Work (8/16/2012)


    Earlier this year I had an interview for a gig right next to Swindon station, a dream forty-minute commute compared with the two hours each way I’d...

  • RE: Convert comma to single quotes

    sqlfriends@sql.com (8/17/2012)


    Hi Experts;

    Good Thanks for all support

    ChrisM : we don't have using any control to design this table.

    Thanks

    FAJ

    What you have there is an EAV (entity-attribute-value) table. Simple-talk (site currently...

  • RE: Varchar Exceeding 8000 characters

    anthony.green (8/17/2012)


    Change the function to return varchar(max) and have a str of varchar(max)

    The function returns a maximum of 4757 characters (for a leap year). It's inefficient but works ok.

    Try measuring...

  • RE: Why not processing any records further?

    Charmer (8/17/2012)


    ChrisM@Work (8/17/2012)


    Are you inserting new rows into a table or updating existing rows? It's not clear from your description.

    yes i am inserting new rows by taking all the rows...

  • RE: Why not processing any records further?

    Are you inserting new rows into a table or updating existing rows? It's not clear from your description.

  • RE: Convert comma to single quotes

    sqlfriends@sql.com (8/17/2012)


    Hi Experts:

    This is my table

    Condition ...

  • RE: Need help with this query

    prads.cs (8/17/2012)


    Sorry guys for the trouble ... just figured out some crazy method :hehe:

    UPDATEtvLRF

    SETHasMultiple = 1

    FROM@tv_LicenseRenewalFee tvLRF

    INNER JOIN (SELECTGroupCode, MIN(SUBSTRING(ClassificationCode,3, LEN(ClassificationCode))) AS Number

    FROM@tv_LicenseRenewalFee

    WHEREGroupCode <> (

    SELECTGroupCode

    FROM@tv_LicenseRenewalFee

    WHEREHasMultiple = 1

    )

    GROUP BY GroupCode

    HAVING...

  • RE: Does/can OUTPUT clause turn identity_insert on & off

    Eugene Elutin (8/17/2012)


    ...

    That will teach me to not try and answer questions before drinking coffee, thanks Chris.

    Seeing your avatar, I wouldn't think that you are great coffee-lover. Are you sure...

  • RE: how to change the date value to null??

    HowardW (8/17/2012)


    This sounds a really simplistic question, but based on what you've said, it should just be:

    update xys set submitdate=NULL where id in ('1','2'.........'100')

    I feel I must be missing something...

  • RE: how to change the date value to null??

    Lavanyasri (8/17/2012)


    hi ,

    I have a column with date datatype. i updated the column with some date like 02-02-2012 00.00.000 ,for 100 orders Now i want to change the...

  • RE: Does/can OUTPUT clause turn identity_insert on & off

    Phil Parkin (8/17/2012)


    Missing something, I'm afraid.

    SELECT ... INTO

    always creates a new table. When it creates that table, uses the data types of the source columns, but not primary keys...

  • RE: How to grab characters before and after a string

    Returning NULL if the delimiter isn't found simplifies the code considerably:

    SELECT

    [Room / Shelf],

    [Room] = LEFT([Room / Shelf], x.pos-1),

    [Shelf] = SUBSTRING([Room / Shelf], x.pos+1,8000)

    FROM @ChemInventory

    CROSS APPLY (

    SELECT NULLIF(CHARINDEX('/', [Room /...

  • RE: Are the posted questions getting worse?

    dwain.c (8/16/2012)


    Lynn Pettis (8/16/2012)


    Here is one for the do not hire list.

    Or it could be the needs much training list.

    The quality of the hires will be roughly proportional to the...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (8/16/2012)


    ChrisM@Work (8/16/2012)


    Hi folks, this evening I’m collecting Symba from here: http://www.tvaw.org.uk/Adoption.htm. We’ve met already, he’s awesome.

    Not sure of the name though. Symba is a bit silly, it’s a...

  • RE: Are the posted questions getting worse?

    SQLRNNR (8/16/2012)


    ChrisM@Work (8/16/2012)


    Hi folks, this evening I’m collecting Symba from here: http://www.tvaw.org.uk/Adoption.htm. We’ve met already, he’s awesome.

    Not sure of the name though. Symba is a bit silly, it’s a misspelling...

Viewing 15 posts - 5,866 through 5,880 (of 10,144 total)