SQL Server/T-SQL/Table/Create Table — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 16:46, 26 мая 2010
CREATE TABLE statement contains the table name, its column definitions in parentheses. For each column, a name, data type specification, and NULL specification are provided
<source lang="sql">
1> -- CREATE TABLE 2> 3> -- CREATE TABLE statement contains the table name, its column definitions in parentheses. For each column, a name, data type specification, and NULL specification are provided 4> 5> CREATE TABLE MyTable (MyID Int NOT NULL, MyDescription nVarChar(50) NULL) 6> GO 1> 2> drop table MyTable 3> GO 1>
</source>