Ema*_*sev 19 php sqlite
我需要我的PHP应用程序才能创建一个SQLite表,但前提是它还不存在.我该怎么办呢?
hal*_*dan 41
您可以使用:
CREATE TABLE IF NOT EXISTS <name> ( /* definition */ )
SQLite支持哪一项(http://www.sqlite.org/syntaxdiagrams.html#create-table-stmt)
Bjö*_*lex 5
使用IF NOT EXISTS.
IF NOT EXISTS
Dre*_*all 5
CREATE TABLE IF NOT EXISTS ...
归档时间:
15 年,1 月 前
查看次数:
17617 次
最近记录:
6 年,7 月 前