zglinux 发表于 2005-10-13 18:55:27

保存数据?

我通过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>

ehxz 发表于 2005-10-13 21:19:31

<P>表没主键吗?</P>

knife800 发表于 2005-10-14 08:55:50

<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]
查看完整版本: 保存数据?

免责声明:
本站所发布的一切破解补丁、注册机和注册信息及软件的解密分析文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:Admin@SybaseBbs.com