home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / database / oracle / 1129 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  752 b 

  1. Path: sparky!uunet!gatech!concert!borg!hatteras!chia
  2. From: chia@hatteras.cs.unc.edu (Mr. Chia)
  3. Newsgroups: comp.databases.oracle
  4. Subject: SQL*FORM : execute_query and clear_block
  5. Message-ID: <14137@borg.cs.unc.edu>
  6. Date: 24 Jul 92 14:57:04 GMT
  7. Sender: news@cs.unc.edu
  8. Lines: 16
  9.  
  10. Hi,
  11.  
  12. I am trying to build a block such that the operator can only update or query
  13. about the table. He/She is not permitted to insert/delete a record.
  14.  
  15. I grant select and update privileges to the operator. Then I tried
  16. execute_query; and clear_block('no_commit'); in the pre-block trigger.
  17. When I execute the form, I got the following message:
  18. execute_query; : illegal restricted procedure
  19. clear_block :  unhandled exception: VALUE_ERROR
  20.  
  21. What is wrong? 
  22. Thanks.
  23.  
  24. Wei-Jiun
  25.  
  26.