insert into 表2(a1,b1)
select A,B from 表1
select A,B from 表1
解决方案 »
- 比较时间
- 数据库表向C++实体类转换问题
- 急!!!请问哪儿能下到sql server 6.5?
- sql2000检查语法正确,但在查询分析器打开出错,请指教!
- 请问decimal型的字段小位位数对字段有效值范围有影响吗?
- sys.databases.log_reuse_wait的值是6,简单恢复模式没有订阅发布日志文件慢常增大
- 数据库文件大小迅速增长,怎么解决?
- 大家帮忙,我用sqlserver时的一个疑难问题
- 如何动态确定要建立的表的表名?
- 利用输入法分词
- 如何将“2003 十二月 23 15:09AM ”的SQL6.5的日期格式改为"2003-12-23 15:09:09.250"?
- 关于isnull函数
select 目的字段.... from 源表 where 条件
gocreate table table1 ( id int primary key ,sname char(10),gongzi char(10))
insert table1 select 'snnsn','sd'
union all select 'sdf','sdfs'
create table table2 ( id int primary key , scae char(10),niao char (10))
insert table2 select 'sds','sdssds'
union all select 'sadfdfd','sdfdsgfdg'insert into table1 ( sname,gongzi)
select scae,niao from table2
select ?,? from table1