Add a note indicating that TABLE%ROWTYPE records can also be used.
This commit is contained in:
parent
ed88224241
commit
2cfdb4037c
@ -21,6 +21,7 @@ connection = cx_Oracle.connect(SampleEnv.MAIN_CONNECT_STRING)
|
||||
|
||||
# create new object of the correct type
|
||||
# note the use of a PL/SQL record defined in a package
|
||||
# a table record identified by TABLE%ROWTYPE can also be used
|
||||
typeObj = connection.gettype("PKG_DEMO.UDT_DEMORECORD")
|
||||
obj = typeObj.newobject()
|
||||
obj.NUMBERVALUE = 6
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user