I am inserting records from excel sheet using SSIS package which can fire triggers.When I execute the package or just use insert statement to insert records the table gets locked and it shows error in SSIS messages and just shows "executing query..." and never completes the query.
The code is :
USE [Religare]
GO
/****** Object: Trigger [dbo].[clientpanno] Script Date: 10/22/2008 11:16:40 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER trigger [dbo].[clientpanno] on [dbo].[ClientCode] for insert
As
Begin
Declare @ccid as int
Delete from...
The two queries are returning two different no of rows.Outer join is not supposed to duplicate the rows in the first table right?How do I correct this.
select * from clientcode order by cc_clientcode
result:(5627 row(s) affected)
select...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.