Skip to content

Commit a61834d

Browse files
authored
Merge pull request #113910 from stevestein/sqledge-tsql
sqledge - new sql statements
2 parents 5f500e0 + 55f204d commit a61834d

File tree

4 files changed

+744
-0
lines changed

4 files changed

+744
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: "ALTER EXTERNAL STREAM (Transact-SQL)"
3+
description: Learn about the ALTER EXTERNAL STREAM statement in Azure SQL Edge Preview
4+
keywords:
5+
services: sql-database-edge
6+
ms.service: sql-database-edge
7+
ms.topic: conceptual
8+
author: SQLSourabh
9+
ms.author: sourabha
10+
ms.reviewer: sstein
11+
ms.date: 05/04/2020
12+
---
13+
14+
# ALTER EXTERNAL STREAM (Transact-SQL)
15+
16+
Modifies the definition of an External Stream. Modifying an External Stream that is used by a streaming job in a *Running* state is not allowed.
17+
18+
19+
20+
## Syntax
21+
22+
```sql
23+
ALTER EXTERNAL STREAM external_stream_name
24+
SET
25+
[DATA_SOURCE] = <data_source_name>
26+
, LOCATION = <location_name>
27+
, EXTERNAL_FILE_FORMAT = <external_file_format_name>
28+
, INPUT_OPTIONS = <input_options>
29+
, OUTPUT_OPTIONS = <output_options>
30+
```
31+
32+
33+
## Return code values
34+
35+
ALTER EXTERNAL STREAM returns 0 if successful. A non-zero return value indicates failure.
36+
37+
38+
## See also
39+
40+
- [CREATE EXTERNAL STREAM (Transact-SQL)](create-external-stream-transact-sql.md)
41+
- [DROP EXTERNAL STREAM (Transact-SQL)](drop-external-stream-transact-sql.md)

0 commit comments

Comments
 (0)