Skip to main content
Version: Staging

OpraPrintType

V8 Message Definiton

METADATA

AttributeValue
Topic2750-market-data-options
MLink TokenOptionDefinition
ProductSRLive
accessTypeSELECT

Table Definition

FieldTypeKeyDefault ValueComment
opraPrintTypeTINYINT UNSIGNEDPRI0
printTypeCharVARCHAR(1)''character value of printType
printCodeVARCHAR(4)''eg AUTO CANC
printCodeStringTINYTEXT''longer string
printCodeDescriptionTINYTEXT''full description

PRIMARY KEY DEFINITION (Unique)

FieldSequence
opraPrintType1

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRLive`.`MsgOpraPrintType` (
`opraPrintType` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`printTypeChar` VARCHAR(1) NOT NULL DEFAULT '' COMMENT 'character value of printType',
`printCode` VARCHAR(4) NOT NULL DEFAULT '' COMMENT 'eg, AUTO, CANC',
`printCodeString` TINYTEXT NOT NULL DEFAULT '' COMMENT 'longer string',
`printCodeDescription` TINYTEXT NOT NULL DEFAULT '' COMMENT 'full description',
PRIMARY KEY USING HASH (`opraPrintType`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='';

SELECT TABLE EXAMPLE QUERY

SELECT
`opraPrintType`,
`printTypeChar`,
`printCode`,
`printCodeString`,
`printCodeDescription`
FROM `SRLive`.`MsgOpraPrintType`
WHERE
/* Replace with a TINYINT UNSIGNED */
`opraPrintType` = 1;

Doc Columns Query

SELECT * FROM SRLive.doccolumns WHERE TABLE_NAME='OpraPrintType' ORDER BY ordinal_position ASC;