Weisen Sie VAR in SQL Wert zu

DECLARE @EmpIDVariable int;
SELECT @EmpIDVariable = MAX(EmployeeID)
FROM HumanResources.Employee;
Testy Tiger