• forsqlserver (7/23/2012)


    Hi vikash,

    In my case I want to delete those data which is not selecting in below join any Help..

    DELETE ord FROM Orders ord INNER JOIN Customers c(nolock) ON ord.CustomerID = c.CustomerID WHERE c.FirstName = 'vikash'

    Please create a separate thread for your problem

    Also note that this is an old thread and the person you are referring to might not be online always to help you out

    If you create a new thread with some sample data and DDL of the tables invloved, I am sure there are many here who can help out in no time

    If you don't know how to do this, go through the link in my signature


    Kingston Dhasian

    How to post data/code on a forum to get the best help - Jeff Moden
    http://www.sqlservercentral.com/articles/Best+Practices/61537/