Skip to content
Advertisement

Tag: database

SQL iterate UPDATE from python list

Do you guys know how to UPDATE a database from a python list without using cur.executemany? Using cur.executemany I have problems in API calls or something. What is another way to solve this below? Thank you! I know below is crazy ugly, but I did that. Answer Not an answer but I don’t want to edit your code as I

SQL trigger doesn’t allow to update

I have trigger trig_1 on racun table. I have some columns in racun table and i created trigger to don’t allow to update column iznos, but when i try to update another column in the same table, trigger doesn’t allow to do that. I tryed to delete and create trig_1 but nothing happend. I created that trigger in SQL 17

ORA-06553: PLS-801:Internal Error [55018]

I want to make a function call like SELECT URUN_GETIR(‘test1’) FROM DUAL; but i got ORA-06553: PLS-801: Internal Error [55018]. I tried ORA-06553: PLS-801: internal error [55018] when testing function returning ROWTYPE this like for ex URUN_GETIR(‘test1’).KULUSERNAME but getting same error. It didn’t work for me.Thanks in advance. My db table : My plsql function code : Answer You can

Data Type for Lists

I’m creating a table and one of the requirements is that the only option that can be entered are QLD, NSW, VIC, SA, WA, NT and ACT (Australian states). What is this datatype and how is written in SQL, …

Advertisement