ã¹ãã³ãµã¼ããªã³ã¯ SQLiteãã¯ãããã ã¤ã³ã¹ãã¼ã« http://www.sqlite.org/ã®downloadã®ãªã³ã¯ããææ°çããã¦ã³ãã¼ããã¾ãããã¤ããªã¼çã¯Linux ã¨Windowsç¨ãããã¾ããã½ã¼ã¹ã³ã¼ãã®æ¹ã¯ä»¥ä¸ã®ã³ãã³ãã ãã§å¤§ä¸å¤«ã§ãã $ ./configure; make; make install DBä½æ sqlite3ã³ãã³ãã©ã¤ã³ãã¼ã«ã§ä½æãä½ãããDBãå¼æ°ã«æå®ããã ãã§ä½æãã§ãããã¾ãããã§ã«åå¨ããDBåãæå®ããå ´åã¯ãã®DBã«æ¥ç¶ãããã $ sqlite3 test.db # "test.db"ã¨ããDBãä½æ SQLite version 3.3.6 Enter ".help" for instructions sqlite> create table t1(i int, t text); sqlite> insert int
sqlite: SQLite ãã¼ã¿ãã¼ã¹ã管çããããã°ã©ã (This page was last modified on 2003/06/29 16:11:13 UTC) SQLite ã©ã¤ãã©ãªã«ã¯ sqlite ã¨ããã·ã³ãã«ãªã³ãã³ãã©ã¤ã³ ã¦ã¼ãã£ãªãã£ãå«ã¾ãã¾ããããã使ãã¨ãã¦ã¼ã¶ã¯æä½æ¥ã§ SQLite ãã¼ã¿ãã¼ã¹ã«æ¥ç¶ã㦠SQL ã³ãã³ããå®è¡ã§ãã¾ãããã®ææ¸ã§ã¯ sqlite ã®ä½¿ãæ¹ã«é¢ããæ¦ç¥ãç´¹ä»ãã¦ãã¾ãã èµ·åãã sqlite ãèµ·åããã«ã¯åã« "sqlite" ã¨ã¿ã¤ããããã®å¾ãã« SQLite ãã¼ã¿ãã¼ã¹ãä¿æãããã¡ã¤ã«åãä»ãã¾ãããã¡ã¤ã«ãåå¨ ããªãå ´åã¯ãèªåçã«æ°ããä½ããã¾ããèµ·åå¾ sqlite ããã°ã©ã ã¯ãSQL ãã¿ã¤ãããããã®ããã³ããã表示ãã¾ãã SQL ã¹ãã¼ãã¡ã³ãï¼çµäºã¯ã»ãã³ãã³ï¼ãã¿ã¤ããã "E
PerlããSQLiteãæä½ããæ¹æ³ã«ã¤ã㦠DBIx::Simpleã¢ã¸ã¥ã¼ã«ãã¤ã³ã¹ãã¼ã«ããã ãã¼ã¿ãã¼ã¹ã¸ã®æ¥ç¶ ã¬ã³ã¼ããåå¾ï¼SELECTï¼ãã ã¬ã³ã¼ãã追å ï¼INSERTï¼ãã ã¬ã³ã¼ããæ´æ°ï¼UPDATEï¼ãã ã¬ã³ã¼ããåé¤ï¼DELETEï¼ãã ä»åèã«ãªããµã¤ã DBIx::Simpleã¢ã¸ã¥ã¼ã«ãã¤ã³ã¹ãã¼ã«ããã ä»åã¯å¤æ©è½ãæ±ãã¦ããªãã®ã§ãDBã«æ¥ç¶ããã©ããã¼ã¯DBIx::Simpleãå©ç¨ãã¾ãã % perl -MCPAN -e 'install DBIx::Simple' ãã¼ã¿ãã¼ã¹ã®å 容 BEGIN TRANSACTION; CREATE TABLE spell (id integer primary key, name text, message text); INSERT INTO spell VALUES(1,'ãã¤ã','HPãå°ãå
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}