Is there any widely used SQL coding standard out there? SQL is little bit different from C/C++ type of programming languages. Really don't know how to best format it for readability.
相关问题
- SQL join to get the cartesian product of 2 columns
- sql execution latency when assign to a variable
- Difference between Types.INTEGER and Types.NULL in
- php PDO::FETCH_ASSOC doesnt detect select after ba
- Bulk update SQL Server C#
I generally keep very little per line, ie:
If you google, there are plenty of coding standards out there. For example,
Database Coding Standard and Guideline
and
SQL SERVER Database Coding Standards and Guidelines Complete List