IT Community - Software Programming, Web Development and Technical Support

What is SQL?

This is a discussion on What is SQL? within the Database Support forums, part of the Web Development category; SQL (commonly expanded to Structured Query Language — see History for the term's derivation) is the most popular computer language ...


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

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-24-2007, 01:11 AM
pranky pranky is offline
D-Web Programmer
 
Join Date: Feb 2007
Posts: 51
pranky is on a distinguished road
Default What is SQL?

SQL (commonly expanded to Structured Query Language — see History for the term's derivation) is the most popular computer language used to create, modify and retrieve and manipulate data from relational database management systems. The language has evolved beyond its original purpose to support object-relational database management systems. It is an ANSI/ISO standard.

For More: SQL - Wikipedia, the free encyclopedia
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-01-2007, 02:10 AM
Murali Murali is offline
D-Web Master
 
Join Date: Feb 2007
Location: India-Chennai.
Posts: 386
Murali is on a distinguished road
Send a message via AIM to Murali
Default Re: What is SQL?

SQL

1. SQL is generic to most true relational database management systems (RDBMS's) and is an ANSI standard.
2. SQL is the language used to access the data and structures within a relational database. PL/SQL (an Oracle specific SQL extension) allows basic program logic and
control flow to be implemented around SQL statements.
3. Most RDBMS vendors have a similar set of extensions or allow SQL statements to be embedded within a normal development package such as Visual Basic or C++.

SQL Features

It is meant to be an English like language using set English phrases to manipulate the database. How well it achieves this is questionable.

It is non procedural. You specify the information required not the navigation and operations required to access the data. Each RDBMS has an inbuilt query optimizer which parses your SQL statements and works out the optimum path to the required data.

When you query data, all the rows affected by your statement are dealt with in one go as a set, they are not dealt with separately. The work area that holds the set is known as a CURSOR.

SQL encompasses a range of uses and users. DBA's, application programmers, management and end users can use SQL.

It provides commands for the following tasks:-

• Quering Data.
• Inserting, Updating and Deleting Data.
• Creating. Modifying and Deleting Database Objects.
• Controlling Access to the Database and Database Objects.
• Guaranteeing Database Consistency.
• Monitoring Database Performance and Configurations.

Standard SQL statements can be subdivided into 4 distinct groups which are shown below,

DQL

Data Query Language - SELECT Statement

DML

Data Manipulation Language - Delete, Insert, Update

DDL

Data Definition Language - Create, Alter, Truncate, Drop

RIGHTS

For giving and taking back the access rights to database objects.

Grant and Revoke.
__________________
-Murali..
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 On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 04:37 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0