Click here to Skip to main content
15,909,242 members
Home / Discussions / Database
   

Database

 
GeneralRe: Shutdown and restart SQL Server programatically Pin
Xiangyang Liu 刘向阳14-Oct-04 8:05
Xiangyang Liu 刘向阳14-Oct-04 8:05 
GeneralRe: Shutdown and restart SQL Server programatically Pin
Xiangyang Liu 刘向阳14-Oct-04 15:04
Xiangyang Liu 刘向阳14-Oct-04 15:04 
GeneralNeed help do design the table for this requirement Pin
percyvimal2-Oct-04 6:44
percyvimal2-Oct-04 6:44 
GeneralRe: Need help do design the table for this requirement Pin
Colin Angus Mackay2-Oct-04 7:00
Colin Angus Mackay2-Oct-04 7:00 
GeneralRe: Need help do design the table for this requirement Pin
percyvimal2-Oct-04 7:14
percyvimal2-Oct-04 7:14 
GeneralRe: Need help do design the table for this requirement Pin
Colin Angus Mackay2-Oct-04 7:52
Colin Angus Mackay2-Oct-04 7:52 
GeneralRe: Need help do design the table for this requirement Pin
percyvimal2-Oct-04 8:25
percyvimal2-Oct-04 8:25 
GeneralRe: Need help do design the table for this requirement Pin
Colin Angus Mackay2-Oct-04 8:59
Colin Angus Mackay2-Oct-04 8:59 
percyvimal wrote:
I check if expirydate > Currentdate then
1.create a new accountcode and ask the user to pay against that accountcode


So, meanwhile the article goes off line, because it has exprired. I would suggest that you contact the user, say, two weeks in advance of an expiry. And that you have an additional flag in the new account record to say whether it is paid up or not, if not it isn't used in the calculation of the expiry date, if it is paid up the record will reflect that and the expiry date will reflect that.

It really sounds like you need to work on your business model, or converting your business model into a logical model for your system.

If you are not familiar with Use Cases, or don't want to go through the formality of them, can I suggest that you create short stories (about a paragraph each) of what various users of the system will want to do. In each make sure you write in exactly what information is needed and the actions that need to be performed are to achieve the goal. From that you will end up of a list of bits of information, the business rules and the relationships between them.

For instance: A user receives an email telling them their account is going to expire in two weeks time. The user logs on to the system, goes to their account page and renews their subscription.

So, you've got a user, an email address, an account, an expiry date, log-on information, details about a subscription.

A user has an email address.
A user has a username and password (the log-on information)
An account is a synonym for subscription? or not?
And so on.

It is also important to be careful with the terminology. For instance, the relationships between user, account and subscription are (to me):
one user ==> 1..n accounts ==> 1..n subscriptions.

So, if you see in your user stories some ambiguity in the names of things try and straighten it out. The idea of having a different account each month is confusing,
IMO.

Does this help?


Do you want to know more?


Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
QuestionMark DataTable column so changes do not affect RowState? Pin
DrGerry1-Oct-04 12:09
DrGerry1-Oct-04 12:09 
GeneralCheck for syntax Pin
macupryk30-Sep-04 21:16
macupryk30-Sep-04 21:16 
GeneralRe: Check for syntax Pin
Colin Angus Mackay1-Oct-04 1:24
Colin Angus Mackay1-Oct-04 1:24 
GeneralI need to Create a User Login and Registration Webform in Oracle and ODBC Pin
macupryk30-Sep-04 21:15
macupryk30-Sep-04 21:15 
QuestionCan we bind all these three to one connection Pin
macupryk30-Sep-04 21:14
macupryk30-Sep-04 21:14 
GeneralPassing a var to a SP.. Pin
Jacob Hammack30-Sep-04 15:32
Jacob Hammack30-Sep-04 15:32 
GeneralRe: Passing a var to a SP.. Pin
Christian Graus30-Sep-04 16:30
protectorChristian Graus30-Sep-04 16:30 
GeneralRe: Passing a var to a SP.. Pin
Jacob Hammack30-Sep-04 20:22
Jacob Hammack30-Sep-04 20:22 
GeneralRe: Passing a var to a SP.. Pin
Colin Angus Mackay1-Oct-04 0:26
Colin Angus Mackay1-Oct-04 0:26 
GeneralBeginner OLE question Pin
errenden30-Sep-04 10:01
errenden30-Sep-04 10:01 
GeneralRe: Beginner OLE question Pin
ThomasH13-Oct-04 12:58
ThomasH13-Oct-04 12:58 
GeneralRe: Beginner OLE question Pin
errenden4-Oct-04 5:23
errenden4-Oct-04 5:23 
GeneralRe: Beginner OLE question Pin
ThomasH14-Oct-04 13:04
ThomasH14-Oct-04 13:04 
GeneralRe: Beginner OLE question Pin
errenden5-Oct-04 3:59
errenden5-Oct-04 3:59 
GeneralTransaction SQL help (SQL Server 2000) Pin
Matt Newman30-Sep-04 6:31
Matt Newman30-Sep-04 6:31 
GeneralRe: Transaction SQL help (SQL Server 2000) Pin
Colin Angus Mackay30-Sep-04 7:19
Colin Angus Mackay30-Sep-04 7:19 
GeneralRe: Transaction SQL help (SQL Server 2000) Pin
Matt Newman30-Sep-04 7:27
Matt Newman30-Sep-04 7:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.