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

OZEKI NG SMS Gateway - Product Guide

SMS Order System Contents | SearchASP Script

Home > Product Manual > Examples and Solutions > SMS Order System > Database



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.

SMS Order System Database layout

In this guide we create an example database layout for the SMS Order System example application that uses data stored in an SQL datatabase. We use the Microsoft SQL Express database server that can be downloaded from the Microsoft website.

Step 1. - Download and install Microsoft SQL Express.

You can download the Microsoft SQL Express Database Server from the following location:

Download details: Microsoft SQL Server 2005 Express Edition

Step 2 - Create your database tables in Microsoft SQL Express

You can create a database and the appropriate database tables by opening a windows command prompt (Start->Run->cmd.exe), and starting the SQL Command interpreter by typing:

cd C:\
sqlcmd -S .\SQLExpress

Once the SQL command interpreter is running, you should enter the following commands

create database ozeki

use ozeki

 id int IDENTITY (1,1),
 shop varchar(30),
 orderdate varchar(160),
 nescafe varchar(160),
 lipton varchar(160),
 sugar varchar(160)

sp_addLogin 'ozekiuser', 'ozekipass'

sp_addsrvrolemember 'ozekiuser', 'sysadmin'

Figure 1 - SQL Create table script

Step 3 - Make Microsoft SQL Express ready to accept your username and password

Unless you have mixed mode authentication configured in SQL express, you will not be able to connect to your database from Ozeki NG because Ozeki NG runs as a system service in the background. To enable mixed - mode authentication, you should open the registry editor (Start->run->regedit.exe) and in the Registry you should change the LoginMode value from 1 to "2", here:


LoginMode =2

After this change you might have to restart the SQL Express to make sure the changes take effect.

Dig deeper!
People who read this also read...

Next page: ASP Script
Copyright © 2000- - Ozeki Ltd | info@ozeki.hu
Home > Product Manual > Examples and Solutions > SMS Order System > Database
Legal | Privacy | Terms of use | 2408 | | Login