CREATE PROCEDURE dbo.Func(@var text) AS BEGIN INSERT INTO Table (Col) VALUES(@var) SELECT TOP 1 TableID FROM Table ORDER BY TableID DESC RETURN TableID END
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)