Existe como pegar o ultimo NewID() inserido em uma tabela

1 resposta
mysqlsqlserver
C

Existe como pegar o ultimo NewID() inserido em uma tabela em sql server?

1 Resposta

R

Para mysql
https://dev.mysql.com/doc/refman/5.7/en/information-functions.html#function_last-insert-id

Para mssql (sql server)
https://docs.microsoft.com/pt-br/sql/t-sql/functions/ident-current-transact-sql

Criado 2 de abril de 2018
Ultima resposta 2 de abr. de 2018
Respostas 1
Participantes 2