FACTOID # 64: Sri Lanka has lowest divorce rate in the world - and the highest rate of female suicide.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > Alter (SQL)

An ALTER statement in SQL changes the properties of an object inside of a relational database management system (RDBMS). The types of objects that can be altered depends on which RDBMS is being used. Wikibooks has more about this subject: SQL Headline text Hello BTEC Group! History A seminal paper, A Relational Model of Data for Large Shared Data Banks, by Dr. Edgar F. Codd, was published in June, 1970 in the Association for Computing Machinery (ACM) journal, Communications of the ACM. Codds... A relational database management system (RDBMS) is a database management system (DBMS) that is based on the relational model as introduced by Edgar F. Codd. ...


The typical usage is ALTER objecttype objectname parameters. For example, the command to add a column named bubbles to an existing table named sink would be:

 ALTER TABLE sink ADD COLUMN bubbles INTEGER; 

  Results from FactBites:
 
ALTER TABLE (T-SQL) (3176 words)
ALTER TABLE acquires a schema modify lock on the table to ensure no other connections reference even the metadata for the table during the change.
If ALTER COLUMN changes the data type of a column to a user-defined data type that is bound to a rule, the rule bound to the new data type is not bound to the column.
ALTER TABLE permissions default to the table owner, members of the sysadmin fixed server role, and to members of the db_owner and db_ddladmin fixed database roles.
umweb: SQL (2758 words)
SQL, (or Structured Query Language, also pronounced as "S-Q-L", or like the word "sequel" for short) is the collection of commands that are used to manipulate a database.
It is customary that SQL commands are typed in CAPS, although most DBMS clients are case-insensitive.
This summary was written to be a guide for those new to working with SQL, and a reference for those who are still learning.
  More results at FactBites »


 
 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms, 1022, m