-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
214 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
orcas_integrationstest/tests/test_column_virtual_azuresql/erzeuge_ausgangszustand.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
create table tab_add_column | ||
( | ||
c_col1 numeric(10) | ||
); | ||
|
||
create table tab_change_column | ||
( | ||
c_col1 numeric(10), | ||
c_col2 as (CONVERT(VARCHAR(10),C_COL1)+'X') | ||
); | ||
|
||
create table tab_change_make_not_virtual | ||
( | ||
c_col1 numeric(10), | ||
c_col2 as (CONVERT(VARCHAR(10),C_COL1)+'X') | ||
); | ||
|
||
create table tab_change_make_virtual | ||
( | ||
c_col1 numeric(10), | ||
c_col2 varchar(41) | ||
); | ||
|
||
create table tab_change_virtual_with_index | ||
( | ||
c_col1 numeric(10) not null, | ||
c_col2 as (CONVERT(VARCHAR(10),C_COL1)+'X') | ||
); | ||
create index tab_change_virtual_with_index_ix on tab_change_virtual_with_index (c_col2); |
37 changes: 37 additions & 0 deletions
37
orcas_integrationstest/tests/test_column_virtual_azuresql/erzeuge_zielzustand.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
create table tab_virtual_column | ||
( | ||
c_col1 numeric(10), | ||
c_col2 numeric(10), | ||
c_col3 as (CONVERT(VARCHAR(10),C_COL1)+' '+CONVERT(VARCHAR(10),C_COL2)) | ||
); | ||
|
||
create table tab_add_column | ||
( | ||
c_col1 numeric(10), | ||
c_col2 as (CONVERT(VARCHAR(10),C_COL1)+'X') | ||
); | ||
|
||
create table tab_change_column | ||
( | ||
c_col1 numeric(10), | ||
c_col2 as (CONVERT(VARCHAR(10),C_COL1)+'Y') | ||
); | ||
|
||
create table tab_change_make_not_virtual | ||
( | ||
c_col1 numeric(10), | ||
c_col2 varchar(41) | ||
); | ||
|
||
create table tab_change_make_virtual | ||
( | ||
c_col1 numeric(10), | ||
c_col2 as (CONVERT(VARCHAR(10),C_COL1)+'Y') | ||
); | ||
|
||
create table tab_change_virtual_with_index | ||
( | ||
c_col1 numeric(10) not null, | ||
c_col2 as (CONVERT(VARCHAR(10),C_COL1)+'y') | ||
); | ||
create index tab_change_virtual_with_index_ix on tab_change_virtual_with_index (c_col2); |
4 changes: 4 additions & 0 deletions
4
orcas_integrationstest/tests/test_column_virtual_azuresql/parameter.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dropmode = true | ||
test_extract = true | ||
dialect = azuresql | ||
|
37 changes: 37 additions & 0 deletions
37
orcas_integrationstest/tests/test_column_virtual_azuresql/tabellen/tabelle.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
create table tab_virtual_column | ||
( | ||
c_col1 number(10), | ||
c_col2 number(10), | ||
c_col3 varchar2(21) as ("CONVERT(VARCHAR(10),C_COL1)+' '+CONVERT(VARCHAR(10),C_COL2)") virtual | ||
); | ||
|
||
create table tab_add_column | ||
( | ||
c_col1 number(10), | ||
c_col2 varchar2(11) as ("CONVERT(VARCHAR(10),C_COL1)+'X'") virtual | ||
); | ||
|
||
create table tab_change_column | ||
( | ||
c_col1 number(10), | ||
c_col2 varchar2(11) as ("CONVERT(VARCHAR(10),C_COL1)+'Y'") virtual | ||
); | ||
|
||
create table tab_change_make_not_virtual | ||
( | ||
c_col1 number(10), | ||
c_col2 varchar2(41) | ||
); | ||
|
||
create table tab_change_make_virtual | ||
( | ||
c_col1 number(10), | ||
c_col2 varchar2(11) as ("CONVERT(VARCHAR(10),C_COL1)+'Y'") virtual | ||
); | ||
|
||
create table tab_change_virtual_with_index | ||
( | ||
c_col1 number(10) not null, | ||
c_col2 varchar2(11) as ("CONVERT(VARCHAR(10),C_COL1)+'y'") virtual, | ||
index tab_change_virtual_with_index_ix (c_col2) | ||
); |