SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Autoreply SMS from database
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

LeslieJohn
Starting Member

1 Posts

Posted - 01/15/2013 :  08:14:54  Show Profile  Reply with Quote
I am trying to create an application which will send a reply back once a customer (registered user) sends a a question to the system. The application will select the correct answers (based on keywords) from a database and send it back in SMS to the customer’s mobile phone. For example I will use Microsoft SQL Express as the database server. I found a software, OzekiSMS Gateway that can handle SMS receiving and sending. The database connection is the question. How should I organize the data in the database? Is this the best way as they recommend? (http://www.ozekisms.com/index.php?owpn=392&info=users-and-applications/autoreplydatabase-user)

For example:
> select * from autoreplymessage;
id keyword msg
---------- ------------------------------ -------------------------------------
1 default There is no data for this keyword.
2 red Red is a good color.
3 blue Blue is not the best option.

Please share with me your suggestions.
Bye,

Leslie

Robowski
Posting Yak Master

101 Posts

Posted - 01/15/2013 :  12:55:31  Show Profile  Reply with Quote
quote:
Originally posted by LeslieJohn

I am trying to create an application which will send a reply back once a customer (registered user) sends a a question to the system. The application will select the correct answers (based on keywords) from a database and send it back in SMS to the customer’s mobile phone. For example I will use Microsoft SQL Express as the database server. I found a software, OzekiSMS Gateway that can handle SMS receiving and sending. The database connection is the question. How should I organize the data in the database? Is this the best way as they recommend? (http://www.ozekisms.com/index.php?owpn=392&info=users-and-applications/autoreplydatabase-user)

For example:
> select * from autoreplymessage;
id keyword msg
---------- ------------------------------ -------------------------------------
1 default There is no data for this keyword.
2 red Red is a good color.
3 blue Blue is not the best option.

Please share with me your suggestions.
Bye,

Leslie




The example they give looks solid enough, I don't see a reason why it needs to be complicated, a numeric ID for the PK, the keyword and then the response.

I have used something that does SMS (Taskcentre) and simple is better for these type of things.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000