2
I’m migrating a database of Firebird for Sql Server and today, in the Firebird I have some triggers on Before Insert/Update who record the TimeStamp the insertion/change and the logged in user.
Is there any way I can do it in Sql Server without using triggers of the type Instead Of?
You can demonstrate how you do it in Firebird?
– Marco Souza
In Firebird it is quite simple that, in a Trigger of type before Insert/Update, only put one: new.DATAHORA = current_timestamp; new.USUARIO = current_user;
– Rafael Rossi