Forum Replies Created

Viewing 15 posts - 4,291 through 4,305 (of 15,381 total)

  • RE: Creating Integer Primary key value using the following query

    carrieathomer (6/26/2014)


    i want continuous primary key integers without jump in values.

    Yes you have said that. My question is why? What purpose does continuous values for a primary key provide?

    the while...

  • RE: Creating Integer Primary key value using the following query

    carrieathomer (6/26/2014)


    that is reason using while statement and even if there is failure it is going to try again.

    What is the reason? Are you saying you are using a while...

  • RE: Need help on this SP Urgent

    To add to what Gail already pointed out:

    Multiple execution paths.

    Repeatedly hitting the same view with nonSARGable predicates (EnumKey != )

    Tuning this is far more than an online forum is capable...

  • RE: Creating Integer Primary key value using the following query

    And what about concurrency? It is possible you will get duplicate values when more than 1 person is executing this code at the same time. If your goal is to...

  • RE: comparision based on Dates

    sharonsql2013 (6/26/2014)


    Here it is :

    CREATE TABLE #mytable

    (

    Month_Year Varchar(10),

    ...

  • RE: ? on merging fields

    jbalbo (6/26/2014)


    Thanks for the Help...

    Here is my final list(If interested..lol)

    Yes the data came from an old foxpro db

    Sorry, one more question , OK two....

    one...

    can I add...

  • RE: Phantom FK violation

    schleep (6/26/2014)


    Sean, I'd be happy to hear any suggestions re: perf improvement.

    The first suggestion is to remove the while loop that is replacing multiple spaces with one. Jeff Moden has...

  • RE: comparision based on Dates

    sharonsql2013 (6/26/2014)


    Wont be able to get sample data , but this is how the data looks like

    Month_Year MyMonth MyYear Group A ...

  • RE: comparision based on Dates

    sharonsql2013 (6/26/2014)


    I need to compare the ACC_Backlog data for the last two months. The table has monthwise data from May 2013 until May 2014. I am only looking for last...

  • RE: Phantom FK violation

    You are attempting to delete the entire Keywords table because of this.

    DELETE dbo.Keywords

    WHERE @nKeyWord_IdArg = @nKeyWord_IdArg

    You have the same variable on both side of the predicate. Pretty sure that all...

  • RE: ? on merging fields

    jbalbo (6/26/2014)


    Thanks for that..

    Now I get ...because it contains a character (0x0003)

    I read that only &, < and > (as well as " or ' in attributes) are illegal...

  • RE: Need help on SQL Query

    Shakeelr4u (6/26/2014)


    Sorry for the confusion.

    In the sql example that I gave you with the hardcoded programs, STORE2 was the Customer's Program and STORE was the Site's Program.

    Please remember that those...

  • RE: Phantom FK violation

    schleep (6/26/2014)


    ??? Maybe I didn't get enough sleep last night, but... I don't believe it should be possible to provide sample data to reproduce this scenario.

    To paraphrase my post, "I'm...

  • RE: ? on merging fields

    That is char(14). Not sure how you managed to get that character in your data but you can just replace it with an empty string.

    WITH CTE AS

    (

    SELECT DISTINCT CLINO

    FROM Hill_Comments

    WHERE...

  • RE: ? on merging fields

    jbalbo (6/26/2014)


    I'm sorry, and I'm not trying to be a smartA$$...

    But could you give me an axample of wht you would like to see?

    Thanks

    If you want this in a single...

Viewing 15 posts - 4,291 through 4,305 (of 15,381 total)