joe celko sql programming style外语英文电子书

joe celko sql programming style外语英文电子书

ID:7890984

大小:1.75 MB

页数:232页

时间:2018-03-01

joe  celko  sql  programming  style外语英文电子书_第1页
joe  celko  sql  programming  style外语英文电子书_第2页
joe  celko  sql  programming  style外语英文电子书_第3页
joe  celko  sql  programming  style外语英文电子书_第4页
joe  celko  sql  programming  style外语英文电子书_第5页
资源描述:

《joe celko sql programming style外语英文电子书》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、JOECELKO’SSQLPROGRAMMINGSTYLEJoeCelkoCONTENTSIntroductionxv1NamesandDataElements11.1Names21.1.1WatchtheLengthofNames21.1.2AvoidAllSpecialCharactersinNames31.1.3AvoidQuotedIdentifiers41.1.4EnforceCapitalizationRulestoAvoidCase-SensitivityProblems61.2FollowtheISO-11179StandardsN

2、amingConventions71.2.1ISO-11179forSQL81.2.2LevelsofAbstraction91.2.3AvoidDescriptivePrefixes101.2.4DevelopStandardizedPostfixes121.2.5TableandViewNamesShouldBeIndustryStandards,Collective,Class,orPluralNouns141.2.6CorrelationNamesFollowtheSameRulesasOtherNames...Almost151.2.7R

3、elationshipTableNamesShouldBeCommonDescriptiveTerms171.2.8MetadataSchemaAccessObjectsCanHaveNamesThatIncludeStructureInformation181.3ProblemsinNamingDataElements181.3.1AvoidVagueNames181.3.2AvoidNamesThatChangefromPlacetoPlace191.3.3DoNotUseProprietaryExposedPhysicalLocators21

4、2Fonts,Punctuation,andSpacing232.1TypographyandCode232.1.1UseOnlyUpper-andLowercaseLetters,Digits,andUnderscoresforNames252.1.2LowercaseScalarsSuchasColumnNames,Parameters,andVariables25viiiCONTENTS2.1.3CapitalizeSchemaObjectNames262.1.4UppercasetheReservedWords262.1.5Avoidthe

5、UseofCamelCase292.2WordSpacing302.3FollowNormalPunctuationRules312.4UseFullReservedWords332.5AvoidProprietaryReservedWordsifaStandardKeywordIsAvailableinYourSQLProduct332.6AvoidProprietaryStatementsifaStandardStatementIsAvailable342.7RiversandVerticalSpacing372.8Indentation382

6、.9UseLineSpacingtoGroupStatements393DataDeclarationLanguage413.1PuttheDefaultintheRightPlace413.2TheDefaultValueShouldBetheSameDataTypeastheColumn423.3DoNotUseProprietaryDataTypes423.4PlacethePRIMARYKEYDeclarationattheStartoftheCREATETABLEStatement443.5OrdertheColumnsinaLogica

7、lSequenceandClusterTheminLogicalGroups443.6IndentReferentialConstraintsandActionsundertheDataType453.7GiveConstraintsNamesintheProductionCode463.8PutCHECK()ConstraintNearwhattheyCheck463.8.1ConsiderRangeConstraintsforNumericValues473.8.2ConsiderLIKEandSIMILARTOConstraintsforCh

8、aracterValues473.8.3RememberThatTemporalValuesHaveDuration483

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。