changeset 96:5e274ecfd679

testing for pl/sql usage
author catherine@cordelia
date Sun, 25 May 2008 05:46:22 -0400
parents 84a26822e28c
children 9c5371b5edf4
files sqlpyPlus.py
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sqlpyPlus.py	Sun May 25 05:31:00 2008 -0400
+++ b/sqlpyPlus.py	Sun May 25 05:46:22 2008 -0400
@@ -826,6 +826,19 @@
         exec :y := sysdate
         '''
 
+    '''Works:
+    exec myproc()
+    begin
+      myproc();
+    end;
+    
+    Fails:
+    select n into :n from test;
+    :d := sysdate
+    :n := myfunc()'''
+    
+    
+    
     def anon_plsql(self, line1):
         lines = [line1]
         while True: