Should variable names in PL/SQL use underscores or capital letters to separate words?
this_is_my_variable or thisIsMyVariable?
I can’t find a clear answer to this and I’ve seen both.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
PL/SQL uses the first style:
this_is_my_variable.It is the universally acepted coding style for PL/SQL.
All documentation and sample code is written like that. All Oracle documentation and courses on PL/SQL use that convention.
Just like Java uses the other one ( camel case ).