LiteralType Enum

Definition

The literal types.

C#
public enum LiteralType
Inheritance
LiteralType

Fields

Name Value Description
Integer 0

The integer type is a sequence of digits without '.' or 'e'

Real 1

A sequence of digits that has an e

Money 2

Represented as string of digits with an optional decimal point. Has to start with a currency symbol.

Binary 3

Hexadecimal numbers, they have to be prefixed with 0x.

String 4

A string of characters that are delimited with the quote (') character If the QUOTED_IDENTIFIER is off the delimiter (") is also valid.

Null 5

The reserved word null.

Default 6

DEFAULT keyword is used.

Max 7

MAX context sensitive keyword is used.

Odbc 8

Odbc format literals in curly braces { }.

Identifier 9

An Identifier that is treated like a Literal, such as a parameter default

Numeric 10

A sequence of numbers with a '.'

Applies to

منتج الإصدارات
Microsoft.SQLServer.DacFx 140.3881.1, 150.18208.0, 160.2004021.0, 161.6374.0, 161