Page 1 of 1

Execute command

Posted: Fri 23 Jun 2006 07:23
by EDDY
Execute dbms_xxxx' cannot run with oraSql or OraQuery ?
i try and become : ORA:00900: invalid SQL statement

Posted: Fri 23 Jun 2006 13:01
by Challenger
We couldn't reproduce this error. Please send to ODAC support address complete sample that demonstrates this problem and include script to create server objects.

OraQuery vs ORaPacket

Posted: Mon 26 Jun 2006 23:06
by Eddy
challenger wrote:We couldn't reproduce this error. Please send to ODAC support address complete sample that demonstrates this problem and include script to create server objects.
With Orapacket is very slow the executing
DBMS_SNAPSHOT.REFRESH('list','ESQUEM.TABLE','method','C');

How ist with oraSql or OraQuery ?

OraQuery.sql('DBMS_SNAPSHOT.REFRESH('list','ESQUEM.TABLE','method','C'));

OraQuery.Execute.

ist so fast ?[/img]

Posted: Tue 27 Jun 2006 12:34
by Plash
Try to use TOraSQL component. Assign the following text to SQL property:

Code: Select all

BEGIN
  DBMS_SNAPSHOT.REFRESH('ESQUEM.TABLE', 'C');
END;

OraSql , OraPacket

Posted: Wed 28 Jun 2006 05:27
by Eddy
plash wrote:Try to use TOraSQL component. Assign the following text to SQL property:

Code: Select all

BEGIN
  DBMS_SNAPSHOT.REFRESH('ESQUEM.TABLE', 'C');
END;
Run Ok , but is as slow as sqlplus more 120%

OraSql , OraPacket are snail Component

Thank plash

Posted: Fri 30 Jun 2006 08:05
by Plash
We have tested the execution of procedure DBMS_SNAPSHOT.REFRESH and found out that in ODAC it takes no longer than in SQL Plus. But time that server spends to execute this procedure can differ depending on presence of data in the server cache.