Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 255448b

Browse files
authored
Update altering-natively-compiled-t-sql-modules.md
1 parent 8ea1076 commit 255448b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/relational-databases/in-memory-oltp/altering-natively-compiled-t-sql-modules.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ When executing `ALTER` on a natively compiled [!INCLUDE[tsql](../../includes/tsq
3737
> [!NOTE]
3838
> Natively compiled [!INCLUDE[tsql](../../includes/tsql-md.md)] modules cannot be converted to non-natively compiled modules. Non-natively compiled T-SQL modules cannot be converted to natively compiled modules.
3939
40-
For more information on `ALTER PROCEDURE` functionality and syntax, see [ALTER PROCEDURE (Transact-SQL)](../../t-sql/statements/alter-procedure-transact-sql.md)
40+
For more information on `ALTER PROCEDURE` functionality and syntax, see [ALTER PROCEDURE (Transact-SQL)](../../t-sql/statements/alter-procedure-transact-sql.md).
4141

4242
You can execute [sp_recompile](../../relational-databases/system-stored-procedures/sp-recompile-transact-sql.md) on a natively compiled [!INCLUDE[tsql](../../includes/tsql-md.md)] modules, which causes the module to recompile on the next execution.
4343

4444
## Example
45-
The following example creates a memory-optimized table (T1), and a natively compiled stored procedure (SP1) that selects all the T1 columns. Then, SP1 is altered to remove the EXECUTE AS clause, change the LANGUAGE, and select only one column (C1) from T1.
45+
The following example creates a memory-optimized table (T1), and a natively compiled stored procedure (usp_1) that selects all the T1 columns. Then, usp_1 is altered to remove the `EXECUTE AS` clause, change the `LANGUAGE`, and select only one column (C1) from T1.
4646

4747
```sql
4848
CREATE TABLE [dbo].[T1] (
@@ -58,7 +58,7 @@ AS BEGIN ATOMIC WITH
5858
(
5959
TRANSACTION ISOLATION LEVEL = SNAPSHOT, LANGUAGE = N'us_english'
6060
)
61-
SELECT c1, c2 from dbo.T1
61+
SELECT c1, c2 FROM dbo.T1
6262
END
6363
GO
6464

@@ -68,7 +68,7 @@ AS BEGIN ATOMIC WITH
6868
(
6969
TRANSACTION ISOLATION LEVEL = SNAPSHOT, LANGUAGE = N'Dutch'
7070
)
71-
SELECT c1 from dbo.T1
71+
SELECT c1 FROM dbo.T1
7272
END
7373
GO
7474
```

0 commit comments

Comments
 (0)