• Yes, I don´t know how to do it... I mean, i´m not sure about the behavior of table locks if I use them with openqueries.

    When I get the lock? when I release (or lost) the lock? ...if I use some code like:

    openquery(linked_server,get_lock(a))

    ...

    ...

    my process

    ...

    ...

    openquery(linked_server,update_view(a))

    I´m lost here... tks for the help Jo.