What is SQL? SQL stands for Structured Query Language and is the lingua franca in the database world. SQL is a standard that is used by all database vendors and programmers to define, extract and access the information that is stored in databases. SQL began life as an IBM creation but was standardized by the American National Standards Institute (ANSI) and the International Organization for Standardization (ISO) as ANSI/ISO SQL in 1988. Since then ANSI/ISO SQL standard continued to evolve. The ANSI-SQL group has since published three standards over the years:
1. SQL89 (SQL1)
2. SQL92 (SQL2)
3. SQL99 (SQL3)
SQL is a query language. It is English-like and easy to use. However, although there are more than 90 SQL reserved words, most programmers seldom use more than the following handful of commands - SELECT, INSERT, UPDATE, DELETE, FROM, WHERE, HAVING, BETWEEN, LIKE, OR, AND, NOT, IN, ORDER, GROUP and BY.
For example, if you had a database table named "employees" and you wanted to retrieve all records where the employee has the last name "goodman", you would use the following SQL statement:
SELECT * FROM employees WHERE lastname = 'goodman';
There are many different categories of SQL statements but the basic ones which all programmers should be familiar with are the SQL statements that:
1. Create tables and manipulate their definitions
2. Query the table data
3. Manipulate the table data
SQL is predominantly used by 2 types of users - programs and humans (keying in the commands through a database client) - to pass instructions to databases. SQL commands can be keyed into a database client like the MySQL Query Browser or the SQL Server Enterprise Manager and executed to either return a result or modify records in the database. SQL can also be used in conjunction with programming language or scripting language like Microsoft Visual Basic or PHP to communicate with the database.
Although SQL is a world standard, it is unfortunate that most database vendors have come up with different dialects and variations. This is because every database vendor wants to differentiate their database products from the crowd. One good example is Microsoft SQL Server's TRANSACT-SQL. TRANSACT-SQL is a superset of SQL and is designed for use only with Microsoft SQL Server. Although it does make programming much easier for software developers, it is not compliant with other databases like Oracle or MySQL - making TRANSACT-SQL programs non database-portable. As such, although many of these features are powerful and robust, it is good practice to exercise caution and limit your SQL use to be compliant with the ANSI/ISO SQL standards and ODBC-Compliant.
Courtesty of sqlprimer.com. For more information, please contact the Webmaster of SQLPrimer.com - sqlprimer.com
limo prices to midway Crystal Lake west of Randal .. Lockport Chicago limo O’HareIn the late 1990's three San Francisco based web developers... Read More
There are many different traffic analysis tools, ranging from simple... Read More
Rosalind wants to share her inspirational poetry with a wider... Read More
RIVERSIDE, CA August 4, 2004 ?- "Historically, small business owners... Read More
If you're looking for better web site ROI, chances are,... Read More
What is SQL? SQL stands for Structured Query Language and... Read More
There is an ongoing debate about web copy. Some say... Read More
When you publish a content site there are times when... Read More
No matter what browser you may want to use, you... Read More
"'Page Not Found' on this Server. Check the URL and... Read More
The internet has taken over our lives with a vengeance,... Read More
Are you, like many other website owners, frustrated at the... Read More
Making money with your web site is the dream and... Read More
I talk with so many people who have small businesses... Read More
D.zigns dzignerwebs The Basics Before starting on... Read More
Building a new website can be a lengthy task. From... Read More
You've decided to create a website to market your products... Read More
Looks like every client wants a Flash site these days... Read More
I recently helped my mom to launch a website (www.mom2me.com)... Read More
1. Many people are not getting good or complete advice.... Read More
Web sites are an Ongoing Part of Business.All too many... Read More
When you started reading this sentence you assumed lo acabar?a... Read More
When I started my company in 2002, I knew I... Read More
What do you mean, you don't have a website for... Read More
URL rewriting are major needs for your sites that produce... Read More
taxi o'hare Auburn ..What is SQL? SQL stands for Structured Query Language and... Read More
So you finally decided to invest in a web presence... Read More
Think up a name and check if yourname.com is available.... Read More
There have been many significant changes to the face of... Read More
We've all seen those messages on some websites warning not... Read More
One of the most important parts of establishing a new... Read More
Internet has opened a whole new world for web developers... Read More
Fresh website content for your visitors can be of real... Read More
Yahoo has long offered email, an online calendar, notes, bookmarks,... Read More
The internet has taken over our lives with a vengeance,... Read More
2 Golden Rules for an Engaging Website35% of visitors fail... Read More
In a previous ezinearticles.com article,"I Need real visitors, Not Search... Read More
An Introduction to Server Side IncludesBeginner? That's OK!While much has... Read More
In my previous life.....Actually, my previous JOB life, I was... Read More
Part of the success of most home-based businesses is their... Read More
Looks like every client wants a Flash site these days... Read More
Losing website sales and traffic is sometimes simply a case... Read More
"I am a writer, not a business-person. I don't want... Read More
An automated accessibility tool is a piece of software which... Read More
You work hard to build traffic to your web page.... Read More
What is the most important part of your online business?Many... Read More
Here's something you may never have thought of before:If I... Read More
--------------------------------Why Should You Create a website?--------------------------------A. What do you want... Read More
The Internet car buyer is an elusive animal. Trying to... Read More
Failure, just like success, is measured differently by each and... Read More
Web Development |