4
Guys I’m creating this trigger
in the SQL Server, but I’m not getting the id
to send the data to another table and delete from this table.
CREATE TRIGGER MoveComprador
ON comprador
INSTEAD OF DELETE
AS
BEGIN
SELECT * INTO bk_comprador FROM comprador WHERE comprador.codigo = deleted;
END
GO
Hello. 
 See this answer can help you: http://stackoverflow.com/a/14019020/2076784
– gpaoli