473,480 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Database normalization

Hi,
I am using MS-SQL server to store my database.
My problem is that I have around 150+ database files in DBF format.
Each database file consists of fields ranging from 2 to 33 in number.
Also, there are some fields which have just one entry and rest are
NULL.
This database will be accessed by a printing software.
Please advice as to how I should proceed to normalize this database.

Regards,
Shwetabh

Jan 31 '06 #1
2 4923
Shwetabh wrote:
Hi,
I am using MS-SQL server to store my database.
My problem is that I have around 150+ database files in DBF format.
Each database file consists of fields ranging from 2 to 33 in number.
Also, there are some fields which have just one entry and rest are
NULL.
This database will be accessed by a printing software.
Please advice as to how I should proceed to normalize this database.

Regards,
Shwetabh


Assuming "DBF format" means xBase/FoxPro format data not in SQL Server
then I think you are asking about two different tasks.

1. Designing a data model for SQL
2. Importing the legacy data into the new model.

1. Design should proceed from business requirements to conceptual
modelling to logical modelling to physical modelling. As far as
possible that design process shouldn't be constrained by any legacy
data file format. From what you've said and based on my own experience
in the xBase/FoxPro world the existing data model won't give you many
clues about how best to implement it in SQL. On the other hand,
analysis of the data itself should be a useful way to discover
dependencies and constraints and for testing that the real data
conforms to the expected business rules. To that end you may wish
temporarily to load the data into SQL Server in a form that mirrors the
existing table structures...

2. Getting the data into SQL is the "easy" part. SQL Server DTS (in
SQL2000) or Integration Services (2005) support the DBF file format as
a data source and will help you map the old data to the new structure.
Expect to do some manipulation in Transact SQL also.

--
David Portas, SQL Server MVP

Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.

SQL Server Books Online:
http://msdn2.microsoft.com/library/m...S,SQL.90).aspx
--

Jan 31 '06 #2
The "right" way is to redesign the "system."

You will have to recreate each of those dbf files as a table in order
to import the data into SQL Server. Once the data is imported, then
redistribute to your new and improved system.

This sounds like a very big project to learn how to do all of this.
Consider hiring someone to help you.

Jan 31 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2304
by: SuryaPrakash Patel via SQLMonster.com | last post by:
Dear All, How to reach to the highest level of normalization for database designing? Guide Lines Needed. What will be the characteristics of a database of a completely normalized databae? ...
7
1683
by: Adrian | last post by:
Normalization Question - Please bear with me, hopefully things will be clear at the end of the question. Given a treaty table containg treaties; Treaty1, Treaty2 etc and a benefit table;...
14
1758
by: Mickey | last post by:
I have a database in which I have 2 tables. One table is Employees, other is Events. I have only one field in Employees and it is EmployeeName (text 50 chars). Events has fields AutoNumber,...
5
2215
by: deko | last post by:
I've heard it's best to have a meaningless primary key (such as an autonumber field) as opposed to a pk that contains volatile data. This sounds reasonable enough. In fact, I think I'd need a...
29
3531
by: MP | last post by:
Greets, context: vb6/ado/.mdb/jet 4.0 (no access)/sql beginning learner, first database, planning stages (I think the underlying question here is whether to normalize or not to normalize this...
8
6614
by: Richard Hollenbeck | last post by:
I have a recipe database that I've been building but I haven't yet put any of the ingredients in because of a little problem of normalization. If I build a table of ingredients, all the recipes...
6
2878
by: No Spam Man | last post by:
Hi, I am not a programmer and in the past have only created very simple, flat file databases. Although I'm a newbie, I think I could probably figure out basic Boolean logic and financial...
1
2951
pbmods
by: pbmods | last post by:
Heya. I'm adding features to a pre-existing project, and I was curious about the way I've been going about designing my database additions. My methodology is to keep my stuff separate from the...
1
2009
by: weird0 | last post by:
I know that is not the appropriate group for asking this question, but I do not know of any better forum. Can anyone plz explain clearly what normalization is? The first three normal forms upto...
4
4341
by: Shravani | last post by:
I've been assigned a task to carry out the following exercise using C code: Functional Dependencies & Normalization: a. Specifying & testing Functional Dependencies on a relation...
0
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7048
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6741
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5342
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4783
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
2997
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2986
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
183
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.