mysql run sql files_如何在Eclipse DTP中運行多個.sql文件
Part I
As far as I know the developers of Eclipse DTP have not yet implemented a command line SQL execution interface through the Eclipse console view.
據(jù)我所知,Eclipse DTP的開(kāi)發(fā)人員還沒(méi)有通過(guò)Eclipse控制臺(tái)視圖實(shí)現(xiàn)命令行SQL執(zhí)行接口。
請(qǐng)參閱eclipse DTP開(kāi)發(fā)人員論壇上的以下URL:http://dev.eclipse.org/newslists/news.eclipse.dtp/msg00304.html
Part II
While the Eclipse DTP people are working on it, you can use a database specific tool to load a master SQL file (all SQL proc files appended together)
當(dāng)Eclipse DTP人員正在處理它時(shí),您可以使用特定於數(shù)據(jù)庫(kù)的工具來(lái)加載主SQL文件(所有SQL proc文件附加在一起)
There are database specific console tools that will load your master SQL file command line. (ie. SQL*Plus for Oracle, ij for Apache Derby)
有一些特定於數(shù)據(jù)庫(kù)的控制臺(tái)工具將加載主SQL文件命令行。 (即SQL * Plus for Oracle,ij for Apache Derby)
Part III
An improvement over DOS batch is using Cygwin bash or python or perl to merge all of your sql files together into a master file.
對(duì)DOS批處理的改進(jìn)是使用Cygwin bash或python或perl將所有sql文件合並到一個(gè)主文件中。
I found that the text processing tools available in UNIX (awk,sed,cat...) are great for this sort of thing.
我發(fā)現(xiàn)UNIX中可用的文本處理工具(awk,sed,cat ...)非常適合這類事情。
總結(jié)
以上是生活随笔為你收集整理的mysql run sql files_如何在Eclipse DTP中運行多個.sql文件的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 1TB存储下放?realme高管称GT
- 下一篇: hibernate mysql分页_求s