Monday, 4 December 2017

MSSQL - Stored procedure inside stored procedure


Watch this example on YouTube



CREATE PROCEDURE GetOrders
AS
BEGIN
    SET NOCOUNT ON;

    Declare @now datetime = getdate()
    Exec SetUpdateRecord @now
    Select * from Orders
END
GO

No comments:

Post a Comment