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
cleaning service near Park Ridge .!When marketing your website, it's important to know which of... Read More
Succeeding with an eCommerce website is a dream for many... Read More
One of the most important parts of establishing a new... Read More
The first thing my business consultant (read brother-in-law) asked me,... Read More
In the late 1990's three San Francisco based web developers... Read More
An additional benefit of website accessibility is an improved performance... Read More
Webmaster tools are vital to becoming both efficient and effective... Read More
Like any area of business your website needs some effort... Read More
If you are like me you have wanted to build... Read More
When you publish a content site there are times when... Read More
What do you mean, you don't have a website for... Read More
Internet Marketing is not a miracle marketing strategy ? competition... Read More
1. Address your targeted audience on your business site. Example:... Read More
An Introduction to Server Side IncludesBeginner? That's OK!While much has... Read More
With search engines putting a damper on direct reciprocal links,... Read More
Looks like every client wants a Flash site these days... Read More
After deciding what kind of internet business you want to... Read More
If you're an up and coming graphic/web designer just out... Read More
More and more non-profit organizations are developing websites to help... Read More
The Disability Discrimination Act states that service providers must not... Read More
While studying online for IT investment opportunities, I found that... Read More
After years of working with entrepreneurs who developed their first... Read More
What to do if you are an artist after you... Read More
If you have your own business website and you are... Read More
Q1.Why would I need a web site? A1.- Improve my... Read More
house cleaning near Des Plaines .!"If you build it, they will come"; is an age... Read More
When people think about the Internet, they think about technology.... Read More
Although designing a great web site is an important part... Read More
We all start out the same. Some have budgets, some... Read More
We've all seen those messages on some websites warning not... Read More
I talk with so many people who have small businesses... Read More
What to do if you are an artist after you... Read More
It never ceases to amaze me how many people set-up... Read More
Your website conversion rate should concern you. This simply refers... Read More
One of the best tools you have as a webmaster... Read More
When you consider the billions of individuals and companies on... Read More
How do you decide on the content, products and or... Read More
Keywords in Search Engine Optimizing and Search Engine Marketing are... Read More
Below, I have listed 8 simple steps that you can... Read More
Although there are significant differences among the various types of... Read More
Failure, just like success, is measured differently by each and... Read More
No matter what browser you may want to use, you... Read More
A common dilemma most small and medium businesses face when... Read More
So you have a good idea for a business and... Read More
RIVERSIDE, CA August 4, 2004 ?- "Historically, small business owners... Read More
After having decided to start a business, the next thing... Read More
When most people build a web site, they think one... Read More
A system development process can follow a number of standard... Read More
If you're looking for better web site ROI, chances are,... Read More
Psychology is a long word which everyone thinks, "no, that's... Read More
Web Development |