COMMIT 中文man页面

系统
COMMIT 提交当前事务。 所有事务的更改都将为其他事务可见,而且保证当崩溃发生时的可持续性。

NAME

COMMIT - 提交当前事务

SYNOPSIS

COMMIT [ WORK | TRANSACTION ]

DESCRIPTION 描述

COMMIT 提交当前事务。 所有事务的更改都将为其他事务可见,而且保证当崩溃发生时的可持续性。  

PARAMETERS 参数

WORK
TRANSACTION

 可选关键字。没有作用。

NOTES 注意


 使用 ROLLBACK [rollback(7)] 语句退出一次事务。


 在一个事务内部发出 COMMIT 不会有问题,但是他将产生一个警告信息。  

EXAMPLES 例子


 要让所有变更永久化:

COMMIT;

COMPATIBILITY 兼容性

SQL92 只声明了两种形式 COMMIT 和 COMMIT WORK。否则完全兼容。  

SEE ALSO 参见

BEGIN [begin(7)], ROLLBACK [rollback(l)]

#p#

NAME

COMMIT - commit the current transaction

SYNOPSIS

COMMIT [ WORK | TRANSACTION ]

DESCRIPTION

COMMIT commits the current transaction. All changes made by the transaction become visible to others and are guaranteed to be durable if a crash occurs.  

PARAMETERS

WORK
TRANSACTION
Optional key words. They have no effect.

NOTES

Use ROLLBACK [rollback(7)] to abort a transaction.

Issuing COMMIT when not inside a transaction does no harm, but it will provoke a warning message.  

EXAMPLES

To commit the current transaction and make all changes permanent:

COMMIT;

COMPATIBILITY

The SQL standard only specifies the two forms COMMIT and COMMIT WORK. Otherwise, this command is fully conforming.  

SEE ALSO

BEGIN [begin(7)], ROLLBACK [rollback(l)]

责任编辑:韩亚珊 来源: CMPP.net
相关推荐

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-11 15:03:21

ACCESS中文man

2011-08-16 10:59:16

pwconv中文man

2011-08-18 19:02:43

environ中文man

2011-08-25 17:43:07

snprintf中文man

2011-08-19 18:30:52

ipc中文man

2011-08-24 15:35:52

hier中文man

2011-08-25 17:18:07

putc中文man

2011-08-15 13:53:19

stat中文man

2011-08-16 10:10:58

setup中文man

2011-08-25 15:24:31

execlp中文man

2011-08-15 18:06:07

restore中文man

2011-08-24 17:26:35

reindex中文man

2011-08-25 16:55:26

gets中文man

2011-08-15 15:45:04

xpdf中文man

2011-08-24 17:06:42

NOTIFY中文man

2011-08-25 15:47:06

fopen中文man
点赞
收藏

51CTO技术栈公众号