保存数据?
我通过PB向数据表导入数据,数据是导入了表,但怎么不能保存? (保存按钮是灰色的)<img src="attachments/dvbbs/2005-10/2005101318551999833.jpg" border="0" onclick="zoom(this)" onload="if(this.width>document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" /><BR> <P>表没主键吗?</P><P>说对了,是没建主键。</P>
<P>另: 我安装了pubs2数据库(sybase自带那个),安装完后打开所有表(用户表),里面是空的,没一条记录。</P>
<P>安装后的提示: 帮忙看看有什么问题</P>
<P>Creating the "pubs2" database<BR>Server Message:Number1805, Severity10<BR>Line 9:<BR>CREATE DATABASE: allocating 1024 logical pages (16.0 megabytes) on disk 'master'. <BR>Database option 'trunc log on chkpt' turned ON for database 'pubs2'.<BR>Run the CHECKPOINT command in the database that was changed.<BR>(return status = 0)<BR>Type added.<BR>(1 row affected)<BR>Type added.<BR>(1 row affected)<BR>(return status = 0)<BR>(return status = 0)<BR>New primary key added.<BR>New primary key added.<BR>New primary key added.<BR>New primary key added.<BR>New primary key added.<BR>New primary key added.<BR>New primary key added.<BR>New primary key added.<BR>New primary key added.<BR>New primary key added.<BR>New primary key added.<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>New foreign key added.<BR>New foreign key added.<BR>New foreign key added.<BR>New foreign key added.<BR>New foreign key added.<BR>New foreign key added.<BR>New foreign key added.<BR>New foreign key added.<BR>New foreign key added.<BR>New foreign key added.<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>(return status = 0)<BR>Server Message:Number3935, Severity20<BR>Procedure 'sp_bindefault', Line 254:<BR>Fatal protocol error. xact_beginupdate() API was invoked in the wrong context. The transaction is currently in '13383916' state. <BR>Server Message:Number5702, Severity10<BR>Procedure 'sp_bindefault', Line 254:<BR>The SQL Server is terminating this process. <BR>Client Message:Layer1, Origin1, Severity1, Number167<BR>ct_cmd_drop(): user api layer: external error: This routine cannot be called because the command structure is in an undefined state.<BR></P>
页:
[1]