- Product Manual
- Introduction
- SMS technology
- Installation Guide
- User Guide
- Quick Start Guide
- User Interface
- Configuration
- Inbound Routing
- Outbound routing
- SQL logging
- MySQL table layout
- Oracle table layout
- MSSQL table layout
- SQL templates
- SQL log tracking
- Keywords
- Failed queries
- Advanced traffic queries
- SMS routing table override
- Sender address
- Content manipulation
- Charset handling
- List Management
- SMS Client software
- Administrator's guide
- Developers Guide
- Examples and Solutions
- Appendix
- SMS FAQ
- Feature list
- Commercial Information
- Search
Ozeki NG SMS Gateway
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(255), receiver varchar(255), 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(255), receiver varchar(255), 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
- SQL logging
- SQL templates
- SQL log tracking
- SMS sender address
- Outlook SMS spy
- Content manipulation
- Source routing
- Charset handling