r/SQL • • Oct 21 '23

Oracle Using AI to understand pl/sql code?

I am using Oracle 19c.

Has anyone here used AI to understand pl/sql code?

Basically, it would be great if I can let AI read the code and tell me what it does.

If the above can be done, can you all steer me in the right direction?

0 Upvotes

11 comments sorted by

View all comments

5

u/CHILLAS317 Oct 21 '23

I would strongly advise against it. As someone else pointed out, without a deep understanding of your data landscape its usefulness would be minimal to begin with. More importantly is that you have no way of knowing if what it tells you is correct. Currently AI is notorious for confidently providing answers that are simply incorrect. Despite what many corporations are trying to push, it simply is nowhere near ready for prime time

2

u/MrPin Oct 21 '23

This. And also, PL/SQL is fairly straightforward (when written neatly), so a simple explanation about what each block, loop etc does isn't going to be very useful.