Home SQL Create Table
E-mail Print PDF

CREATE TABLE

1
2
3
4
5
6
CREATE TABLE table_name (
column_name1 data_type,
column_name2 data_type,
,
....
)

data_type Data Types.

For this we use this query:

1
2
3
4
5
6
7
CREATE TABLE Persons (
P_Id int,
LastName varchar(255),
FirstName varchar(255),
Address varchar(255),
City varchar(255)
)

P_Id LastName FirstName Address City

INSERT INTO.

Comments

 
+1 #1 Шелест Константин 2010-11-03 09:33 CREATE TABLE Persons
(
P_Id int identity,
LastName varchar(255),
FirstName varchar(255),
Address varchar(255),
City varchar(255)
)

IDENTITY - a unique identification first number, what type of key))
Quote
 
 
0 #2 Nikk 2012-01-21 14:38 Quote
 

Authorization

Nice Ajax Poll

Which one of my extensions is the best?

Statistics

Translate

русскийitalianoDeutschEnglishLATVIANукраїнськаfrançaispolski
1

Advertisement