Last active
March 6, 2025 16:54
-
-
Save blacknoob20/39330eade2147347b2d2c3ddeda5a1f7 to your computer and use it in GitHub Desktop.
Revisions
-
blacknoob20 revised this gist
Mar 6, 2025 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,4 +4,10 @@ SELECT REGEXP_SUBSTR(<here your string>, '[^,]+', 1, LEVEL) AS registro FROM DUAL CONNECT BY REGEXP_SUBSTR(<here your string>, '[^,]+', 1, LEVEL) IS NOT NULL ``` ### List all objects created in database ``` SELECT owner, object_name, object_type FROM all_objects ORDER BY owner, object_type, object_name; ``` -
blacknoob20 revised this gist
Feb 11, 2025 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ # Oracle Snippets ### Comma separated string as list ``` SELECT REGEXP_SUBSTR(<here your string>, '[^,]+', 1, LEVEL) AS registro -
blacknoob20 revised this gist
Nov 18, 2024 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ### Comma separated string as list ``` SELECT REGEXP_SUBSTR(<here your string>, '[^,]+', 1, LEVEL) AS registro FROM DUAL CONNECT BY REGEXP_SUBSTR(<here your string>, '[^,]+', 1, LEVEL) IS NOT NULL ``` -
blacknoob20 created this gist
Nov 18, 2024 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ ### Comma separated string as list ``` SELECT REGEXP_SUBSTR(<here your string>, '[^|]+', 1, LEVEL) AS registro FROM DUAL CONNECT BY REGEXP_SUBSTR(<here your string>, '[^|]+', 1, LEVEL) IS NOT NULL ```