r/SQL • • May 16 '26

Oracle Claude and SQL queries

How can I optimize my use of Claude for developing SQL queries in Oracle? I have been considering exploring Code or Cowork to build something that could improve my workflow, but I am not sure what would be the most useful to create.

0 Upvotes

12 comments sorted by

View all comments

Show parent comment

7

u/RichardAtRTS May 16 '26

There is plenty of ‘oracle’ code. Both Oracle centric sql AND PL/SQL.

1

u/No_Resolution_9252 May 17 '26

Not really. LLMS are trained on things like someone having posted terrible code and then getting shit on and better code suggested. Then terrible suggestions getting shit on. Horrible execution plans and query statistics getting complained about, etc. Even among much more commonly searchable postgres and mysql problems compared to oracle, claude still pales in comparison in effectiveness compared to SQL server - I would say claude using an MCP server for postgres is about as good as a low context use case with SQL Server code.

Could be talking out of my ass and may oracle has done something to support LLMs for their own platform, but both mysql and postgres blogs, forum posts, stack overflow questions, etc are far more common than those for oracle and code assistants are noticeably worse for either of those platforms.