-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(it): Update integration test files to match the Oracle 23.6 docs
- Loading branch information
Showing
6 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
zpa-checks/src/integrationTest/resources/sources/oracle-database_23/sqlrf/TO_DATE-1.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
-- https://docs.oracle.com/en/database/oracle/oracle-database/23/sqlrf/TO_DATE.html | ||
SELECT TO_DATE( | ||
'January 15, 1989, 11:00 A.M.', | ||
'Month dd, YYYY, HH:MI A.M.', | ||
'NLS_DATE_LANGUAGE = American') | ||
FROM DUAL; | ||
'January 15, 1989, 11:00 A.M.', | ||
'Month dd, YYYY, HH:MI A.M.', | ||
'NLS_DATE_LANGUAGE = American') | ||
FROM DUAL; |
2 changes: 1 addition & 1 deletion
2
zpa-checks/src/integrationTest/resources/sources/oracle-database_23/sqlrf/TO_TIMESTAMP-0.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
-- https://docs.oracle.com/en/database/oracle/oracle-database/23/sqlrf/TO_TIMESTAMP.html | ||
SELECT TO_TIMESTAMP ('10-Sep-02 14:10:10.123000', 'DD-Mon-RR HH24:MI:SS.FF') | ||
FROM DUAL; | ||
FROM DUAL; |
6 changes: 3 additions & 3 deletions
6
zpa-checks/src/integrationTest/resources/sources/oracle-database_23/sqlrf/TO_TIMESTAMP-1.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
-- https://docs.oracle.com/en/database/oracle/oracle-database/23/sqlrf/TO_TIMESTAMP.html | ||
SELECT TO_TIMESTAMP ('10-Sept-02 14:10:10.123000' | ||
DEFAULT NULL ON CONVERSION ERROR, | ||
'DD-Mon-RR HH24:MI:SS.FF', | ||
'NLS_DATE_LANGUAGE = American') "Value" | ||
DEFAULT NULL ON CONVERSION ERROR, | ||
'DD-Mon-RR HH24:MI:SS.FF', | ||
'NLS_DATE_LANGUAGE = American') "Value" | ||
FROM DUAL; |
2 changes: 1 addition & 1 deletion
2
...ecks/src/integrationTest/resources/sources/oracle-database_23/sqlrf/TO_TIMESTAMP_TZ-0.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
-- https://docs.oracle.com/en/database/oracle/oracle-database/23/sqlrf/TO_TIMESTAMP_TZ.html | ||
SELECT TO_TIMESTAMP_TZ('1999-12-01 11:00:00 -8:00', | ||
'YYYY-MM-DD HH:MI:SS TZH:TZM') FROM DUAL; | ||
'YYYY-MM-DD HH:MI:SS TZH:TZM') FROM DUAL; |
6 changes: 3 additions & 3 deletions
6
...ecks/src/integrationTest/resources/sources/oracle-database_23/sqlrf/TO_TIMESTAMP_TZ-1.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
-- https://docs.oracle.com/en/database/oracle/oracle-database/23/sqlrf/TO_TIMESTAMP_TZ.html | ||
SELECT order_id, line_item_id, | ||
CAST(NULL AS TIMESTAMP WITH LOCAL TIME ZONE) order_date | ||
FROM order_items | ||
CAST(NULL AS TIMESTAMP WITH LOCAL TIME ZONE) order_date | ||
FROM order_items | ||
UNION | ||
SELECT order_id, to_number(null), order_date | ||
FROM orders; | ||
FROM orders; |
4 changes: 2 additions & 2 deletions
4
...ecks/src/integrationTest/resources/sources/oracle-database_23/sqlrf/TO_TIMESTAMP_TZ-2.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
-- https://docs.oracle.com/en/database/oracle/oracle-database/23/sqlrf/TO_TIMESTAMP_TZ.html | ||
SELECT TO_TIMESTAMP_TZ('1999-13-01 11:00:00 -8:00' | ||
DEFAULT NULL ON CONVERSION ERROR, | ||
'YYYY-MM-DD HH:MI:SS TZH:TZM') "Value" | ||
DEFAULT NULL ON CONVERSION ERROR, | ||
'YYYY-MM-DD HH:MI:SS TZH:TZM') "Value" | ||
FROM DUAL; |