--CREATE A FUNCTION FOR ADD TWO USER INPUT VALUES. CREATE FUNCTION AddFun_sp(@NumIst INT, @NumpIInd INT) RETURNS INT AS BEGIN DECLARE @Result as int SET @Result=@NumIst+@NumpIInd RETURN @Result END --CALL A FUNCTION IN STORE PROCEDURE. CREATE PROCEDURE usp_CallAfunction ( @IstVar INT, @IIndVar INT ) AS BEGIN DECLARE @sp AS INT SET @sp=dbo.AddFun1(@IstVar,@IIndVar) PRINT @sp END --EXECUTE STORE PROCEDURE FOR OUTPUT RESULT. EXECUTE dbo.usp_CallAfunction '10', '20' --RESULT IS 30
What Is Vue.js? The Vue.js is a progressive JavaScript framework and used to building the interactive user interfaces and also it’s focused on the view layer only (front end). The Vue.js is easy to integrate with other libraries and others existing projects. Vue.js is very popular for Single Page Applications developments. The Vue.js is lighter, smaller in size and so faster. It also supports the MVVM ( Model-View-ViewModel ) pattern. The Vue.js is supporting to multiple Components and libraries like - ü Tables and data grids ü Notifications ü Loader ü Calendar ü Display time, date and age ü Progress Bar ü Tooltip ü Overlay ü Icons ü Menu ü Charts ü Map ü Pdf viewer ü And so on The Vue.js was developed by “ Evan You ”, an Ex Google software engineer. The latest version is Vue.js 2. The Vue.js 2 is very similar to Angular because Evan ...