for example ,to create a database :StudentDB and a table stu
--
use master go
create database StudentDB
go
use StudentDB
go
create table stu ( stuid varchar(10) Not Null, stuname varchar(20) Not Null, Constraint PK_stu Primary key (stuid) )
-- to execute these T-sql in the query analysiser -- for more infomation to query the online help
----------------------------------------------
^_^ 你快乐 我快乐 快快乐乐 ^_^