Home > SQL Server Tips > Database Administrator > Creating SQL Server tables and columns: Quick tips to know
SQL Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

DATABASE ADMINISTRATOR

Creating SQL Server tables and columns: Quick tips to know


Baya Pavliashvili
10.17.2007
Rating: -3.50- (out of 5)


Expert advice on database development
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Creating and maintaining SQL Server tables isn't rocket science, or is it? Anyone can use SQL Server Management Studio or the CREATE TABLE statement to put together a collection of columns. How well the tables perform depends largely on choices you make when defining data types, constraints, indexes, file groups where the table is built, as well as partitioning.

If you're building a quick-and-dirty application with a few thousand rows in each table and only a handful of users, you can create all tables in five minutes or less. On the other hand, if you are building an enterprise class solution you should carefully review your requirements and define the table structures accordingly. Subsequently you should maintain tables and corresponding indexes to ensure best possible performance for the application.

Here are some recommended practices for tables and columns when architecting large SQL Server databases. Note: The goal here is to alert you of potential issues and solutions, not to explain the details of each solution.

Creating SQL Server tables and columns: Quick tips to know

Part 1: Creating SQL Server tables: A best practices guide

Part 2: Creating SQL Server columns: A best practices guide

ABOUT THE AUTHOR:   
Baya Pavliashvili is a database consultant helping his customers develop highly available and scalable applications with SQL Server and Analysis Services. Throughout his career he has managed database administrator teams and databases of terabyte caliber. Baya's primary areas of expertise are performance tuning, replication and data warehousing. He can be reached at baya@bayasqlconsulting.com.
Copyright 2007 TechTarget


Rate this Tip
To rate tips, you must be a member of SearchSQLServer.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
SQL Server performance and tuning
Virtual database storage for SQL Server: Friend or foe?
Tutorial: SQL Server 2005 Analysis Services
Tutorial: Migrating to SANs from local SQL Server disk storage
SQL Server memory configurations for procedure cache and buffer cache
Using the OUTPUT clause for practical SQL Server applications
Check SQL Server database and log file size with this stored procedure
SQL Server PerfMon counters for access methods and buffer manager
Find size of SQL Server tables and other objects with stored procedure
Monitor SQL Server disk I/O with PerfMon counters
SQL Server tempdb best practices increase performance

SQL/Transact SQL (T-SQL)
How to use rank function in SQL Server 2005
Create a computed column in SQL Server using XML data
Using the OUTPUT clause for practical SQL Server applications
Create DDL table in SQL Server 2005 to audit DDL trigger activity
SQL Server source code analysis and management adds database security
SQL and SQL Server Tutorial and Reference Guide
Retrieve XML data values with XQuery in SQL Server 2005
How to construct and use SQL OUTER JOINs optimally
How to use the LEFT vs. RIGHT OUTER JOIN in SQL
Using the FULL OUTER JOIN in SQL
SQL/Transact SQL (T-SQL) Research

SQL Server stored procedures
Check SQL Server database and log file size with this stored procedure
SQL Server source code analysis and management adds database security
SQL and SQL Server Tutorial and Reference Guide
Configure SQL Server Service Broker for sending stored procedure data
Find size of SQL Server tables and other objects with stored procedure
Track changes to SQL Server 2000 and 2005 with one simple utility
Troubleshoot SQL Server 2005 temporary table performance problems
Use SQL Profiler to find long running stored procedures and commands
Stored procedure to monitor long-running jobs in SQL Server 2000
Using BULK INSERT to insert rows from SQL Server dataset to table

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
contiguity  (SearchSQLServer.com)
contiguous  (SearchSQLServer.com)
drilldown  (SearchSQLServer.com)
hashing  (SearchSQLServer.com)
hybrid online analytical processing  (SearchSQLServer.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2005 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts