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
 Database Design and Application Architecture
 how tocreate this database
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mkkb917
Starting Member

Pakistan
14 Posts

Posted - 10/05/2013 :  08:51:36  Show Profile  Reply with Quote
sir
i am newbie and designing a database in SQL Server Express edition.here i am facing a problem as follow
scenario:- there are Entity ACCOUNT that will have some Attributes like registration date, name, address, and the IP address
and there is another Entity ZONE that will have the attributes called ZoneName, FirstIP, LastIP. ZONE will be created by user like ZoneName="Block B", First IP= "192.111.0.1", Last IP= "192.111.255.255"

now Problem is
each Account is assigned a unique IP address from the drop down list of a Zone
and when the account is being created on new registration form , the remaining IPs of the Zone will appear in the combo box list and user can select it easily
i am facing the difficulties of creating such a database tables and relations
plz help me how to do this.
thanks

mkkb917
Starting Member

Pakistan
14 Posts

Posted - 10/05/2013 :  08:52:47  Show Profile  Reply with Quote
In ZONE table ZONENAME is PK and In ACCOUNT Table USERNAME is PK
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 10/07/2013 :  06:11:12  Show Profile  Reply with Quote
So you want entire IP addresses in range to be displayed in combo against each user?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
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.06 seconds. Powered By: Snitz Forums 2000