1 |
|
%%%---------------------------------------------------------------------- |
2 |
|
%%% File : rdbms_queries_mssql.erl |
3 |
|
%%% Purpose : MSSQL specific queries |
4 |
|
%%% Created : 17 Sep 2014 |
5 |
|
%%% |
6 |
|
%%% ejabberd, Copyright (C) 2014 Erlang Solutions Ltd. |
7 |
|
%%% |
8 |
|
%%% This program is free software; you can redistribute it and/or |
9 |
|
%%% modify it under the terms of the GNU General Public License as |
10 |
|
%%% published by the Free Software Foundation; either version 2 of the |
11 |
|
%%% License, or (at your option) any later version. |
12 |
|
%%% |
13 |
|
%%% This program is distributed in the hope that it will be useful, |
14 |
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 |
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16 |
|
%%% General Public License for more details. |
17 |
|
%%% |
18 |
|
%%% You should have received a copy of the GNU General Public License |
19 |
|
%%% along with this program; if not, write to the Free Software |
20 |
|
%%% Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
21 |
|
%%% |
22 |
|
%%%---------------------------------------------------------------------- |
23 |
|
-module(rdbms_queries_mssql). |
24 |
|
-author("michal.piotrowski"). |
25 |
|
|
26 |
|
-include("mongoose.hrl"). |
27 |
|
|
28 |
|
%% API |
29 |
|
-export([begin_trans/0]). |
30 |
|
|
31 |
|
|
32 |
|
begin_trans() -> |
33 |
19128 |
[<<"BEGIN TRANSACTION;">>]. |