Wednesday 1 May 2013

SQL Server Tutorial-1 Introduction

SQL Introduction
SQL is a standard language for accessing and manipulating databases.

What is SQL?
SQL stands for Structured Query Language
SQL lets you access and manipulate databases
SQL is an ANSI (American National Standards Institute) standard.

What Can SQL do?
SQL can execute queries against a database
SQL can retrieve data from a database
SQL can insert records in a database
SQL can update records in a database
SQL can delete records from a database
SQL can create new databases
SQL can create new tables in a database
SQL can create stored procedures in a database
SQL can create views in a database
SQL can set permissions on tables, procedures, and views

Semicolon after SQL Statements?
Some database systems require a semicolon at the end of each SQL statement.

Semicolon is the standard way to separate each SQL statement in
database systems that allow more than one SQL statement to be executed
in the same call to the server.

We are using MS Access and SQL Server 2000 and
we do not have to put a semicolon after each SQL statement,
but some database programs force you to use it.

Character or Strings
The characters or strings must enclosed only in single Quatation.
ex:'siva','kumar','Imrankhan','Ranbhirkapoor'

Not case sensitive
SQL is not case sensitive. SELECT is the same as select.

0 comments:

Post a Comment