Mercurial > sqlpython
comparison sqlpyPlus.py @ 11:cab368ea3ec8
reworking pull
author | devlinjs@FA7CZA6N1254998.wrightpatterson.afmc.ds.af.mil |
---|---|
date | Tue, 18 Dec 2007 17:01:15 -0500 |
parents | 2ef0e2608123 |
children | 7d27bb74ba90 |
comparison
equal
deleted
inserted
replaced
10:2ef0e2608123 | 11:cab368ea3ec8 |
---|---|
667 | 667 |
668 object_type, owner, object_name = self.resolve(arg.strip(self.terminator).upper()) | 668 object_type, owner, object_name = self.resolve(arg.strip(self.terminator).upper()) |
669 print "%s %s.%s" % (object_type, owner, object_name) | 669 print "%s %s.%s" % (object_type, owner, object_name) |
670 print self.curs.callfunc('DBMS_METADATA.GET_DDL', cx_Oracle.CLOB, | 670 print self.curs.callfunc('DBMS_METADATA.GET_DDL', cx_Oracle.CLOB, |
671 [object_type, object_name, owner]) | 671 [object_type, object_name, owner]) |
672 print self.curs.callfunc('DBMS_METADATA.GET_DEPENDENT_DDL', cx_Oracle.CLOB, | |
673 [object_type, object_name, owner]) | |
672 | 674 |
673 def do_describe(self, arg): | 675 def do_describe(self, arg): |
674 "emulates SQL*Plus's DESCRIBE" | 676 "emulates SQL*Plus's DESCRIBE" |
675 object_type, owner, object_name = self.resolve(arg.strip(self.terminator).upper()) | 677 object_type, owner, object_name = self.resolve(arg.strip(self.terminator).upper()) |
676 print "%s %s.%s" % (object_type, owner, object_name) | 678 print "%s %s.%s" % (object_type, owner, object_name) |