- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
1#
发表于 2012-3-3 23:51:15
|
查看: 4551 |
回复: 5
Basic Oracle SQL Tips
General 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
Basic Oracle SQL Tips.ppt
(558 KB, 下载次数: 14, 售价: 10 金钱)
|
|