Reply to Re: Select command with multiple tables

Your name:

Reply:


Posted by Shwetabh on 09/29/11 11:40

Erland Sommarskog wrote:
> Shwetabh (shwetabhgoel@gmail.com) writes:
> > I am supposed to convert DBASE IV data to MS SQL server 2000 database.
> > Now, there are about 40 DBASE tables each of which contains fields
> > ranging from 3 to 30. Most of the fields hold either NULL values or
> > redundant data. In all these tables and fields, there is only one common
> > field "Partnum".
> > Now earlier, this DBASE database was used by a labelling software
> > "Easylabel". It used to retrieve the neccessary data using the field
> > "Partnum". This software will connect to SQL server and retrieve the
> > data when conversion process is complete.
> >
> > Now my dillema is that should I just create a database containing all
> > the fields in a single table or should I try to create relationships
> > among different data objects. If I put them in a single table, will the
> > system take a performance hit when accessing data? If I create
> > relationships, how can I retrieve the data from tables where information
> > about new fields added by users without using select *..?
>
> So you are saying that the application will largely be unchanged, only
> the database will change? That puts quite some restriction on the work.
> It would of course be nicer to work with a clean sheet and do it right.
>
> Since I don't know the application, it is difficult to say "do this"
> or "do that". But I think that you design a solution with maintainability
> and extensibilty foremost in mind. I don't think one single table is
> the answer to that aim. But, again, I don't know the business domain.
>
> As for performance, what data volumes are we talking about?
>
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>
> Books Online for SQL Server 2005 at
> http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
> Books Online for SQL Server 2000 at
> http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

I am working on a software to manage the labelling database. The DBASE
IV database tables are to be converted to MS SQL server database. Each
table consists of around 45 to 60 records.There is only one field which
is common in all tables and is unique. I will be using that field as
the primary key. Would I be wrong if I create a database in SQL and add
all DBASE IV tables according to the names of the files they are stored
in?
I can send you the sample database if needed.

As for extensibility, since the database will be stored in seperate
tables in SQL server database, I think there should be no problem. Am I
correct in my assumption?
Awaiting your replies,
Thanks

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация