Ozeki NG SMS Gateway logo OZEKI NG SMS Gateway
"The World's most reliable SMS gateway software!"

OZEKI NG SMS Gateway - Product Guide

Oracle table layout Contents | SearchSQL templates

Home > Product Manual > User Guide > Configuration > SQL logging > MSSQL table layout

 


Contact Us!
If you wish to get further information, do not hesitate to contact us!

E-mail: info@ozekisms.com

If you have a technical question, please submit a support request on-line.

MSSQL table layout

This page gives you the database connection information and the database layout if you want to setup SQL reporting in a MySQL database server. SQL reporting makes it possible to keep track of all incoming and outgoing messages in the system regardless of who sent it.

Microsoft SQL Server connection string

Provider=SQLNCLI;Server=YourServer;Database=YourDatabase;MultipleActiveResultSets=True;UID=YourUsername;PWD=YourPassword;

In your database server you must have two database tables created: inbox and outbox for storing the traffic information. The table layout for the inbox and outbox database tables are:

Microsoft SQL Server create table layout

CREATE TABLE  outbox (
id int IDENTITY(1,1),
username varchar(30),
msgtype varchar(160),
msgid varchar(60),
callbackid varchar(255),
sender varchar(30),
receiver varchar(30),
msgsubject varchar(1024),
msgdata varchar(1024),
acceptedfordeliverytime datetime,
deliveredtonetworktime datetime,
deliveredtohandsettime datetime,
operator varchar(30),
route varchar(30),
status varchar(130),
errormessage varchar(1024),
cost varchar(10)
);


CREATE TABLE  inbox (
id int IDENTITY(1,1),
username varchar(30),
msgtype varchar(160),
msgid varchar(60),
sender varchar(30),
receiver varchar(30),
msgsubject varchar(1024),
msgdata varchar(1024),
senttime datetime,
receivedtime datetime,
operator varchar(30)
);

The SMS gateway will use the SQL Commands configured on the server preferences form to update these tables.

More information





Next page: SQL templates
Copyright © 2000- - Ozeki Ltd | info@ozeki.hu
Home > Product Manual > User Guide > Configuration > SQL logging > MSSQL table layout
Legal | Privacy | Terms of use | 2893
3.237.66.86 | 87.229.102.173 | Login