Skip to content

Commit 06a8c49

Browse files
authored
Merge pull request #31760 from rwestMSFT/rw-0904-retire
[SCOPED] Remove unlinked content and fix TOC
2 parents 34ab258 + 9d481a0 commit 06a8c49

5 files changed

Lines changed: 55 additions & 91 deletions

File tree

.openpublishing.redirection.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23570,6 +23570,11 @@
2357023570
"redirect_url": "/previous-versions/sql/2014/relational-databases/in-memory-oltp/implementing-an-outer-join",
2357123571
"redirect_document_id": false
2357223572
},
23573+
{
23574+
"source_path": "docs/relational-databases/in-memory-oltp/implementing-an-outer-join.md",
23575+
"redirect_url": "/sql/relational-databases/performance/joins",
23576+
"redirect_document_id": false
23577+
},
2357323578
{
2357423579
"source_path": "docs/2014/relational-databases/in-memory-oltp/implementing-identity-in-a-memory-optimized-table.md",
2357523580
"redirect_url": "/previous-versions/sql/2014/relational-databases/in-memory-oltp/implementing-identity-in-a-memory-optimized-table",
@@ -61460,6 +61465,11 @@
6146061465
"redirect_url": "/sql/relational-databases/service-broker/event-notifications",
6146161466
"redirect_document_id": false
6146261467
},
61468+
{
61469+
"source_path": "docs/database-engine/service-broker/overview.md",
61470+
"redirect_url": "/sql/database-engine/configure-windows/sql-server-service-broker",
61471+
"redirect_document_id": false
61472+
},
6146361473
{
6146461474
"source_path": "docs/relational-databases/spatial/index.md",
6146561475
"redirect_url": "/sql/relational-databases/spatial/spatial-data-sql-server",

docs/database-engine/service-broker/overview.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

docs/relational-databases/in-memory-oltp/implementing-an-outer-join.md

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
title: "SEQUENCES (Transact-SQL)"
3-
description: "SEQUENCES (Transact-SQL)"
3+
description: SEQUENCES returns one row for each sequence that can be accessed by the current user in the current database.
44
author: markingmyname
55
ms.author: maghan
6-
ms.date: "12/30/2019"
6+
ms.reviewer: randolphwest
7+
ms.date: 09/04/2024
78
ms.service: sql
89
ms.subservice: system-objects
910
ms.topic: "reference"
@@ -15,42 +16,43 @@ helpviewer_keywords:
1516
- "INFORMATION_SCHEMA.SEQUENCES view"
1617
dev_langs:
1718
- "TSQL"
18-
monikerRange: "=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current"
19+
monikerRange: "=azuresqldb-current || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current"
1920
---
2021
# SEQUENCES (Transact-SQL)
2122

2223
[!INCLUDE [SQL Server Azure SQL Database Azure SQL Managed Instance](../../includes/applies-to-version/sql-asdb-asdbmi.md)]
2324

2425
Returns one row for each sequence that can be accessed by the current user in the current database.
2526

26-
To retrieve information from these views, specify the fully qualified name of **INFORMATION_SCHEMA**_.view_name_.
27-
28-
|Column name|Data type|Description|
29-
|-----------------|---------------|-----------------|
30-
|**SEQUENCE_CATALOG**|**nvarchar(128)**|Sequence qualifier|
31-
|**SEQUENCE_SCHEMA**|**nvarchar(**128)**|Name of schema that contains the sequence|
32-
|**SEQUENCE_NAME**|**nvarchar(128)**|Sequence name|
33-
|**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>`.
28+
29+
| Column name | Data type | Description |
30+
| --- | --- | --- |
31+
| `SEQUENCE_CATALOG` | **nvarchar(128)** | Sequence qualifier |
32+
| `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:
4850

4951
```sql
5052
SELECT * FROM test.INFORMATION_SCHEMA.SEQUENCES;
5153
```
5254

53-
## See Also
55+
## Related content
5456

55-
- [Information Schema Views &#40;Transact-SQL&#41;](~/relational-databases/system-information-schema-views/system-information-schema-views-transact-sql.md)
56-
- [sys.sequences &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-sequences-transact-sql.md)
57+
- [System Information Schema Views (Transact-SQL)](system-information-schema-views-transact-sql.md)
58+
- [sys.sequences (Transact-SQL)](../system-catalog-views/sys-sequences-transact-sql.md)

docs/toc.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5306,8 +5306,10 @@ items:
53065306
href: relational-databases/replication/publish/automatically-generate-join-filters-between-merge-articles.md
53075307
- name: Define a logical record relationship
53085308
href: relational-databases/replication/publish/define-a-logical-record-relationship-between-merge-table-articles.md
5309-
- name: Configure IIS 7 for Web Synchronization
5309+
- name: Configure IIS 7 for web synchronization
53105310
href: relational-databases/replication/configure-iis-7-for-web-synchronization.md
5311+
- name: Configure web synchronization
5312+
href: relational-databases/replication/configure-web-synchronization.md
53115313
- name: Resolve data conflicts
53125314
href: relational-databases/replication/view-and-resolve-data-conflicts-for-merge-publications.md
53135315
- name: Implement a business logic handler
@@ -12912,6 +12914,8 @@ items:
1291212914
href: relational-databases/system-catalog-views/sys-workload-management-workload-classifier-details-transact-sql.md
1291312915
- name: sys.workload-management-workload-classifiers
1291412916
href: relational-databases/system-catalog-views/sys-workload-management-workload-classifiers-transact-sql.md
12917+
- name: sys.workload-management-workload-groups
12918+
href: relational-databases/system-catalog-views/sys-workload-management-workload-groups-transact-sql.md
1291512919
- name: XML Schemas (XML Type System)
1291612920
href: relational-databases/system-catalog-views/xml-schemas-xml-type-system-catalog-views-transact-sql.md
1291712921
items:
@@ -13015,8 +13019,9 @@ items:
1301513019
- name: sys.sysusers
1301613020
href: relational-databases/system-compatibility-views/sys-sysusers-transact-sql.md
1301713021
- name: System dynamic management views
13018-
href: relational-databases/system-dynamic-management-views/system-dynamic-management-views.md
1301913022
items:
13023+
- name: Overview
13024+
href: relational-databases/system-dynamic-management-views/system-dynamic-management-views.md
1302013025
- name: Always On Availability Groups
1302113026
href: relational-databases/system-dynamic-management-views/always-on-availability-groups-dynamic-management-views-functions.md
1302213027
items:
@@ -13555,6 +13560,8 @@ items:
1355513560
href: relational-databases/system-dynamic-management-views/sys-dm-pdw-wait-stats-transact-sql.md
1355613561
- name: sys.dm_pdw_waits
1355713562
href: relational-databases/system-dynamic-management-views/sys-dm-pdw-waits-transact-sql.md
13563+
- name: sys.dm_workload_management_workload_groups_stats
13564+
href: relational-databases/system-dynamic-management-views/sys-dm-workload-management-workload-group-stats-transact-sql.md
1355813565
- name: SQL Server Operating System
1355913566
href: relational-databases/system-dynamic-management-views/sql-server-operating-system-related-dynamic-management-views-transact-sql.md
1356013567
items:
@@ -13833,8 +13840,9 @@ items:
1383313840
- name: sys.fn_has_change_feed_permissions
1383413841
href: relational-databases/system-functions/fn-has-change-feed-permissions.md
1383513842
- name: System information schema views
13836-
href: relational-databases/system-information-schema-views/system-information-schema-views-transact-sql.md
1383713843
items:
13844+
- name: Overview
13845+
href: relational-databases/system-information-schema-views/system-information-schema-views-transact-sql.md
1383813846
- name: CHECK_CONSTRAINTS
1383913847
href: relational-databases/system-information-schema-views/check-constraints-transact-sql.md
1384013848
- name: COLUMN_DOMAIN_USAGE
@@ -13863,6 +13871,8 @@ items:
1386313871
href: relational-databases/system-information-schema-views/routines-transact-sql.md
1386413872
- name: SCHEMATA
1386513873
href: relational-databases/system-information-schema-views/schemata-transact-sql.md
13874+
- name: SEQUENCES
13875+
href: relational-databases/system-information-schema-views/sequences-transact-sql.md
1386613876
- name: TABLE_CONSTRAINTS
1386713877
href: relational-databases/system-information-schema-views/table-constraints-transact-sql.md
1386813878
- name: TABLE_PRIVILEGES
@@ -15823,6 +15833,8 @@ items:
1582315833
href: relational-databases/system-tables/msqreader-agents-transact-sql.md
1582415834
- name: MSqreader_history
1582515835
href: relational-databases/system-tables/msqreader-history-transact-sql.md
15836+
- name: MSRedirected_publishers
15837+
href: relational-databases/system-tables/msredirected-publishers.md
1582615838
- name: MSrepl_agent_jobs
1582715839
href: relational-databases/system-tables/msrepl-agent-jobs-transact-sql.md
1582815840
- name: MSrepl_backup_lsns

0 commit comments

Comments
 (0)