Skip to content

Commit f978b8e

Browse files
committed
Updated readme.
1 parent a852e58 commit f978b8e

File tree

1 file changed

+17
-29
lines changed

1 file changed

+17
-29
lines changed

README.md

Lines changed: 17 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ https://github.com/utPLSQL/utPLSQL-v2-v3-migration/releases/latest
1414

1515
## Requirements
1616

17-
- [latest version of utPLSQL v2.3.1](https://github.com/utPLSQL/utPLSQL/releases/tag/utplsql-2-3-1) needs to be installed
18-
- [utPLSQL v3](https://github.com/utPLSQL/utPLSQL/releases) needs to be installed
17+
- [latest version of utPLSQL v2](https://github.com/utPLSQL/utPLSQL/releases/tag/utplsql-2-3-1) needs to be installed
18+
- [utPLSQL v3](https://github.com/utPLSQL/utPLSQL/releases/latest) needs to be installed
1919
- Installation needs to be done from a `SYS` account or as `SYSDBA` as utPLSQL v3 user needs to be granted execute privilege on `UTL_FILE`.
2020
This is required for installing utPLSQL v2 compatibility within utPLSQL v3.
2121

@@ -74,8 +74,13 @@ Once migration packages were installed, you can either test or execute migration
7474

7575
## Testing migration
7676

77-
### Dry run migration all utPLSQL v2 packages
78-
Call:
77+
You may want to execute a dry-run of migration prior to running actual process on your database.
78+
The dry-run will output results of migration to dbms_output.
79+
80+
There are several ways to invoke the dry-run:
81+
82+
- for all utPLSQL v2 packages registered in the database
83+
7984
```sql
8085
set serveroutput on
8186
begin
@@ -84,10 +89,8 @@ end;
8489
/
8590
```
8691

87-
This will execute a dry-run of migration for all utPLSQL v2 packages in the database, that use has access to.
92+
- for utPLSQL v2 packages registered in a schema
8893

89-
### Dry run migration utPLSQL v2 packages for a user
90-
Call:
9194
```sql
9295
set serveroutput on
9396
begin
@@ -96,10 +99,8 @@ end;
9699
/
97100
```
98101

99-
This will execute a dry-run of migration for all utPLSQL v2 packages owned by user `XYZ`.
102+
- for utPLSQL v2 suite
100103

101-
### Dry run migration utPLSQL v2 suite
102-
Call:
103104
```sql
104105
set serveroutput on
105106
begin
@@ -108,10 +109,8 @@ end;
108109
/
109110
```
110111

111-
This will execute a dry-run of migration for all utPLSQL v2 packages that belong to suite `XYZ`.
112+
- for a single utPLSQL v2 package
112113

113-
### Dry run migration single utPLSQL v2 packages
114-
Call:
115114
```sql
116115
set serveroutput on
117116
begin
@@ -120,12 +119,10 @@ end;
120119
/
121120
```
122121

123-
This will execute a dry-run of migration for utPLSQL v2 package `XYZ.ABC`.
124-
125122
## Executing migration
126123

127-
### Migrate all utPLSQL v2 packages
128-
Call:
124+
- for all utPLSQL v2 packages registered in the database
125+
129126
```sql
130127
set serveroutput on
131128
begin
@@ -134,10 +131,8 @@ end;
134131
/
135132
```
136133

137-
This will execute migration for all utPLSQL v2 packages in the database, that use has access to.
134+
- for utPLSQL v2 packages registered in a schema
138135

139-
### Migrate utPLSQL v2 packages for a user
140-
Call:
141136
```sql
142137
set serveroutput on
143138
begin
@@ -146,10 +141,8 @@ end;
146141
/
147142
```
148143

149-
This will execute migration for all utPLSQL v2 packages owned by user `XYZ`.
144+
- for utPLSQL v2 suite
150145

151-
### Migrate utPLSQL v2 suite
152-
Call:
153146
```sql
154147
set serveroutput on
155148
begin
@@ -158,17 +151,12 @@ end;
158151
/
159152
```
160153

161-
This will execute migration for all utPLSQL v2 packages that belong to suite `XYZ`.
154+
- for a single utPLSQL v2 package
162155

163-
### Migrate single utPLSQL v2 packages
164-
Call:
165156
```sql
166157
set serveroutput on
167158
begin
168159
ut_v2_migration.run(a_owner => 'XYZ', a_package => 'ABC');
169160
end;
170161
/
171162
```
172-
173-
This will execute migration for utPLSQL v2 package `XYZ.ABC`.
174-

0 commit comments

Comments
 (0)