HomeForum
Welcome, Guest

Sql Server 2000 Triggers
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Sql Server 2000 Triggers

Sql Server 2000 Triggers 6 years, 11 months ago #56

  • Keenj
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
My question - is there a known issue with loading a SQL Server 2000 table and using a SQL Insert/Update/Delete Triggers with Vimp 4.5.10.
If so, is there a solution to this issue.

Here is some background:

When trying to load from excel spreadsheet to SQL Server 2000 Table with Insert/Update/Delete trigger on it.

We received the following message from Vimp 4.5.10 in the Transformation Log -- HY000[Microsoft][ODBC SQL Server Driver] Connection is busy with results for another hstmt --

And then Vimp just hangs and the cpu usage goes to 100%.
The only way to break out of this is to end the .exe process in task manager.

After researching this issue - the problem is related to Sql Triggers on the table we load information to. We had an insert/update/delete trigger on this load table so we could keep track of how many changes are made to this table. If the trigger is applied, we get the message listed above from Vimp but if we remove the trigger Vimp inserts the records just fine.

The funny thing is that these triggers have worked for us in the past and have just started failing this week.

We did test the triggers outside of Vimp and they work as expected.

We are able to work around this issue but we thought we would ask to see if this issue has happened to anyone else.

Any info would be appreciated. Thanks.

RE: Sql Server 2000 Triggers 6 years, 11 months ago #57

  • mike8888
  • OFFLINE
  • Expert Boarder
  • Posts: 131
  • Karma: 0
Hi.

Did you use ODBC connection or SQL SERVER?
Did you try to use Fire triggers?

Mike

RE: Sql Server 2000 Triggers 6 years, 11 months ago #58

  • Keenj
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
We tried both ODBC & SQL Server connections.
But normally we use the ODBC connection.

Not sure what a fire tigger is??

We were trying to use a post insert/update/delete trigger.

RE: Sql Server 2000 Triggers 6 years, 11 months ago #59

  • mike8888
  • OFFLINE
  • Expert Boarder
  • Posts: 131
  • Karma: 0
When you use SQL Server connection there several additional options available one of them is Fire Triggers.
We will investigate the problem and get back to you

Mike

RE: Sql Server 2000 Triggers 6 years, 11 months ago #60

  • mike8888
  • OFFLINE
  • Expert Boarder
  • Posts: 131
  • Karma: 0
please add to your trigger
set nocount on
  • Page:
  • 1
Time to create page: 0.17 seconds

Testimonials

One of the good things about Advanced ETL Processor that the trial has no limitations. There is no need to fill in any registration forms or to buy the software in advance.  That saved us a lot of time and we were able to load and  validate all our data when we needed it urgently.

John Parker.

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top