Question : Execute Oracle Stored Procedure From SQLServer 2005

Hello,

I'm currently running the following PL/SQL from oracle box:

DECLARE
      o_psNextNr VARCHAR2(1000);
      o_sErrMsg VARCHAR2(1000);
BEGIN
      FORUPSSEC.s_get_next_nr('XXXX','1',o_psNextNr,o_sErrMsg);
      DBMS_OUTPUT.PUT_LINE(o_psNextNr || '...' || o_sErrMsg);
END;

The return values Is '12345' and 'Y'

What I'm trying to do is execute this same proc from SQL Server 2005.  Here's the command I'm using:
SELECT *
FROM OPENQUERY(
[link],
'DECLARE
      o_psNextNr VARCHAR2(1000);
      o_sErrMsg VARCHAR2(1000);
BEGIN
      FORUPSSEC.s_get_next_nr(''xxxx'',''1'',o_psNextNr,o_sErrMsg);
END;'
)

When I run it, I get the following error:

The OLE DB provider "MSDAORA" for linked server "link" indicates that either the object has no columns or the current user does not have permissions on that object.


Any suggestions are greatly appreciated.
Thanks,
Dbl9ssg

Answer : Execute Oracle Stored Procedure From SQLServer 2005

Problem is with:: myposter.load(file_still_URL);

To load image AS3:
-------------------------------------------------------
                  var loader:Loader = new Loader();
                  var urlRquest:URLRequest = new URLRequest(file_still_URL);
                  myposter.addChild(loader);
                  loader.load(urlRquest);
-------------------------------------------------------

Hope this will help.
Random Solutions  
 
programming4us programming4us