Jump to content
Sign in to follow this  

problems with Execute SQL

Recommended Posts

I have a script that pushes information in an oracle table.

The script step is Execute SQL, it has the "no dialog" option checked, and it's using a calculation to create the query.

Whenever i run this command I get error 23000 back from odbc (which is "integrity constraint violation").


if i run the exact command but I don't use a calculation for the query, and i give it the query straight up it works.

It also works if I use the calculation query BUT i uncheck the "no dialog" option... then i asks me what query i want to run (and it displays the calculation it came up with) and then what DNS entry i want to use and then username and password and then runs the command and it works...


1. if i pass a string query directly written down (so not a calculation) it works

2. if i pass a calculated query with no dialog it doesn't work

3. if i pass a calculated query WITH dialog then it works.


I tested this in 8.5 Advanced and 8 Advanced on a windows xp pro machine.

Share this post

Link to post
Share on other sites

Not without seeing any code...

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Who Viewed the Topic

    2 members have viewed this topic:
    WTM  ltwimberly 
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.