PostgreSQL sql放入文件批量執行

PostgreSQL sql放入文件,登入數據庫以後批量執行sql 1. 創建測試sql:數據庫 vi aa.sqlpost 插入:猜想每條sql語句是用;分隔的,function中的多個;也會自動識別。測試 create table tb1(id integer); insert into tb1 select generate_series(1,10); select * from tb1;
相關文章
相關標籤/搜索