Forum Replies Created

Viewing 15 posts - 136 through 150 (of 227 total)

  • RE: Need Help TSQL Code.

    Awesome,

    That's what I want...

    Thank You!

  • RE: Need Help TSQL Code.

    Thank You For your help...

    However I want only FirstName and LastName

    the logic would be for FirstName = From Left to ' ' (First Space)

    the logic would be for LastName =...

  • RE: SQL Query Help

    No No Please don't say Sorry.

    I really appreciate your help.

  • RE: SQL Query Help

    I think i got it. Here is the final query.

    Select

    * from Test1 t1

    Inner Join Test2 t2...

  • RE: SQL Query Help

    Hi Evil,

    Thank You for your reply. Could you please help me with right-down the query?

  • RE: Distinct Query Help

    Thank You for your reply. I really appreciate your sample data.

    Your query is good for sample data. However I have 3m rows in my database and i want, IF are...

  • RE: Store Procedure Help

    Hi Guys,

    I am thinking how i can solve my problem. I am thinking if someone can help me with my this question.

    Let say here is my SP

    Create Procedure...

  • RE: Query Help

    Jason Thanks that's what i want.

    Quick question. Let say i have three update statement instead of two

    Update Test

    Set UpdateField = Low

    from Test

    where MinDuration < 12

    IF @@ROWCOUNT=0

    BEGIN

    Update Test

    Set UpdateField =...

  • RE: Query Help

    Ok, I am sorry if i am not explain you very well.

    Let me try again. I change the Query Little bit...

    Table Name = Test (Here is my main Table)

    ID,DTypeID,MinDuration,MaxDuration,UpdateField

    1,123,0,12

    2,345,6,18

    3,111,12,24

    Here...

  • RE: Query Help

    Let me correct something for make more sense.

    Instead of Right and Left, Is High and Low.

    Here is my SP (Inside SP)

    -- I am update above table

    Update Test

    Set UpdateField =...

  • RE: Query Help

    Awesome its work fine. Thank you Guys!

  • RE: Deadlock In SQL

    Good Question...

    I am dam sure about this ALL SPS/INDEX/VIEW/TRIGG/ and so on are same (Prod/Test)

    If i ran Same SP without any changes on Prod giving me Error and On test...

  • RE: Deadlock In SQL

    Awesome.... You are right the problem with two (Not IN) If i remove both logic SP Works fine with No problem. The Problem with One Not IN i think that...

  • RE: Deadlock In SQL

    I am Refreshing this Database from Production to Test (Everything is same except One day old data)

  • RE: Deadlock In SQL

    I will do that.

    Quick Question. I am running same procedure in different Server and its working fine with no Problem. I ran this SP 10 time no deadlock problem.

    Could...

Viewing 15 posts - 136 through 150 (of 227 total)