Migrate oracle script dropping commits - even commits within functions (autonomous) - this leads to errors

And finally is useless in oracle because every DDL issue a commit
This commit is contained in:
Carlos Ruiz 2008-05-31 03:40:49 +00:00
parent e1a9eaf2fd
commit 9cbe3413cb
1 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ do
for file in $DIR/*.sql; do
echo "SELECT '`basename $file`' AS Filename FROM dual;"
echo
cat $file | dos2unix | sed 's/commit[ ]*;//I'
cat $file | dos2unix
echo
echo
done
@ -41,7 +41,7 @@ then
for file in $DIRINI/../processes_post_migration/*.sql; do
echo "SELECT '`basename $file`' AS Filename FROM dual;"
echo
cat $file | dos2unix | sed 's/commit[ ]*;//I'
cat $file | dos2unix
echo
echo
done
@ -51,7 +51,7 @@ then
for file in $DIRINI/../my_processes_post_migration/*.sql; do
echo "SELECT '`basename $file`' AS Filename FROM dual;"
echo
cat $file | dos2unix | sed 's/commit[ ]*;//I'
cat $file | dos2unix
echo
echo
done