Go Create function task_hospitals (@vic_id int , @HOS int ) returns int As Begin Return ( @Hos = COUNT(*) From patients Where victim_id =@vic_id); End
CREATE FUNCTION task_hospitals (@vic_id INT, @HOS INT ) RETURNS INT AS BEGIN RETURN (SELECT COUNT(*) FROM patients WHERE victim_id = @vic_id); END
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)