-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathcommit.html
99 lines (89 loc) · 3.53 KB
/
commit.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>9.7. COMMIT — Presto 335 Documentation</title>
<link rel="stylesheet" href="../_static/presto.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '335',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="9.8. CREATE ROLE" href="create-role.html" />
<link rel="prev" title="9.6. COMMENT" href="comment.html" />
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-133457846-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-133457846-1');
</script>
</head>
<body>
<div class="header">
<h1 class="heading"><a href="../index.html">
<span>Presto 335 Documentation</span></a></h1>
<h2 class="heading"><span>9.7. COMMIT</span></h2>
</div>
<div class="topnav">
<p class="nav">
<span class="left">
« <a href="comment.html">9.6. COMMENT</a>
</span>
<span class="right">
<a href="create-role.html">9.8. CREATE ROLE</a> »
</span>
</p>
</div>
<div class="content">
<div class="section" id="commit">
<h1>9.7. COMMIT<a class="headerlink" href="#commit" title="Permalink to this headline">#</a></h1>
<div class="section" id="synopsis">
<h2>Synopsis<a class="headerlink" href="#synopsis" title="Permalink to this headline">#</a></h2>
<div class="highlight-none"><div class="highlight"><pre><span></span>COMMIT [ WORK ]
</pre></div>
</div>
</div>
<div class="section" id="description">
<h2>Description<a class="headerlink" href="#description" title="Permalink to this headline">#</a></h2>
<p>Commit the current transaction.</p>
</div>
<div class="section" id="examples">
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">#</a></h2>
<div class="highlight-sql"><div class="highlight"><pre><span></span><span class="k">COMMIT</span><span class="p">;</span>
<span class="k">COMMIT</span> <span class="k">WORK</span><span class="p">;</span>
</pre></div>
</div>
</div>
<div class="section" id="see-also">
<h2>See Also<a class="headerlink" href="#see-also" title="Permalink to this headline">#</a></h2>
<p><a class="reference internal" href="rollback.html"><span class="doc">ROLLBACK</span></a>, <a class="reference internal" href="start-transaction.html"><span class="doc">START TRANSACTION</span></a></p>
</div>
</div>
</div>
<div class="bottomnav">
<p class="nav">
<span class="left">
« <a href="comment.html">9.6. COMMENT</a>
</span>
<span class="right">
<a href="create-role.html">9.8. CREATE ROLE</a> »
</span>
</p>
</div>
<div class="footer" role="contentinfo">
</div>
</body>
</html>