如何查找更新,插入或不插入的最后一列 [英] how to find last column updated,inserted or not

查看:82
本文介绍了如何查找更新,插入或不插入的最后一列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生



1.当我在数据库中插入数据时如何更新或更新此事务。





2.第二个问题是你的主要密钥(身份密钥)在你的数据库中取得什么程序。请给我一步一个。



请尽快给我答复。



先谢谢你们! div class =h2_lin>解决方案

您好,



1.如果您向数据库引擎发送插入或更新语句并且不要没有收到任何错误,那么你可以相信你的陈述已被执行。



2.要创建或更改主键,请阅读以下链接。 http://www.w3schools.com/sql/sql_primarykey.asp [ ^ ]



祝你好运。

1。交易失败,没有任何更新。

2.如果你真的需要更改主键,只需删除并重新创建。



祝你好运!


Dear Sir

1.When i am inserted data in my database how to find this transaction updated or not.


2.Second one question what the procedure to chance your primary key(identity key )in your database.Please give me steps one by one.

Please give me answer as soon as possible.

Thanks in advanced !!

解决方案

Hi,

1. If you send an insert or update statement to the database engine and don''t receive any error, then you can trust that you statement has been executed.

2. For create or change a primary key, read the following link. http://www.w3schools.com/sql/sql_primarykey.asp[^]

Good luck.


1. transaction would fail, nothing would be updated.
2. If you really would need to change the primary key, just delete and recreate.

Good luck!


这篇关于如何查找更新,插入或不插入的最后一列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆