SQLize Online / PHPize Online

A A A
Share   Donate   Blog   Popular
Copy Format Clear
CREATE FUNCTION SalaryPlus(@salary int) RETURNS int AS BEGIN RETURN @salary + 100 END; SELECT [dbo].[SalaryPlus](500) AS NewSalary; CREATE TABLE Employees ( Id int identity(1, 1), Salary int ); INSERT INTO Employees (Salary) VALUES (3600); SELECT Id, [dbo].[SalaryPlus](Salary) AS NewSalary FROM Employees;
Stuck with a problem? Need help? Ask professionals on our Telegram channel!
Join the channel
Your quersion is posted.
Join our Telegram channel and get answers.
Send
Copy