dbTalk Databases Forums  

The statement has been terminated

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


Discuss The statement has been terminated in the microsoft.public.sqlserver.dts forum.



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

Default The statement has been terminated - 03-09-2005 , 03:49 PM






I'm calling my stored procedure through a lookup in my activex code ,but it
gives me this error:
The statement has been terminated

When I call the sp from outside (for isntance from Query Anakyzer) it
works,but in DTS it dosen't



Reply With Quote
  #2  
Old   
Simon Worth
 
Posts: n/a

Default Re: The statement has been terminated - 03-09-2005 , 07:00 PM






Hey RayAll!
Stored procedure doesn't work in lookup query.
Did it ever work and just stopped working, or it never worked?

--
Simon Worth


"RayAll" <RayAll (AT) microsft (DOT) com> wrote

Quote:
I'm calling my stored procedure through a lookup in my activex code ,but
it gives me this error:
The statement has been terminated

When I call the sp from outside (for isntance from Query Anakyzer) it
works,but in DTS it dosen't





Reply With Quote
  #3  
Old   
RayAll
 
Posts: n/a

Default Re: The statement has been terminated - 03-11-2005 , 11:00 AM



Simon,

Storedprocedures work in lookups,why not? It might not be an efficiant way
,but it works.The reason it didn't work for me is that if there is for
instance a ForiegnKey violation,there is no way of knowing that and you get
this error message."The statement has been terminated".That might be a good
reason not to use sp in your lookups ....


Anyway,Thanks for yuor help.

Ray
"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote

Quote:
Hey RayAll!
Stored procedure doesn't work in lookup query.
Did it ever work and just stopped working, or it never worked?

--
Simon Worth


"RayAll" <RayAll (AT) microsft (DOT) com> wrote in message
news:OrCPYHPJFHA.3420 (AT) tk2msftngp13 (DOT) phx.gbl...
I'm calling my stored procedure through a lookup in my activex code ,but
it gives me this error:
The statement has been terminated

When I call the sp from outside (for isntance from Query Anakyzer) it
works,but in DTS it dosen't







Reply With Quote
  #4  
Old   
Simon Worth
 
Posts: n/a

Default Re: The statement has been terminated - 03-11-2005 , 11:03 AM



no, I wasn't saying it wouldn't work, I was just restating what you said to
make sure I was clear.

--
Simon Worth


"RayAll" <RayAll (AT) microsft (DOT) com> wrote

Quote:
Simon,

Storedprocedures work in lookups,why not? It might not be an efficiant way
,but it works.The reason it didn't work for me is that if there is for
instance a ForiegnKey violation,there is no way of knowing that and you
get
this error message."The statement has been terminated".That might be a
good
reason not to use sp in your lookups ....


Anyway,Thanks for yuor help.

Ray
"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:%23fb%23%23xQJFHA.3340 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Hey RayAll!
Stored procedure doesn't work in lookup query.
Did it ever work and just stopped working, or it never worked?

--
Simon Worth


"RayAll" <RayAll (AT) microsft (DOT) com> wrote in message
news:OrCPYHPJFHA.3420 (AT) tk2msftngp13 (DOT) phx.gbl...
I'm calling my stored procedure through a lookup in my activex code
,but
it gives me this error:
The statement has been terminated

When I call the sp from outside (for isntance from Query Anakyzer) it
works,but in DTS it dosen't









Reply With Quote
  #5  
Old   
RayAll
 
Posts: n/a

Default Re: The statement has been terminated - 03-11-2005 , 11:14 AM



Excellent,
Ray
"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote

Quote:
no, I wasn't saying it wouldn't work, I was just restating what you said
to
make sure I was clear.

--
Simon Worth


"RayAll" <RayAll (AT) microsft (DOT) com> wrote in message
news:%23xqcSvlJFHA.1948 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Simon,

Storedprocedures work in lookups,why not? It might not be an efficiant
way
,but it works.The reason it didn't work for me is that if there is for
instance a ForiegnKey violation,there is no way of knowing that and you
get
this error message."The statement has been terminated".That might be a
good
reason not to use sp in your lookups ....


Anyway,Thanks for yuor help.

Ray
"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:%23fb%23%23xQJFHA.3340 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Hey RayAll!
Stored procedure doesn't work in lookup query.
Did it ever work and just stopped working, or it never worked?

--
Simon Worth


"RayAll" <RayAll (AT) microsft (DOT) com> wrote in message
news:OrCPYHPJFHA.3420 (AT) tk2msftngp13 (DOT) phx.gbl...
I'm calling my stored procedure through a lookup in my activex code
,but
it gives me this error:
The statement has been terminated

When I call the sp from outside (for isntance from Query Anakyzer) it
works,but in DTS it dosen't











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.