-- add primary key to a table
ALTER TABLE Karar ADD CONSTRAINT
PK_Karar PRIMARY KEY NONCLUSTERED
(
KararId
) ON [PRIMARY]
GO
-- change data type of a column
alter table Products
alter column ProductName varchar(250)
basic t-sql commands
Gönderen
pantepember
14 Temmuz 2010 Çarşamba
Etiketler: t-sql