Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parsing queries in Oracle SQL Developer

Is there a way to parse code in SQL Developer (oracle) without actually touching tables/packages data like you can do with "parse" option in SQL Management studio?

like image 303
Victor Avatar asked Jun 11 '12 19:06

Victor


1 Answers

There is no option to merely parse the SQL statement to validate the syntax.

You could choose the "Explain Plan" option (F10 in the Windows version of SQL Developer), that will validate the syntax as part of generating the query plan. If there is a syntax error, you'll get the error message when you attempt to generate the plan but you generally won't get the line and column of the error which makes debugging more challenging.

like image 186
Justin Cave Avatar answered Sep 23 '22 01:09

Justin Cave