Forum Replies Created

Viewing 15 posts - 691 through 705 (of 1,183 total)

  • RE: Update Partial Field

    It's taken the right part of the field minus 47 characters (the width of the text you want removed)

  • RE: large table to table copy

    I'm about 98% sure this is correct, someone will correct me if I'm wrong here. 😀

    Provided you can do this during a maintenance window, to limit activity, you can ....

    1....

  • RE: Update Partial Field

    You can just use the update part below, but the rest is there to show you that it works.

    DECLARE @sampleTable TABLE (pictureURL VARCHAR(100))

    INSERT @sampleTable

    SELECT '~/products/art-frame-direct/accessories/baskets/10484803.jpg'

    UNION ALL

    SELECT '~/products/art-frame-direct/accessories/baskets/10484873.jpg'

    UNION ALL

    SELECT '~/products/art-frame-direct/accessories/baskets/88884873.jpg'

    UNION ALL

    SELECT...

  • RE: Stored Procedure Stragegy

    Well, that's a pretty wide open question. In the example you provided, it could be re-written as ...

    Create Procedure dbo.usp_Procedure1

    @CallID int = Null

    AS

    SELECT CallID, Call Desc

    FROM dbo.CallLog

    WHERE CallID Between COALESCE(@CallID,...

  • RE: Hidden RBAR: Triangular Joins

    I can no longer contain myself. I must say that I do enjoy seeing the determination of each side in proving their correctness.

    Now if you would, pardon me whilst...

  • RE: SQL

    if it's just the parenthisis, space and hypen that your wanting to remove, then ....

    SELECT

    REPLACE(

    REPLACE(

    ...

  • RE: data type

    OR 1,073,741,823 for NVARCHAR + 2 Bytes for the length.

  • RE: data type

    That would be 2,147,483,646 characters + 2 bytes for the length.

  • RE: data type

    2 Gig in '05

  • RE: Hidden RBAR: Triangular Joins

    Matt Miller (12/6/2007)


    .....And - welcome to the SQL2005 family (at last). I'm curious to see if your view of it changes at all.....

    Yes Jeff, come to the dark side!...

  • RE: How can I search this site or its forums?

    LOL, the search box in the upper right hand corner. Even though it say's Google, it's customized for this site. :hehe:

  • RE: Hidden RBAR: Triangular Joins

    Jeff Moden (12/5/2007)


    ....... I finally got 2k5 and will have to load it before comparing the methods to the RANK methods for running counts performance wise.

    Well it's about time !...

  • RE: Value Increment

    Read up on IDENTITY Columns. you'll find your answer there.

  • RE: Cross Join

    karthikeyan (12/3/2007)


    Where exactly cross join is applied in real time ?That is under which circumstance we need to apply cross join ?

    I've had to use it most recently when we...

  • RE: Alternative to while loop maybe?

    At first glance I was going to say use a numbers or tally table. Do a search on this site and you'll find a couple of good articles on it.

    But...

Viewing 15 posts - 691 through 705 (of 1,183 total)