offset,string
str)
,意思就从offset开始插入某个字符串。
举例:
stringbuffer
a
=
new
stringbuffer("aaaa")
a.insert(2,
"bb")
执行结果:aabbaa。
看样子是数据库容量到达你设置的数值了不知道你是用什么方式建立的数据库
用sql语句的话
filegrowth=i%,
create
database
db1
on
primary
(
name='db1',
filename='c:\program\db1.mdf',
size=3072kb,
filegrowth=10%
)
log
on
(
name='db1_log',
filename='c:\program\db1_log.ldf',
size=1024kb,
filegrowth=10%
)
在新建查询里运行以上代码
这句就是让数据库容量饱和时自动增长的
我没用你用的数据库
-
-
这只是mssql中的
把你的代码贴出来,也好对症下药不是,如果你的sql是String sql=“insert Into table (......) value (......)insert Into table (......) value (......)”这样的话,肯定是不行的,你可以做一个循环遍历去添加!