You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**DATA_TYPE**|**nvarchar(**128**)**|The sequence data type|
34
-
|**NUMERIC_PRECISION**|**tinyint**|The precision of the sequence|
35
-
|**NUMERIC_PRECISION_RADIX**|**smallint**|Precision radix of approximate numeric data, exact numeric data, integer data, or monetary data. Otherwise, NULL is returned.|
36
-
|**NUMERIC_SCALE**|**int**|Scale of approximate numeric data, exact numeric data, integer data, or monetary data. Otherwise, NULL is returned.|
37
-
|**START_VALUE**|**int**|The first value that will be returned by the sequence object.|
38
-
|**MINIMUM_VALUE**|**int**|The bounds for the sequence object. The default minimum value for a new sequence object is the minimum value of the data type of the sequence object. This is zero for the tinyint data type and a negative number for all other data types.|
39
-
|**MAXIMUM_VALUE**|**int**|The bounds for the sequence object. The default maximum value for a new sequence object is the maximum value of the data type of the sequence object.|
40
-
|**INCREMENT**|**int**|Value used to increment (or decrement if negative) the value of the sequence object for each call to the NEXT VALUE FOR function. If the increment is a negative value, the sequence object is descending; otherwise, it is ascending. The increment cannot be 0. The default increment for a new sequence object is 1.
41
-
|**CYCLE_OPTION**|**int**|Property that specifies whether the sequence object should restart from the minimum value (or maximum for descending sequence objects) or throw an exception when its minimum or maximum value is exceeded. The default cycle option for new sequence objects is NO CYCLE.
42
-
|**DECLARED_DATA_TYPE**|**int**|The data type for user-defined data type.|
43
-
|**DECLARED_DATA_PRECISION**|**int**|The precision for user-defined data type.|
44
-
|**DECLARED_NUJMERIC_SCALE**|**int**|The numeric scale for user-defined data type.|
45
-
46
-
**Example**
47
-
The following example, returns information about the schemas in the test database:
27
+
To retrieve information from these views, specify the fully qualified name of `INFORMATION_SCHEMA.<view_name>`.
|`SEQUENCE_SCHEMA`|**nvarchar(128)**| Name of schema that contains the sequence |
33
+
|`SEQUENCE_NAME`|**nvarchar(128)**| Sequence name |
34
+
|`DATA_TYPE`|**nvarchar(128)**| The sequence data type |
35
+
|`NUMERIC_PRECISION`|**tinyint**| The precision of the sequence |
36
+
|`NUMERIC_PRECISION_RADIX`|**smallint**| Precision radix of approximate numeric data, exact numeric data, integer data, or monetary data. Otherwise, `NULL` is returned. |
37
+
|`NUMERIC_SCALE`|**int**| Scale of approximate numeric data, exact numeric data, integer data, or monetary data. Otherwise, `NULL` is returned. |
38
+
|`START_VALUE`|**int**| Specifies the first value returned by the sequence object. |
39
+
|`MINIMUM_VALUE`|**int**| The bounds for the sequence object. The default minimum value for a new sequence object is the minimum value of the data type of the sequence object. This is `0` for the **tinyint** data type, and a negative number for all other data types. |
40
+
|`MAXIMUM_VALUE`|**int**| The bounds for the sequence object. The default maximum value for a new sequence object is the maximum value of the data type of the sequence object. |
41
+
|`INCREMENT`|**int**| Value used to increment (or decrement if negative) the value of the sequence object for each call to the `NEXT VALUE FOR` function. If the increment is a negative value, the sequence object is descending; otherwise, it's ascending. The increment can't be 0. The default increment for a new sequence object is `1`. |
42
+
|`CYCLE_OPTION`|**int**| Property that specifies whether the sequence object should restart from the minimum value (or maximum for descending sequence objects), or throw an exception when its minimum or maximum value is exceeded. The default cycle option for new sequence objects is `NO CYCLE`. |
43
+
|`DECLARED_DATA_TYPE`|**int**| The data type for user-defined data type. |
44
+
|`DECLARED_DATA_PRECISION`|**int**| The precision for user-defined data type. |
45
+
|`DECLARED_NUJMERIC_SCALE`|**int**| The numeric scale for user-defined data type. |
46
+
47
+
## Examples
48
+
49
+
The following example returns information about the schemas in the test database:
0 commit comments