Skip to main content
Commonmark migration
Source Link

###FIELD_DOMAIN_ENG_VW +-------------+------------+-------------+ | TABLE_NAME | FIELD_NAME | DOMAIN_NAME | +-------------+------------+-------------+ | ENG.TABLE_1 | FIELD_1 | DOMAIN_ABC | | ENG.TABLE_1 | FIELD_2 | DOMAIN_XYZ | | ENG.TABLE_2 | FIELD_1 | DOMAIN_XYZ | +-------------+------------+-------------+

FIELD_DOMAIN_ENG_VW

+-------------+------------+-------------+
| TABLE_NAME  | FIELD_NAME | DOMAIN_NAME |
+-------------+------------+-------------+
| ENG.TABLE_1 | FIELD_1    | DOMAIN_ABC  |
| ENG.TABLE_1 | FIELD_2    | DOMAIN_XYZ  |
| ENG.TABLE_2 | FIELD_1    | DOMAIN_XYZ  |
+-------------+------------+-------------+

###TABLE_1 +--------------+--------------+ | FIELD_1 | FIELD_2 | | {DOMAIN_ABC} | {DOMAIN_XYZ} | +--------------+--------------+ | A | X | | B | Y | | C | zzzz | | BLACK SHEEP | | +--------------+--------------+

TABLE_1

###TABLE_2 +--------------+--------------+ | FIELD_1 | FIELD_2 | | {DOMAIN_XYZ} | | +--------------+--------------+ | Z | ... | | Y | | | X | | | asdf | | +--------------+--------------+

+--------------+--------------+
| FIELD_1      | FIELD_2      |
| {DOMAIN_ABC} | {DOMAIN_XYZ} |
+--------------+--------------+
| A            | X            |
| B            | Y            |
| C            | zzzz         |
| BLACK SHEEP  |              |
+--------------+--------------+

TABLE_2

+--------------+--------------+
| FIELD_1      | FIELD_2      |
| {DOMAIN_XYZ} |              |
+--------------+--------------+
| Z            | ...          |
| Y            |              |
| X            |              |
| asdf         |              |
+--------------+--------------+

###DOMAIN_VALUES_VW +------------+------+-------------+ | DOMAIN | CODE | DESCRIPTION | +------------+------+-------------+ | DOMAIN_ABC | A | EH | | DOMAIN_ABC | B | BEE | | DOMAIN_ABC | C | SEE | +------------+------+-------------+ | DOMAIN_XYZ | X | EX | | DOMAIN_XYZ | Y | WHY | | DOMAIN_XYZ | Z | ZEE | +------------+------+-------------+

DOMAIN_VALUES_VW

+------------+------+-------------+
| DOMAIN     | CODE | DESCRIPTION |
+------------+------+-------------+
| DOMAIN_ABC | A    | EH          |
| DOMAIN_ABC | B    | BEE         |
| DOMAIN_ABC | C    | SEE         |
+------------+------+-------------+
| DOMAIN_XYZ | X    | EX          |
| DOMAIN_XYZ | Y    | WHY         |
| DOMAIN_XYZ | Z    | ZEE         |
+------------+------+-------------+

##Question

Question

###FIELD_DOMAIN_ENG_VW +-------------+------------+-------------+ | TABLE_NAME | FIELD_NAME | DOMAIN_NAME | +-------------+------------+-------------+ | ENG.TABLE_1 | FIELD_1 | DOMAIN_ABC | | ENG.TABLE_1 | FIELD_2 | DOMAIN_XYZ | | ENG.TABLE_2 | FIELD_1 | DOMAIN_XYZ | +-------------+------------+-------------+

###TABLE_1 +--------------+--------------+ | FIELD_1 | FIELD_2 | | {DOMAIN_ABC} | {DOMAIN_XYZ} | +--------------+--------------+ | A | X | | B | Y | | C | zzzz | | BLACK SHEEP | | +--------------+--------------+

###TABLE_2 +--------------+--------------+ | FIELD_1 | FIELD_2 | | {DOMAIN_XYZ} | | +--------------+--------------+ | Z | ... | | Y | | | X | | | asdf | | +--------------+--------------+

###DOMAIN_VALUES_VW +------------+------+-------------+ | DOMAIN | CODE | DESCRIPTION | +------------+------+-------------+ | DOMAIN_ABC | A | EH | | DOMAIN_ABC | B | BEE | | DOMAIN_ABC | C | SEE | +------------+------+-------------+ | DOMAIN_XYZ | X | EX | | DOMAIN_XYZ | Y | WHY | | DOMAIN_XYZ | Z | ZEE | +------------+------+-------------+

##Question

FIELD_DOMAIN_ENG_VW

+-------------+------------+-------------+
| TABLE_NAME  | FIELD_NAME | DOMAIN_NAME |
+-------------+------------+-------------+
| ENG.TABLE_1 | FIELD_1    | DOMAIN_ABC  |
| ENG.TABLE_1 | FIELD_2    | DOMAIN_XYZ  |
| ENG.TABLE_2 | FIELD_1    | DOMAIN_XYZ  |
+-------------+------------+-------------+

TABLE_1

+--------------+--------------+
| FIELD_1      | FIELD_2      |
| {DOMAIN_ABC} | {DOMAIN_XYZ} |
+--------------+--------------+
| A            | X            |
| B            | Y            |
| C            | zzzz         |
| BLACK SHEEP  |              |
+--------------+--------------+

TABLE_2

+--------------+--------------+
| FIELD_1      | FIELD_2      |
| {DOMAIN_XYZ} |              |
+--------------+--------------+
| Z            | ...          |
| Y            |              |
| X            |              |
| asdf         |              |
+--------------+--------------+

DOMAIN_VALUES_VW

+------------+------+-------------+
| DOMAIN     | CODE | DESCRIPTION |
+------------+------+-------------+
| DOMAIN_ABC | A    | EH          |
| DOMAIN_ABC | B    | BEE         |
| DOMAIN_ABC | C    | SEE         |
+------------+------+-------------+
| DOMAIN_XYZ | X    | EX          |
| DOMAIN_XYZ | Y    | WHY         |
| DOMAIN_XYZ | Z    | ZEE         |
+------------+------+-------------+

Question

replaced http://gis.stackexchange.com/ with https://gis.stackexchange.com/
Source Link

The source is an xml column in a single system table; I've extractedextracted all the domains into this view.

The source is an xml column in a single system table; I've extracted all the domains into this view.

The source is an xml column in a single system table; I've extracted all the domains into this view.

added 6 characters in body
Source Link
User1974
  • 1.5k
  • 25
  • 54

The dataunderlying tables look like this:

The data tables look like this:

The underlying tables look like this:

deleted 18 characters in body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
Tweeted twitter.com/StackDBAs/status/821668354943492096
Removed meta content; improved formatting
Source Link
Paul White
  • 90.3k
  • 30
  • 424
  • 663
Loading
deleted 1 character in body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
deleted 1 character in body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
deleted 2597 characters in body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
added 2769 characters in body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
added 2769 characters in body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
added 2769 characters in body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
edited body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
edited body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
deleted 100 characters in body; deleted 1 character in body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
added 9 characters in body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
added 1 character in body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
added 13 characters in body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
added 13 characters in body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
deleted 2658 characters in body; edited title
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
deleted 2658 characters in body; edited title
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
edited body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
deleted 2 characters in body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
added 9 characters in body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading
added 9 characters in body
Source Link
User1974
  • 1.5k
  • 25
  • 54
Loading