Create a table in a particular mode of

1. Create a table under the dbo mode

Created directly on ok, as

Create  Table Tab2 
(Sno Char ( 9 ) Primary  Key , 
Sname Char ( 20 ) Unique , 
Ssex Char ( 2 ), 
Sage four ( 2 ), 
Sdept Char ( 20 ));

2. Create a table in a mode other than dbo

With schema before the table, such as

Create  Table Testktb2 
(Sno Char ( 9 ) Primary  Key , 
Sname Char ( 20 ) Unique , 
Ssex Char ( 2 ), 
Sage four ( 2 ), 
Sdept Char ( 20 ));

 

Guess you like

Origin www.cnblogs.com/Neavotre/p/11457214.html