1 | /* |
2 | * THIS IS A GENERATED FILE |
3 | * SEE COLUMNS.LIST |
4 | */ |
5 | #ifndef TABLES_H |
6 | #define TABLES_H |
7 | #define CALL_CENTER 0 |
8 | #define CATALOG_PAGE 1 |
9 | #define CATALOG_RETURNS 2 |
10 | #define CATALOG_SALES 3 |
11 | #define CUSTOMER 4 |
12 | #define CUSTOMER_ADDRESS 5 |
13 | #define CUSTOMER_DEMOGRAPHICS 6 |
14 | #define DATET 7 |
15 | #define HOUSEHOLD_DEMOGRAPHICS 8 |
16 | #define INCOME_BAND 9 |
17 | #define INVENTORY 10 |
18 | #define ITEM 11 |
19 | #define PROMOTION 12 |
20 | #define REASON 13 |
21 | #define SHIP_MODE 14 |
22 | #define STORE 15 |
23 | #define STORE_RETURNS 16 |
24 | #define STORE_SALES 17 |
25 | #define TIME 18 |
26 | #define WAREHOUSE 19 |
27 | #define WEB_PAGE 20 |
28 | #define WEB_RETURNS 21 |
29 | #define WEB_SALES 22 |
30 | #define WEB_SITE 23 |
31 | #define DBGEN_VERSION 24 |
32 | #define S_BRAND 25 |
33 | #define S_CUSTOMER_ADDRESS 26 |
34 | #define S_CALL_CENTER 27 |
35 | #define S_CATALOG 28 |
36 | #define S_CATALOG_ORDER 29 |
37 | #define S_CATALOG_ORDER_LINEITEM 30 |
38 | #define S_CATALOG_PAGE 31 |
39 | #define S_CATALOG_PROMOTIONAL_ITEM 32 |
40 | #define S_CATALOG_RETURNS 33 |
41 | #define S_CATEGORY 34 |
42 | #define S_CLASS 35 |
43 | #define S_COMPANY 36 |
44 | #define S_CUSTOMER 37 |
45 | #define S_DIVISION 38 |
46 | #define S_INVENTORY 39 |
47 | #define S_ITEM 40 |
48 | #define S_MANAGER 41 |
49 | #define S_MANUFACTURER 42 |
50 | #define S_MARKET 43 |
51 | #define S_PRODUCT 44 |
52 | #define S_PROMOTION 45 |
53 | #define S_PURCHASE 46 |
54 | #define S_PURCHASE_LINEITEM 47 |
55 | #define S_REASON 48 |
56 | #define S_STORE 49 |
57 | #define S_STORE_PROMOTIONAL_ITEM 50 |
58 | #define S_STORE_RETURNS 51 |
59 | #define S_SUBCATEGORY 52 |
60 | #define S_SUBCLASS 53 |
61 | #define S_WAREHOUSE 54 |
62 | #define S_WEB_ORDER 55 |
63 | #define S_WEB_ORDER_LINEITEM 56 |
64 | #define S_WEB_PAGE 57 |
65 | #define S_WEB_PROMOTIONAL_ITEM 58 |
66 | #define S_WEB_RETURNS 59 |
67 | #define S_WEB_SITE 60 |
68 | #define S_ZIPG 61 |
69 | #define PSEUDO_TABLE_START 62 |
70 | /* PSEUDO TABLES from here on; used in hierarchies */ |
71 | #define ITEM_BRAND 62 |
72 | #define ITEM_CLASS 63 |
73 | #define ITEM_CATEGORY 64 |
74 | #define DIVISIONS 65 |
75 | #define COMPANY 66 |
76 | #define CONCURRENT_WEB_SITES 67 |
77 | #define ACTIVE_CITIES 68 |
78 | #define ACTIVE_COUNTIES 69 |
79 | #define ACTIVE_STATES 70 |
80 | #define MAX_TABLE 70 |
81 | #endif |
82 | |