Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> 2 short questions (DBMS_SQL)

2 short questions (DBMS_SQL)

From: Morten <c960901_at_aix5.kbar.dtu.dk>
Date: Mon, 5 Jul 1999 10:17:45 +0200
Message-ID: <Pine.A41.3.95.990705101453.16368A-100000@aix5.kbar.dtu.dk>

  1. When should one use BIND_VARIABLE instead of string concatenation? E.g.: v_Stuff := 'SELECT :m FROM table'; vs. v_Stuff := 'SELECT ' || stuff || ' FROM table';
  2. When I try to drop a procedure absolutely nothing happens. SQL*PLUS just 'freezes' and stays there until I get the following timeout

  SQL> drop procedure mapdocument;
  drop procedure mapdocument

  ERROR at line 1:
  ORA-04021: timeout occurred while waiting to lock object   BIIS.MAPDOCUMENT   Can any of you help me decipher this?

Thanks a ton

Morten Received on Mon Jul 05 1999 - 03:17:45 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US