dbTalk Databases Forums  

Problem running a SQL job

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Problem running a SQL job in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Goober
 
Posts: n/a

Default Problem running a SQL job - 08-17-2004 , 08:03 AM






I have a SQL job that runs as part of a nightly load of data tables. Part
of the job is a DTS job (loading a table from a text file), and other parts
of it are either sql code, or calling of a stored procedure.

We have 2 production servers, both (I thought) set up identically. SQL
2000, most recent service packs.

However, 2 times in the last several weeks, (3 times overall) we've gotten
this error in the same spot:

"A floating point exception occurred in the user process. Current
transaction is canceled. [SQLSTATE 42000] (Error 3628). The step failed."

We went back & checked the source table for it, and saw no problems.

We took the same job (a collection of about 10 stored procedure calls) that
looked like this:

sp_build_table_1
go
sp_build_table_2
go
sp_build_table_3
go
and so on....

and pulled it into query analyzer.

When run in Query Analyzer from a desktop (not the server), the jobs run
fine - no floating point exceptions or anything.

Any ideas as to what the problem might be? Not sure if it is a dts problem,
a programming problem or just a server setup issue.

Thanks,

SC



Reply With Quote
  #2  
Old   
Russell Fields
 
Posts: n/a

Default Re: Problem running a SQL job - 08-17-2004 , 08:58 AM






SC,

There are several reasons that this might manifest itself that have nothing
to do with the data and everything to do with the complexity of a query.
You might check out these KB articles and see if they help.

http://support.microsoft.com/default...b;en-us;818899
http://support.microsoft.com/default...b;en-us;829444
http://support.microsoft.com/default...b;en-us;812995
http://support.microsoft.com/default...b;en-us;816503

Russell Fields
"Goober" <me (AT) privacy (DOT) net> wrote

Quote:
I have a SQL job that runs as part of a nightly load of data tables. Part
of the job is a DTS job (loading a table from a text file), and other
parts
of it are either sql code, or calling of a stored procedure.

We have 2 production servers, both (I thought) set up identically. SQL
2000, most recent service packs.

However, 2 times in the last several weeks, (3 times overall) we've gotten
this error in the same spot:

"A floating point exception occurred in the user process. Current
transaction is canceled. [SQLSTATE 42000] (Error 3628). The step failed."

We went back & checked the source table for it, and saw no problems.

We took the same job (a collection of about 10 stored procedure calls)
that
looked like this:

sp_build_table_1
go
sp_build_table_2
go
sp_build_table_3
go
and so on....

and pulled it into query analyzer.

When run in Query Analyzer from a desktop (not the server), the jobs run
fine - no floating point exceptions or anything.

Any ideas as to what the problem might be? Not sure if it is a dts
problem,
a programming problem or just a server setup issue.

Thanks,

SC





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.