T-SQL Tutorial

T-SQL Call Stored Procedure


Call Stored Procedure Example:

EXEC SalesByCustomer 'CUSTOMER_1'
GO



Execute procedure in 20 minutes

BEGIN
  WAITFOR DELAY "0:20:00"
  EXEC SalesByCustomer 'CUSTOMER_1'
END