Forum Replies Created

Viewing 15 posts - 4,231 through 4,245 (of 8,731 total)

  • RE: CURSOR - Is that a normal behaviour?

    Change the FAST_FORWARD option to FORWARD_ONLY STATIC.

  • RE: Today's Random Word!

    Ed Wagner (9/10/2015)


    BWFC (9/10/2015)


    Eirikur Eiriksson (9/10/2015)


    Stuart Davies (9/10/2015)


    Ed Wagner (9/9/2015)


    djj (9/9/2015)


    Ed Wagner (9/9/2015)


    DonlSimpson (9/9/2015)


    Luis Cazares (9/9/2015)


    Ed Wagner (9/9/2015)


    crookj (9/9/2015)


    Jim_K (9/9/2015)


    ZZartin (9/9/2015)


    eccentricDBA (9/9/2015)


    BWFC (9/9/2015)


    Eirikur Eiriksson (9/9/2015)


    whereisSQL? (9/9/2015)


    Classy

    Glossy

    Magazine

    cartridge

    Cartilage

    Shark

    Jaws

    Sea

    World

    Globe

    Travel

    Lodge

    Cast Iron

    guarantee

    Warranty

    Extended

    Expanded

    Universe

  • RE: Does anyone sees redundancy in the following query?

    Your WHERE clauses are converting your LEFT JOINs on Status and Borrower into INNER JOINs.

  • RE: Query is taking very long to execute

    I would initially change this:

    FROM Dbo.[VDSMeetingInformation] VMI

    INNER JOIN dbo.[DelimitedSplit8K](@fund_id,',') fnsplt ON VMI.FundID =(CASE WHEN fnsplt.item IS NULL THEN VMI.FundID ELSE fnsplt.item END)

    WHERE VMI.customerID = @customer_id

    AND VMI.MeetingDate BETWEEN @Start_date AND...

  • RE: Help with NOT EXISTS logic

    Did you considered Koen's suggestion?

    I reformatted your conditions to make it clear what you're doing.

    IF NOT EXISTS (

    SELECT...

  • RE: charindex question

    LoudClear (9/10/2015)


    Yes, my argument has heretofore been

    From above article: "Invariably, someone at some point is going to come in and add a column, remove a column, or change...

  • RE: Missing Indexes

    Is there any difference when using clustered indexes instead of heaps?

  • RE: charindex question

    The underscore is a single character wildcard.

    You need to change your condition to one of these options:

    select distinct specialty

    FROM [dbo].[Import_ClaimData]

    where specialty like '%[_]%'

    order by 1 desc

    select distinct specialty

    FROM [dbo].[Import_ClaimData]...

  • RE: Using Stuff

    Sean Lange (9/9/2015)


    sharonsql2013 (9/9/2015)


    3 columns 1 row

    You know that when you don't bother to put in any effort into providing details it ends up coming across as though you want...

  • RE: Using Stuff

    Do you realize that the STUFF function is not the one concatenating the rows? The stuff function is only replacing the first character (a comma) with an empty string.

    Try understanding...

  • RE: 0 to many emails, transform into ID

    This is a violation to the first normal form. Avoid storing several concatenated values and use an appropriate design for this.

    In order to be able to do what you want,...

  • RE: Order of preference in a case statement

    My crystal ball is showing a query like this:

    WITH CTE AS(

    SELECT ROW_NUMBER() OVER( PARTITION BY Patient

    ...

  • RE: Order of preference in a case statement

    cory.bullard76 (9/9/2015)


    Thanks...That's what I thought at 1st. But, it's pulling the BINNO for Grant instead of Commercial when I use that. I want Commercial 1st if they have...

  • RE: Order of preference in a case statement

    Just add more conditions:

    case when inscomp.payor = 'COMMERCIAL' then INSCOMP.BINNO

    when inscomp.payor = 'Grant' then INSCOMP.BINNO

    when inscomp.payor = 'Part D' then...

  • RE: Today's Random Word!

    Ed Wagner (9/9/2015)


    crookj (9/9/2015)


    Jim_K (9/9/2015)


    ZZartin (9/9/2015)


    eccentricDBA (9/9/2015)


    BWFC (9/9/2015)


    Eirikur Eiriksson (9/9/2015)


    whereisSQL? (9/9/2015)


    Classy

    Glossy

    Magazine

    cartridge

    Cartilage

    Shark

    Jaws

    Sea

    World

Viewing 15 posts - 4,231 through 4,245 (of 8,731 total)