Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8471365
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T16:46:36+00:00 2026-06-10T16:46:36+00:00

First of all, I will explain the situation. Please read it carefully. I am

  • 0

First of all, I will explain the situation. Please read it carefully.

I am creating an java phonebook software. I created a database with fields Name, address, mobile1, mobile2, landPh1, landPh2, etc. After 90% completed, I decided to expand it functionalties. As a result of that, I started working with VCards, now that program can read VCards and add them to the DB. Then I decided to write VCards using the data stored in the database. Here, problem occurs!!

VCards don’t have field called “Name”, as I have in my software. Instead of that, they have “First Name”, “Last Name” and “Middle Name”. VCards don’t have “Address” as I have in my software too. They have “country”, “city” and “street address”. Now, how can I get these SEPARATE details???? I can get only the name, not the first, last etc. I can get only the address, not the country, city, etc. Now what can I do?????? Below are my suggestions

  1. get the complete name. Set it to VCards “first name” field. You will have the complete name there. For address, add the complete address to VCard’s “Street Address” field.

  2. Edit the database, alter it and add the missing fields. But then, the DB will look like this

firstName, Address, mobile1, mobile2, landPh1, landPh2, middleName, lastName, country, city

pretty messy, isn’t it?

I am unable to drop the table because lot of stuff has been created based on current format!! Changing it will take lot of time!!

I don’t know whether above suggestions are OK with good software engineering concepts. If you have a better way, I am glad to hear that too. Please help!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T16:46:38+00:00Added an answer on June 10, 2026 at 4:46 pm

    You made a number of mistakes in your original database design. You should correct those mistakes at the earliest possible time as the longer you maintain the system with the design flaws the more difficult it will be to correct them later.

    In short you need to:

    1. Ensure that each column contains one and only one piece of information. That means separate columns for the parts of the name, separate columns for the parts of the address, etc.

    2. You need to ensure that you are not storing multiple instances of the same item in a single record. That means creating a separate table for the phone numbers. Most likely this table will have three columns, an ID to point back to the contact person, a column for the phone number, and a description.

    You will never be able to accurately “decode” 100% of the possible addresses and names.

    You can read more about the rules for good database design by googling database normalization.

    Don’t worry about the order of the columns in a table, or the records in the table. SQL does not contain a concept of default ordering, instead you order the columns and records as you want on retrieval.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First of all, I should explain what I'm trying to do first. I'm creating
First of all i will explain the context. I have a view with 2
Hi first of all apologies if this is poorly worded, will try to explain
First of all, my question may be unclear. I will try to explain it.
Before delving into the issue, first I will explain the situation. I have two
First of all, I don't want to use a join because that will make
I have 2 rows, the first has all the text and the second will
Problem on WindowsXP (likely will happen on all Win installs), first time using Mercurial.
First of all, I'm quite new to the Android and JAVA world (coming from
First of all to explain what I'm trying to do: void Foo(int &num, bool

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.