Database is the most important and powerful part of
any application. If your database is not working properly and taking long time
to compute the result, this means something is going wrong in database.
- · Use index on table
- · Use to Avoid Null value in fixed length field
- · Use Appropriate Datatype
- · Use Common Table Expressions (CTEs) instead of Temp table
- · Use Appropriate Naming Convention
- · Use UNION ALL instead of UNION
- · Use Small data type for Index
- Use the stored procedure because stored procedures are fast and easy to maintain for