Packermann
Programmer
I found out that I can call an Oracle procedure from Microsft SQL Server using an OpenQuery function.<br><br>But in order to do this, the Oracle procedure must return a result set. I could not get it to work. I then tried to use a function, which did returned a value, but Oracle would let me put any insert statements in a function.<br><br>So basically, I need to insert into a table and return a value. A procedure can insert and a function can return a value. But I need either a procedure or a function to do both. Can anybody help?<br><br><br><br><br><br>