Forum Replies Created

Viewing 15 posts - 7,321 through 7,335 (of 15,381 total)

  • RE: Find potential locks caused by joined queries

    Donnie Carvajal (8/1/2013)


    Would you suggest adding the Update Statistics Task to my maintenance plan that backs up the full database every night?

    That may be a waste of effort to do...

  • RE: Find potential locks caused by joined queries

    Donnie Carvajal (8/1/2013)


    I've updated the statistics on all of the underlying tables and the estimated rows are at 207077. Any other suggestions? I've attached the new .sqlplan.

    BTW, all...

  • RE: Right outer Join???

    Alvin Ramard (8/1/2013)


    Sean Lange (8/1/2013)


    jbalbo (8/1/2013)


    Thanks Sean.. good idea

    Its one thing I think I do get..

    At least I think I do.. lol

    It is exactly like a left join....only backwards....

  • RE: update records based on condition

    riya_dave (8/1/2013)


    my desire out put will be

    Member primarycondition primaryintensity secondarycondition secondaryIntensity

    M2345 hf ...

  • RE: Find potential locks caused by joined queries

    Looks like Lowell beat me to a response again. At least his more detailed and earlier than mine. 😀

  • RE: Find potential locks caused by joined queries

    Donnie Carvajal (8/1/2013)


    Thanks again.

    Is the goal to get the actual number of rows and estimated number of rows to be equal?

    Donnie

    An exact match is not necessary. In fact, it is...

  • RE: Right outer Join???

    jbalbo (8/1/2013)


    Thanks Sean.. good idea

    Its one thing I think I do get..

    At least I think I do.. lol

    It is exactly like a left join....only backwards. 😛

  • RE: Find potential locks caused by joined queries

    Donnie Carvajal (8/1/2013)


    Here is the .sqlplan for the one of the queries that I anticipate may be causing a bottle neck as it is referenced on every request.

    Unless I am...

  • RE: update records based on condition

    Lowell (8/1/2013)


    you DID NOT post readily consumable sample data.

    your sample headers had five columns, but the data only appears in three.

    how is anyone supposed to be able to use that?

    i...

  • RE: update records based on condition

    riya_dave (8/1/2013)


    this is my DDL

    create table member

    (memberid int,

    primarycondition varchar(50),

    PrimaryIntensity int,

    secondarycondition varchar(50),

    Secondaryintensioty int)

    sample data i already provided in my previous thread

    I am not a paid employee of this site. I do...

  • RE: Right outer Join???

    Also, you might consider reversing your code and making this a left join. Many people struggle with the concept of a right join because it is backwards for most people.

  • RE: update records based on condition

    I have tried to help you on so many threads and once again you haven't posted any details. If you would actually post ddl and sample data along with the...

  • RE: Primary Key

    Durai Samuel (8/1/2013)


    For full information about primary key

    please view the below link

    http://www.dotnetbites.com/Primary-key-Sql-Server

    Please note that this is thread is 6 years old. I did however head over and read the link...

  • RE: Find potential locks caused by joined queries

    Donnie Carvajal (8/1/2013)


    Thanks for the quick responses. What is a .sqlplan? Is it the estimated execution plan from ssms?

    The estimated plan could be saved as a .sqlplan just...

  • RE: Catch text before symbol

    You could also use PARSENAME for this.

    select PARSENAME(Value, 2) as FirstPart, PARSENAME(Value, 1) as SecondPart

    from #mytable

Viewing 15 posts - 7,321 through 7,335 (of 15,381 total)