postgresql - How to execute *.sql file using psql -
created index.sql
file contains index creating script
95 table
for example
drop index if exists gtab03_vrctrlid_idx cascade; create unique index gtab03_vrctrlid_idx on gtab03 using btree (vrctrlid);
i have consolidated table's index creating script
file called index.sql
need run entire script @ time,is possible execute index.sql
file using psql
database : postgresql
is u mean?
\i e:/myfolder/index.sql;
Comments
Post a Comment