IT Community - Software Programming, Web Development and Technical Support

Guidelines for developers working with Databases

This is a discussion on Guidelines for developers working with Databases within the Database Support forums, part of the Web Development category; Guidelines for developers working with Databases • Should follow the Hungarian Style in naming the Database name (SQL server), Schema name(...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Database Support

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 09-11-2007, 12:25 AM
vijayanand vijayanand is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 246
vijayanand is on a distinguished road
Default Guidelines for developers working with Databases

Guidelines for developers working with Databases

• Should follow the Hungarian Style in naming the Database name (SQL server), Schema name(Oracle), field/column name in the respective databases.

Example:
EmployeeName ------ Correct
EmpName, empname, emp_name ------ Incorrect

• If the Column/Table name exceeds more than 30 characters the developer can go for abbreviated names, but it should be completely relevant to the work what the table is doing.
For Example: The ProjectSpecificPreferencesDetails Table can be named ProjSpecPrefDetails, which is meaningful and also satisfies the field/column’s length.

• Avoid using UnderScores( _ ) while naming Columns and Tables.

• Should use the concepts of Stored Procedures (SQL Server), Procedures (Oracle),
Functions, Triggers where ever necessary in the database design Try to avoid unnecessary connections in the database server in a loop. Using Procedures,
Functions and Triggers solves this problem. Another alternative is to get the whole data into the client and try to solve the problem in the client level only, instead of interacting with the server for several times in a loop.

• Should follow the Normalization concepts properly. Try to achieve the Third Normal Form for the data base which is designed, it is considered to be more efficient.(Normal Forms are discussed below)

• No table in the database should be independent. Every table should be related with one or the other table.

• Should follow the concept of index in the database. Multiple indexing is advisable if there is an assumption of storing huge data. Retrieval of data will be faster if indexes are used.
__________________

J.Vijayanand
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Okwebmaster - Professional web developers okwebmaster Introductions 1 07-04-2009 11:55 PM
Easy Property Class Generator for DOTNET Developers Anandavinayagam ASP and ASP.NET Programming 4 01-16-2008 02:54 AM
Site Databases Accessibility nhoj Database Support 1 04-05-2007 11:42 PM
Guidelines for new testers vadivelanvaidyanathan Software Testing 0 03-23-2007 12:08 AM


All times are GMT -7. The time now is 09:11 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0