Technical Article

Replace script extension PRC with SQL

,

When you tell Enterprise Manager to "Create one file per object" when scripting objects from the database it gives those scripts a PRC extension.

Unfortunately SQL Query Analyser defaults to a .SQL extension.

The following DOS command renames all .PRC files to .SQL

FOR %T IN (*.PRC) DO Rename %T %~nT.SQL

Rate

You rated this post out of 5. Change rating

Share

Share

Rate

You rated this post out of 5. Change rating