Sql 创建 Table 代码失败

Sql Create Table Code Failing

对于我的生活,我不知道为什么下面的代码会失败。任何投入将不胜感激。非常感谢。

Create table #t_dem_pflow               
(unit varchar(10),              
source varchar(7))              

insert into #t_dem_pflow                
(unit, source)              
values  


insert into #t_dem_pflow                
(unit, source)              
values  


/*      

insert into #t_dem_pflow                
(unit, source)              
values          
*/          

Create table #t_dem_decsvc          
(unit varchar(10),          
source varchar(7))          


insert into #t_dem_decsvc           
(unit, source)          
values          


Create table #t_dem_InUnsched           
(unit varchar(10),
source varchar(7))


insert into #t_dem_InUnsched
(unit, source)
values

错误信息:

Msg 156, Level 15, State 1, Line 10 Incorrect syntax near the keyword 'insert'.

Msg 156, Level 15, State 1, Line 22 Incorrect syntax near the keyword 'Create'.

Msg 156, Level 15, State 1, Line 32 Incorrect syntax near the keyword 'Create'.

Msg 102, Level 15, State 1, Line 38 Incorrect syntax near 'values'.

您的插入语句不完整..

您当前的语法:

insert into #t_dem_InUnsched (unit, source) values

应该是什么:

insert into #t_dem_InUnsched (unit, source) values ('UNIT NAME', '/SOURCE')