What is a Database, The definition of a MSSQL Database

Part of the You Can Learn SQL series.
By Ken Brown
Editor, YouCanLearnSeries.com
Updated:
August 31, 2004

A database in Microsoft® SQL Server™ 2000 consists of a collection of tables with data, and other objects, such as views, indexes, stored procedures, and triggers, that are defined to support the activities performed with the data.

My definition … a database is a collection of information (data) with software tools to extract the information in a meaningful way.

It isn’t only the data, it’s the ability to retrieve the data quickly and manipulate the data to produce useable information.

In the Query Analyzer’s Object Browser, you see the Northwind database and all of the objects that make up and support the database.

The objects that make up a database, tables, views, stored procedures and User defined data types.

It isn’t just the tables; it is System tables, Views, Stored Procedures, Functions and User Defined Data Types. All of these objects combine together to make a database and support a database.

User Tables are the tables created by the user. Table objects contain columns that define a table, and row data that populate it.

System Tables store information that is used by the database management system to operate the database. System tables should not be altered directly by any user. For example, do not attempt to modify system tables with DELETE, UPDATE, or INSERT statements, or user-defined triggers.

A View is a virtual table whose contents are defined by a query. Like a real table, a view consists of a set of named columns and rows of data. However, a view does not exist as a stored set of data values in a database. The rows and columns of data come from tables referenced in the query defining the view and are produced dynamically when the view is referenced.

A Stored Procedure is a group of SQL statements compiled into an operating plan to produce a result set.

There are three types of Functions: Rowset, Aggregate and Scalar. The function purpose is to return information, perform a calculation, or perform an operation on a data type. Converting an integer to a string is a function call.

User-defined data types can be used when several tables must store the same type of data in a column and you must ensure that these columns have exactly the same data type, length, and null ability.

In review, a database consists of a collection of tables with data, and other objects, such as views, indexes, stored procedures, and triggers, that are defined to support the activities performed with the data.


Save $10 off your $30 order - the best seeds and nursery stock at HenryFields.com!
Save up to 40% (468x60 white)
Patio Preserve
Keep It Cool Polo Shirt

Great Gifts For Gardeners

These Great Gifts For Gardeners are sure to be a hit with the garden lovers in your life. Choose the Keep It Cool polo shirt or the I Fear No Weed embroidered shirt or even the fun Anvil Pique all cotton Papa Was A Bad Seed polo shirt.

Each unique image was created especially for You Can Learn Series and your loved one will truly treasure the wonderful comments they receive when they wear the shirts.

Now check out the You Can Learn Series Online Store. Coffee mugs, t-shirts and caps.

Home| About Us | NewsLetters | Links| Contact Us |

Copyright © 2004-2008 You Can Learn Series

Free Games Online
Enjoy 1000's of Free Online Video Games
Sacramento Computer Support
Computer and Technical Support
Midwestern Landscaping Resources
Issues for Midwest Gardens and Landscapes
You Can Learn Series - Life is a Symphony of Experiences
You Can Learn Series Home Page You Can Learn Series
You Can Learn Series Home Page Home      Web DirectoryWeb Directory      About the creators of YouCanLearnSeriesAbout Us      Contact YouCanLearnSeriesContact Us      Site map of YouCanLearnSeriesSite Map      Privacy Policy of You Can Learn SeriesPrivacy Policy       Terms of Use of You Can Learn Series web siteTerms of Use       YouCanLearnSeries RSS feed for SQL tips and tutorials     
C# and ASP.Net Programming TipsC# and ASP.Net      SQL Tutorial, tips and tricks for DBA'sSQL       Landscaping Tips for Home GardenersLandscaping       WeightLifting Tips for the Young and OldWeightLifting       Good health TipsGoodHealth       Learn about Great Travel DestinationsTravel     Web Business TipsWeb Business      Services Available from You Can Learn SeriesServices    



You Can Learn C# and ASP.Net SeriesC# and ASP.Net

You Can Learn SQL SeriesSQL
  Data Definition LanguageData Definition Language
  Data Manipulation LanguageData Manipulation Language
  What is a DatabaseWhat is a Database
  What is SQLWhat is SQL
  SELECT StatementSELECT Statement
  INSERT StatementINSERT Statement
  DELETE StatementDELETE Statement
  UPDATE StatementUPDATE Statement


You Can Learn Landscaping and Gardening SeriesLandscape Tips
You Can Learn WeightLifting SeriesWeightLift Tips
You Can Learn Good Health SeriesGood Health Tips
You Can Learn Series NewslettersNewsletters
Learn about Great Travel DestinationsTravel
You Can Learn Series Web Business TipsWeb Business Tips
Services Available from You Can Learn SeriesServices
Money Saving Coupons from You Can Learn SeriesCoupons

Shop the one-cent sale at SpringHillNursery.com!
Buy one, get one free at MichiganBulb.com!
Your 125 X 125 Banner Ad on You Can Learn Series Website for 30 days only $10.00 dollars

Recommended Blog!
Click Image for Info



Bay Area Word

Alpha Industries &
UK Army Surplus


Tree Tree Designs

Sunset Midwestern Landscaping Book

Newsletter Signups
You Can Learn Series