2010-06-18 3 views

Répondre

4
Insert Into dbo.MyTable (Col1, Col2,...) 
Select Col1, Col2, ... 
From dbo.MyView 
2
insert into mytable(c1, c2, c3, ...) 
select c1, c2, c3, ... from myview 
4

si vous souhaitez insérer toute la colonne, vous pouvez faire comme

insert into table_name 
    select * from view_name 
+0

Pour ce faire, si la table a le même format que la vue –

Questions connexes