Call department and region procedure after import data
This commit is contained in:
parent
131ec5f070
commit
87402c06fc
1 changed files with 7 additions and 0 deletions
|
@ -245,6 +245,13 @@ if __name__ == '__main__':
|
||||||
conn.commit()
|
conn.commit()
|
||||||
t.stop()
|
t.stop()
|
||||||
|
|
||||||
|
t.start('Call procedure')
|
||||||
|
with conn.cursor() as curs:
|
||||||
|
curs.execute("CALL %(schema)s.PRC_POP_REG_DEP()",
|
||||||
|
{'schema':AsIs(args.schema_name)}
|
||||||
|
)
|
||||||
|
t.stop()
|
||||||
|
|
||||||
t.start('Add Modify Trigger')
|
t.start('Add Modify Trigger')
|
||||||
with conn.cursor() as curs:
|
with conn.cursor() as curs:
|
||||||
curs.execute("""
|
curs.execute("""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue