[英]What is the Sybase analog to Sql Server's BEGIN TRANSACTION … ROLLBACK or COMMIT TRANSACTION?
I have googled and searched the Sybase docs but I do not think I am asking the right questions. 我已经用谷歌搜索了Sybase文档,但是我认为我问的不是正确的问题。
Let me also preface this by saying I am in no way a DB guru. 让我也通过说我绝对不是DB专家来对此作序。
In Sql Server I know I can encompass a block of SQL with 在Sql Server中,我知道我可以用
BEGIN TRANSACTION
...
ROLLBACK TRANSACTION
or 要么
BEGIN TRANSACTION
...
COMMIT TRANSACTION
How do I implement the same functionality in Sybase? 如何在Sybase中实现相同的功能?
Sybase ASE and SQL Server have a shared heritage, so both use Transact SQL (T-SQL) as their flavor of SQL. Sybase ASE和SQL Server具有共享的遗产,因此都使用Transact SQL(T-SQL)作为其SQL风格。 The BEGIN, ROLLBACK and COMMIT commands are the same.
BEGIN,ROLLBACK和COMMIT命令相同。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.