DBFIELD(SQL View) |
Index Back |
---|---|
Internal - Used for DB SizingInternal - Used for DB Sizing |
SELECT FIELDNAME , FIELDTYPE , LENGTH , CASE WHEN FIELDTYPE = 0 THEN LENGTH WHEN FIELDTYPE = 1 THEN 0 WHEN FIELDTYPE = 2 THEN floor(LENGTH/2)+1 WHEN FIELDTYPE = 3 THEN floor(LENGTH/2)+1 WHEN FIELDTYPE = 4 THEN 7 WHEN FIELDTYPE = 5 THEN 7 WHEN FIELDTYPE = 6 THEN 7 WHEN FIELDTYPE = 8 THEN 0 WHEN FIELDTYPE = 9 THEN 0 END BYTES FROM PSDBFIELD WHERE FIELDTYPE <> 7 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | FIELDNAME | Character(18) | VARCHAR2(18) NOT NULL | Field Name (see PSDBFIELD). |
2 | FIELDTYPE | Number(2,0) | SMALLINT NOT NULL | Field Type (from PSST0101 Ref.) |
3 | LENGTH | Number(5,0) | INTEGER NOT NULL | Length |
4 | BYTES | Number(5,0) | INTEGER NOT NULL | Bytes for DB Sizing Calculation |