Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Design issue
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 09/02/2013 :  10:07:49  Show Profile  Reply with Quote
Hi all,
I have been give a database but I unfortunately cannot modify the existing structure of the tables ( order from above ). we have to capture additional information that relates to an existing table. The system already has structures that look like entity attribute value tables. Reading various posts these are said to be not ideal. Therefore I was wondering if there is an alternative to them

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 09/02/2013 :  11:02:00  Show Profile  Reply with Quote
depends on whether the additional information can be generalized into consistent groups. if yes, you could add a attribute table having various columns. If they cant be generalised you need an extended table with EAV type values.

SQL Server MVP
Go to Top of Page

Aged Yak Warrior

940 Posts

Posted - 09/03/2013 :  23:36:57  Show Profile  Reply with Quote
Can you add new tables? If so then just create a new table with the additional columns and a PK that links it back to the one it relates to. (I think this is what Visakh said).

Another option is to have an XML structure instead of EAV. That allows a certain amount of flexibility and query options. Personally I prefer it to EAV if I really, truly cannot put the correct columns in the correct tables.

Dumb rule though - your business changes but your systems cannot?!? How's that going to end?
Go to Top of Page
  Previous Topic Topic Next 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.05 seconds. Powered By: Snitz Forums 2000