E-Commerce & Web Designer Directory

  Web Site Design, Ecommerce Services, Internet Marketing, Hosts
Free Design, ECommerce Quotes | Site Map | USA Design | Intl Design | Get Leads | Get Listed | Home | Contact |  828-321-9036  
 
Web Site Builder Packages with free hosting

Web Programming: What is SQL?

Summary : SQL is a standard used by web developers and vendors to define, extract and access the information stored in databases. SQL began life as an IBM creation...

 

What is SQL? SQL stands for Structured Query Language, and is the lingua franca in the database world for web developers. SQL is a standard used by web developers and vendors to define, extract and access the information stored in databases.

SQL Standards

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 Commands for Web Developers

SQL is a query language. It is English-like and easy to use, however since there are more than 90 SQL reserved words, most web developers seldom use more than the following handful of commands :

  • SELECT
  • INSERT
  • UPDATE
  • DELETE
  • FROM
  • WHERE
  • HAVING
  • BETWEEN
  • LIKE
  • OR
  • AND
  • NOT
  • IN
  • ORDER
  • GROUP
  • BY

    For example, if you had a database table named "employees" and wanted to retrieve all records of employee with 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 with which all web developers should be familiar are SQL statements that:

    1. Create tables and manipulate their definitions.
    2. Query the table data.
    3. Manipulate the table data.

    SQL Uses

    SQL is predominantly used by 2 types of users - programs and humans (keying in 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 a 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. Database vendors seek to differentiate their database products from the crowd. An example would be 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 web developers, it is not compliant with other databases like Oracle or MySQL - making TRANSACT-SQL programs non database-portable. Although many of these features are powerful and robust, exercise caution and make sure your SQL use is compliant with the ANSI/ISO SQL standards and ODBC-Compliant.

     

    About the author : Courtesty of SQLPrimer.com. For more information, please contact the Webmaster of SQLPrimer.com.

     

  •  
    Ecommerce & Web Design Directory
    E-COMMERCE & WEB DESIGNER DIRECTORY
    Call 828-321-9036 about advertising in the Directory.
    design@1234-find-web-designers.org
      
     
    Free and Pay Directory Listings
    Free & Pay Directory Listings
    Free Web Design Quotes
    Free Web Site Design Quote
     
      
      
      
       
      WEB SITE DESIGN & DEVELOPMENT, WEBSITE TEMPLATES, LOGOS
    Freelance Web Designer India | Small Business Web Design
    Website Templates | Web Templates | Logo, Web & Graphic Designers
    Web Development India | Online Marketing Company

    E-COMMERCE, SHOPPING CARTS & SOFTWARE
     
    INTERNET MARKETING
    SEO India | Search Engine Optimisation | SEO India

    WEBMASTER RESOURCES, SCRIPTS, PRINTING & PHOTOS
    Webmaster Resources | Free Photos

    HOSTS AND DOMAIN REGISTRATION
    Cheap Web Hosting | Web Hosting | Affordable web hosting
    Affordable Web Hosting

    OTHER WEB RESOURCES
    Teaching Golf | Golf Schools