Basic Oracle SQL Tips
Basic Oracle SQL TipsGeneral SQL information Developers should know
Beginner level
Useful for all
Developers, DBAs & Designers
Taste of different features – SQL*Plus & PL/SQL
Look at in more detail (see References or Oracle doc)
Objectives:
Make you aware of Oracle SQL features
Improve programming style
Improve functionality & performance
Avoid pitfalls
Very important – No one likes sloppy code
Develop consistent SQL standard – Dev tools can help
Always have:
Header: program name, author, purpose, date, parms, tables
Document each SQL statement
Consistent indents, neatly line things up – equals, ANDs ORs
Suggestions:
Reserve words UPPER case (SELECT, FROM, WHERE)
User defined lower case (tables, columns) – also rem
Short alias names
Use courier new for e-mailing or documenting code
Apply good style to PL/SQL coding – use tools
thinks maclean 其实这是个好东西。 谢谢ML的好资料 学习了! 好东西,就是太贵
页:
[1]