Viewing 5 posts - 1 through 5 (of 5 total)
Use This:
-- PARAMETERS COME FROM USER INPUT AND CAN INCREASE BASED ON REPORTING
DECLARE @TSQL1 NVARCHAR(4000)
DECLARE @TSQLAll NVARCHAR(4000)
SET @TSQL1 = '
DECLARE @Date1 DATETIME
SET @Date1 = ''1991/06/01''
DECLARE @Date2 DATETIME
SET @Date2 =...
July 1, 2009 at 7:13 am
Generally reboot production server at weekends or after any new patch.
July 1, 2009 at 6:48 am
You can use OutPut variable in such cases...
eg.
Declare @outputvar1 as Int
Exec usp_yoursp @pr1,@pr2,@outputvar1 Output
July 1, 2009 at 6:46 am
Hi,
You mean,
At Table1
Insert into Table1(empID,ErrorCount,ErrorDate) Values(1,5,'27-05-2009')
At Table2
5 new rows for empID 1
eg.
Insert Into Table2(ErrorID,ErrorDate,IsError,EmpID,Notes) Values
...
July 1, 2009 at 6:03 am
Use Batch Update if you are updating/inserting records from ASP.Net.
July 1, 2009 at 4:57 am
Viewing 5 posts - 1 through 5 (of 5 total)