向数据库里插入多行数据怎么写
解决方案 »
- MAPX5的问题,每次使用MAPX的geoset manager时总出错,大家看看
- 请问哪里有delphi7.0 相关的 install shield 下载呢?
- 很简单的问题,只要能解决,马上结贴
- 程序占用内存太多!
- Delphi如何实现连接outlook发邮件,近来看看把!
- 1000分的完美终结!!
- 各位,请问我如何用程序来控制其它程序对我的硬件进行改动?
- 打印布局设置(横向和纵向)
- 有没有哪位朋友用过绘制三维图形的CAD控件??对我很重要呀
- 如何将Tdatetime转换为Integer类型?
- 由程序向cd-rw添加文件时遇到的问题
- 开发一个基于ActiveForm控件,然后放一个Timage组件。请问怎样增加自定义函数、过程。以及怎样使用Timage的函数和过程呢?
declare @bb int
set @bb=1
while @bb<100
begin
insert into table1 values(@bb,....)
set @bb=@bb+1
end
或者
insert into yourtable (1,2,3,4)
(select 5 as 1,6 as 2,7 as 3,8 as 4 from yourothertable)
或者
insert into yourtable (1,2,3,4)
(select 5 as 1,6 as 2,7 as 3,8 as 4 from yourothertable
unoin
select 5 as 1,6 as 2,7 as 3,8 as 4 from yourothertable
unoin
select 5 as 1,6 as 2,7 as 3,8 as 4 from yourothertable
.......
)
看一看这些符合你的要求吗?)