title: User defined function : insert into a table statement forbidden
body: <p>I'd like to write a ud-function in my SQL database in order to write procedure logging in a specific table among dbo tables.</p>
  
  <p>I'd like this specific function could be called by any stored procedures inside my database.</p>
  
  <p>I have no idea what kind of solutions I could use. I've learned that only 3 kinds of UDF are avalaible.</p>
  
  <p>Any suggestions ?</p>
  
  <p>Thanks.</p>