|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<!-- EN-Revision: 66fffcdfbb9d97a1618b9e47f9be19a83f80e32b Maintainer: fernandowobeto Status: ready --><!-- CREDITS: fernandowobeto --> |
3 | | -<refentry xml:id="function.sqlsrv-begin-transaction" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> |
| 2 | +<!-- EN-Revision: 2471b0dc9ba5f9aff8b1b73060515dd9ce41b634 Maintainer: fernandowobeto Status: ready --> |
| 3 | +<!-- CREDITS: fernandowobeto --> |
| 4 | +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.sqlsrv-begin-transaction"> |
4 | 5 | <refnamediv> |
5 | 6 | <refname>sqlsrv_begin_transaction</refname> |
6 | 7 | <refpurpose>Inicia uma transação de banco de dados</refpurpose> |
|
24 | 25 | </refsect1> |
25 | 26 | <refsect1 role="parameters"> |
26 | 27 | &reftitle.parameters; |
27 | | - <para> |
28 | | - <variablelist> |
29 | | - <varlistentry> |
30 | | - <term><parameter>conn</parameter></term> |
31 | | - <listitem> |
32 | | - <para> |
33 | | - O recurso de conexão retornado por uma chamada para <function>sqlsrv_connect</function>. |
34 | | - </para> |
35 | | - </listitem> |
36 | | - </varlistentry> |
37 | | - </variablelist> |
38 | | - </para> |
| 28 | + <variablelist> |
| 29 | + <varlistentry> |
| 30 | + <term><parameter>conn</parameter></term> |
| 31 | + <listitem> |
| 32 | + <para> |
| 33 | + O recurso de conexão retornado por uma chamada para <function>sqlsrv_connect</function>. |
| 34 | + </para> |
| 35 | + </listitem> |
| 36 | + </varlistentry> |
| 37 | + </variablelist> |
39 | 38 | </refsect1> |
40 | 39 |
|
41 | 40 | <refsect1 role="returnvalues"> |
|
47 | 46 |
|
48 | 47 | <refsect1 role="examples"> |
49 | 48 | &reftitle.examples; |
50 | | - <para> |
51 | | - <example> |
52 | | - <title>Exemplo de <function>sqlsrv_begin_transaction</function></title> |
53 | | - <para> |
54 | | - O seguinte exemplo demonstra como usar |
55 | | - <function>sqlsrv_begin_transaction</function> junto com |
56 | | - <function>sqlsrv_commit</function> e <function>sqlsrv_rollback</function>. |
57 | | - </para> |
58 | | - <programlisting role="php"> |
| 49 | + <example> |
| 50 | + <title>Exemplo de <function>sqlsrv_begin_transaction</function></title> |
| 51 | + <para> |
| 52 | + O seguinte exemplo demonstra como usar |
| 53 | + <function>sqlsrv_begin_transaction</function> junto com |
| 54 | + <function>sqlsrv_commit</function> e <function>sqlsrv_rollback</function>. |
| 55 | + </para> |
| 56 | + <programlisting role="php"> |
59 | 57 | <![CDATA[ |
60 | 58 | <?php |
61 | 59 | $serverName = "serverName\sqlexpress"; |
@@ -97,23 +95,19 @@ if( $stmt1 && $stmt2 ) { |
97 | 95 | } |
98 | 96 | ?> |
99 | 97 | ]]> |
100 | | - </programlisting> |
101 | | - &example.outputs.similar; |
102 | | - </example> |
103 | | - </para> |
| 98 | + </programlisting> |
| 99 | + &example.outputs.similar; |
| 100 | + </example> |
104 | 101 | </refsect1> |
105 | 102 |
|
106 | 103 | <refsect1 role="seealso"> |
107 | 104 | &reftitle.seealso; |
108 | | - <para> |
109 | | - <simplelist> |
110 | | - <member><function>sqlsrv_commit</function></member> |
111 | | - <member><function>sqlsrv_rollback</function></member> |
112 | | - </simplelist> |
113 | | - </para> |
| 105 | + <simplelist> |
| 106 | + <member><function>sqlsrv_commit</function></member> |
| 107 | + <member><function>sqlsrv_rollback</function></member> |
| 108 | + </simplelist> |
114 | 109 | </refsect1> |
115 | 110 | </refentry> |
116 | | - |
117 | 111 | <!-- Keep this comment at the end of the file |
118 | 112 | Local variables: |
119 | 113 | mode: sgml |
|
0 commit comments