Skip to content

Commit 43caf85

Browse files
committed
Update values for the project setting
1 parent ad5f287 commit 43caf85

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/ssma/db2/messages/db22ss0028.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ When you try to convert this trigger in SSMA, the following T-SQL will be produc
6969

7070
## Additional information
7171

72-
This behavior is controlled by the **Generate ROWID column** project setting, which can be found under **Tools** - **Project Settings** - **General** - **Conversion** - **ROWID generation**. If the setting is **Off**, but during trigger conversion SSMA identifies that it requires a `ROWID` column, then [DB22SS0239](db22ss0239.md) conversion error will be generated.
72+
This behavior is controlled by the **Generate ROWID column** project setting, which can be found under **Tools** - **Project Settings** - **General** - **Conversion** - **ROWID generation**. If the setting is **No**, but during trigger conversion SSMA identifies that it requires a `ROWID` column, then [DB22SS0239](db22ss0239.md) conversion error will be generated.
7373

7474
## Related conversion messages
7575

docs/ssma/db2/messages/db22ss0239.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This article describes the reason why SQL Server Migration Assistant (SSMA) for
1818

1919
In DB2 you can create a trigger that will run `FOR EACH ROW`, rather than for the entire set of rows that is changing. In SQL Server triggers always execute for the entire set of modified rows. If row-level DB2 trigger accesses both - `OLD` and `NEW` correlation names, then SSMA needs a way to match rows from both row sets in order to identify what the value was for a given row before and after the update. To emulate such "for each row" functionality, SSMA adds special `ROWID` column to uniquely identify each modified row and uses it to establish a relationship between `inserted` and `deleted` row sets.
2020

21-
This behavior is controlled by the **Generate ROWID column** project setting, which can be found under **Tools** - **Project Settings** - **General** - **Conversion** - **ROWID generation**. If the setting is **Off**, then `ROWID` column will not be added to the table and SSMA will not be able to convert such triggers.
21+
This behavior is controlled by the **Generate ROWID column** project setting, which can be found under **Tools** - **Project Settings** - **General** - **Conversion** - **ROWID generation**. If the setting is set to **No**, then `ROWID` column will not be added to the table and SSMA will not be able to convert such triggers.
2222

2323
## Example
2424

@@ -37,13 +37,13 @@ BEGIN ATOMIC
3737
END
3838
```
3939

40-
When you try to convert this trigger in SSMA, if the **Generate ROWID column** project setting is **Off**, then SSMA will generate the following error message:
40+
When you try to convert this trigger in SSMA, if the **Generate ROWID column** project setting is set to **No**, then SSMA will generate the following error message:
4141

4242
> DB22SS0239: ROWID column not accessible
4343
4444
## Possible remedies
4545

46-
Change the **Generate ROWID column** project setting to **On**, this will allow SSMA to produce the following T-SQL within the SQL Server trigger when converting the above example:
46+
Change the **Generate ROWID column** project setting to **Add ROWID column for tables with triggers**, this will allow SSMA to produce the following T-SQL within the SQL Server trigger when converting the above example:
4747

4848
1) Run a cursor over `inserted` row set, selecting `ROWID` and `DATA` columns into `@new$0` and `@new$DATA` variables:
4949

docs/ssma/oracle/messages/o2ss0028.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ When you try to convert this trigger in SSMA, the following T-SQL will be produc
6767

6868
## Additional information
6969

70-
This behavior is controlled by the **Generate ROWID column** project setting, which can be found under **Tools** - **Project Settings** - **General** - **Conversion** - **ROWID generation**. If the setting is **Off**, but during trigger conversion SSMA identifies that it requires a `ROWID` column, then [O2SS0239](o2ss0239.md) conversion error will be generated.
70+
This behavior is controlled by the **Generate ROWID column** project setting, which can be found under **Tools** - **Project Settings** - **General** - **Conversion** - **ROWID generation**. If the setting is set to **No**, but during trigger conversion SSMA identifies that it requires a `ROWID` column, then [O2SS0239](o2ss0239.md) conversion error will be generated.
7171

7272
## Related conversion messages
7373

docs/ssma/oracle/messages/o2ss0239.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This article describes the reason why SQL Server Migration Assistant (SSMA) for
1818

1919
In Oracle you can create a trigger that will run `FOR EACH ROW`, rather than for the entire set of rows that is changing. In SQL Server triggers always execute for the entire set of modified rows. If row-level Oracle trigger accesses both - `:old` and `:new` special variables, then SSMA needs a way to match rows from both row sets in order to identify what the value was for a given row before and after the update. To emulate such "for each row" functionality, SSMA adds special `ROWID` column to uniquely identify each modified row and uses it to establish a relationship between `inserted` and `deleted` row sets.
2020

21-
This behavior is controlled by the **Generate ROWID column** project setting, which can be found under **Tools** - **Project Settings** - **General** - **Conversion** - **ROWID generation**. If the setting is **Off**, then `ROWID` column will not be added to the table and SSMA will not be able to convert such triggers.
21+
This behavior is controlled by the **Generate ROWID column** project setting, which can be found under **Tools** - **Project Settings** - **General** - **Conversion** - **ROWID generation**. If the setting is set to **No**, then `ROWID` column will not be added to the table and SSMA will not be able to convert such triggers.
2222

2323
## Example
2424

@@ -35,13 +35,13 @@ BEGIN
3535
END;
3636
```
3737

38-
When you try to convert this trigger in SSMA, if the **Generate ROWID column** project setting is **Off**, then SSMA will generate the following error message:
38+
When you try to convert this trigger in SSMA, if the **Generate ROWID column** project setting is set to **No**, then SSMA will generate the following error message:
3939

4040
> O2SS0239: ROWID column not accessible
4141
4242
## Possible remedies
4343

44-
Change the **Generate ROWID column** project setting to **On**, this will allow SSMA to produce the following T-SQL within the SQL Server trigger when converting the above example:
44+
Change the **Generate ROWID column** project setting to **Add ROWID column for tables with triggers**, this will allow SSMA to produce the following T-SQL within the SQL Server trigger when converting the above example:
4545

4646
1) Run a cursor over `inserted` row set, selecting `ROWID` and `DATA` columns into `@new$0` and `@new$DATA` variables:
4747

0 commit comments

Comments
 (0)