RE: Data Modeling:Lookup table and Main table:establishing relationshi

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs26 It's true that Visio doesn't have a mechanism to set up such a structure, as far as I know. But I'm trying to understand how you set it up in SQL (for instance). What DDL code would you use to define the relationship as you envision it? You have to basically ask SQL to parse a single column into three columns ... which would require code of some sort. A trigger is not a relationship.
\par
\par Barb Way
\par Product Support - Visio
\par Microsoft Corporation
\par [This posting is provided "As Is" with no warranties, and confers no rights.]
\par \pard\li720 --------------------
\par
\par I am working on creating data model from existing database using MS
\par Visio 2007 Profesional Edition.
\par Existing database is w/o PK-FKs & I am working to create relational DB
\par which enforces RI.
\par I have a lookup table which contains language codes,used by main
\par table. The problem ,I am running into, is that these
\par languagecodes(from lookup table) are used by 3 columns in main table.
\par So, I am wondering how can I enforce PK-FK relationship here.
\par As in...
\par language_code from lookup table is PK and it has to associated w/
\par column(s) existing in main table.
\par Something like following:
\par Lookup Table Main table
\par Column#1 Column A
\par column#2 Column B
\par Column C
\par Column D
\par I want to link Column#2 to Column A, Column B and Column C.
\par
\par FYI:
\par I think VISIO doesn't allow relating a single column (Of lookup table)
\par to 3 different columns(of main table). It associates with Either ColA
\par or ColB or ColC.. not with all of them
\par
\par Please advise
\par
\par Thanks
\par \pard
\par
\par }

Relevant Pages

  • RE: PK-FK relationship: lookup & main table
    ... \par Visio 2007 Profesional Edition. ... The problem,I am running into, is that these language ... \par codes(from lookup table) are used by 3 columns in main table. ... I am wondering how can I enforce PK-FK relationship here. ...
    (microsoft.public.visio.general)
  • Data Modeling:Lookup table and Main table:establishing relationshi
    ... Visio 2007 Profesional Edition. ... Existing database is w/o PK-FKs & I am working to create relational DB ... languagecodes(from lookup table) are used by 3 columns in main table. ...
    (microsoft.public.visio)
  • Data Modeling : Creating relationship between Tables. Plz Help ..thanks
    ... Visio 2007 Profesional Edition. ... Existing database is w/o PK-FKs & I am working to create relational DB ... languagecodes(from lookup table) are used by 3 columns in main table. ...
    (microsoft.public.visio.developer)
  • Acces dbase: automatic asking for the row? (and more)
    ... I made a relation between visio and my acces dbase. ... lookup the values in the database and that the user can select the values ... when we use this acces-coupling do we need to distribute this acces-db with ...
    (microsoft.public.visio.developer.vba)
  • Re: LDAP Performance (long)
    ... Cache the slapd's internal database lookups in slapd memory. ... The first is the new TAG:key lookup, ...
    (comp.mail.sendmail)