How do you  give time for execution of stored procedure in sql server?
 1 DECLARE 2 datetime variables: start/end.2 SET start = GETDATE(). 3 EXEC SP_NAME.4 SET end = GETDATE().SDN: SQL Profiler Data Columns. 