Execute immediate within a DBMS_JOB

Question : Execute immediate within a  DBMS_JOB Can I do a dynamic SQL WITHIN A DBMS_JOB.  Here is how my job looks like. ———————————————————————————————————— DECLARE X NUMBER; viewDDL VARCHAR2(30000); BEGIN viewDDL := myPkg.getViewDDL; SYS.DBMS_JOB.SUBMIT ( job       => X ,what      => viewDDL ,next_date => to_date(’24/10/2008 10:50:38′,’dd/mm/yyyy hh24:mi:ss’) ,interval  => ‘SYSDATE+1/1440 ‘ ,no_parse  => TRUE ); SYS.DBMS_OUTPUT.PUT_LINE(‘Job Number is: ‘ || to_char(x)); END; / ——————————————————————————————————————– The viewDDL is Continue Reading →

DoCmd.TransferDatabase – need assistance with syntax. keep receiving runtime 13 type mismatch error

Question : DoCmd.TransferDatabase – need assistance with syntax.  keep receiving runtime 13 type mismatch error Hello, I have been trying to get this working now for a while but not having any success…. If someone can take a quick look and provide some insight I would really appreciate it. What I am trying to do is automate the importing of a table from an Oracle database to my local access database. Continue Reading →

Oracle 10g EM Dbconsole will not start up!

Question : Oracle 10g EM Dbconsole will not start up! Hello… I’m running Oracle 10g (10.2.0.1) on RHEL4. My listener, database and Oracle HTTP Server are up and running. The sole purpose of this database is to run Oracle Application Express applications. The oracle apex applications are all running fine. However, I cannot for the life of me get Oracle EM (dbconsole) running. I’ve tried everything but obviously not the right Continue Reading →

Problem: 10g – Problem with creating Users , ora 30041 cannot grant quota on tablespace

Question : 10g – Problem with creating Users , ora 30041 cannot grant quota on tablespace I create a user in 10g, release 2 for windows: CREATE USER abc identified by abc default tablespace abc_TS1 TEMPORARY TABLESPACE TEMP QUOTA UNLIMITED ON TEMP QUOTA UNLIMITED ON abc_TS1 ACCOUNT  UNLOCk; I keep getting ora 30041 cannot grant quota on tablespace but how can I grant to the user if wont create user Continue Reading →

Problem: download and extract linux817ee.tar.gz

Question : download and extract linux817ee.tar.gz I have downloaded the linux817ee.tar.gz file, it has 30,124,904 bites. Double clicked the file, there were 176 .jar files in the winzip window. When I extracted the file using winzip, it gave the error message: Error reading D:..linux817ee.tar. Possible cause: bad disk.The last tow lines in the winzip’s log file is as follows: Extracting ordvid_demo.0.0.jar Error reading D:Huangdownloadoracle8ioracle8.1.7linux817ee.tar.  Possible cause: bad disk Any help Continue Reading →

FRM-40735 / ORA-01422 / FRM-40222 / FRM-40735 Runtime Erros

Question : FRM-40735 / ORA-01422 / FRM-40222 / FRM-40735 Runtime Erros Hello, Well, I compiled my application, when I call the main form and press on some tabs I get the following sequence of errors: 1) FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-01422 2) FRM-40222: Disabled item B1_BILLED failed validation And then back to 1 and 2. 1) How can I resolve this sequence of trigger errors ? PT   Solution Continue Reading →

Create an Oracle Forms data block using a stored procedure

Question : Create an Oracle Forms data block using a stored procedure Does anybody know where I could find some detailed documentation about creating Oracle Forms data blocks using stored procedures?   Solution : Create an Oracle Forms data block using a stored procedure Why base a block on a stored procedure? ————————————— Basing a block on a stored procedure is an advanced operation to do the following: 1. Reduce network traffic Continue Reading →

ORA-12569: TNS:packet checksum failure – Oracle 10.2 to MySQL 5.0

Question : ORA-12569: TNS:packet checksum failure – Oracle 10.2 to MySQL 5.0 I’m getting this error when tnsping-ing the SID defined below.  The ODBC connection MySQLTDSN works. How do I resolve the error? TNSNAMES.ORA entry: MySQLTDSN = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = MyPC)(PORT = 3306)) ) (CONNECT_DATA = (SID=MySQLTDSN) ) (HS=OK) ) SID Listener: (SID_DESC = (PROGRAM = hsodbc) (ORACLE_HOME = C:oraclexeapporacleproduct10.2.0server) (SID_NAME = MySQLTDSN) ) Continue Reading →

error frm 40352 last record of query retrieved

Question : error frm 40352 last record of query retrieved i am working in oracle forms, and have written a function inside a form which searches a particular value in the set of records. the function is working fine but if  i enter a value which is not there in the record, it pops up a message box with error ” FRM-40352 : last record of query retrieved.” though it is Continue Reading →

Check if file exists

Question : Check if file exists Hello, I thought this would be easy but am at a loss! We’ve put together an images database using Oracle 8i and Forms 6i (client-server). We have a table of images, containing filenames that reference an NT drive (called “DIS”) that contains the actual images (JPGs, TIFs, etc). We have created a form which allows a user to “import” their own images into the database. Continue Reading →