Use aliases to make your life easier (in the same instance):
UPDATE l SET l.STATUSCODE=s.someVal FROM Logix.sysdba.Ticket l INNER JOIN Logix_dev.sysdba.ticket s ON s.ID = l.ID
Of course, you will need to replace s.ID and l.ID with the corresponding columns (TicketID?):
UPDATE l SET l.STATUSCODE=s.STATUSCODE FROM Logix.sysdba.Ticket l INNER JOIN Logix_dev.sysdba.ticket s ON s.TicketID = l.TicketID WHERE s.GM_NUMBER = ''
If they are in one instance, then two points (..) are not needed. If it is a linked server or another instance, you need two points (..):
Linked server:
UPDATE l SET l.STATUSCODE=s.someVal FROM Logix.sysdba.Ticket l INNER JOIN Logix_dev..sysdba.ticket s ON s.ID = l.ID
source share