The function works perfectly when it comes to finding out the last updated record of a table. But so far, this function only works on tables with only one primary key. How do I do this same thing but in a table that has three primary keys? Since I try:
SELECT IDENT_CURRENT('Tabla_Multiple_Clave')
And it returns a query with a record in NULL