ï¼¼ééäºå®ã®ãµã¤ãã売ããããï¼ï¼ ã¢ã¯ã»ã¹ããªããµã¤ããã³ã³ãã³ã価å¤ã§å£²ããå ´åã⦠ãã¡ã¤ã³ã®æå¹æéãæ´æ°ãã¦ãµã¤ã売å´ã«ãã©ã¤ãã¦ã¿ã¾ããã
ï¼¼ééäºå®ã®ãµã¤ãã売ããããï¼ï¼ ã¢ã¯ã»ã¹ããªããµã¤ããã³ã³ãã³ã価å¤ã§å£²ããå ´åã⦠ãã¡ã¤ã³ã®æå¹æéãæ´æ°ãã¦ãµã¤ã売å´ã«ãã©ã¤ãã¦ã¿ã¾ããã
SQLiteã¯è»½éã®çµã¿è¾¼ã¿DBã¨ãã¦æè¿è¯ã使ããã¦ãã¦ãPHPãPythonã æè¿ã§ã¯AndroidãiPhoneã«ãæè¼ããã¦ããã SQLiteã«ã¯Cã®ã©ã¤ãã©ãªãç¨æããã¦ãã¦ãC/C++ããã¯çµæ§èªç±ã«æ±ããããã ãã Javaãã使ãã«ã¯ä»ã®DBMSã¨åæ§ãJDBCçµç±ã§ã¢ã¯ã»ã¹ãããããã ãããã©ãããªããçµã¿è¾¼ã¿DBãããAPIããã´ãªã´ãªæ±ããããªãã¨æã£ã¦ãããã SQLiteãã®ã©ã¤ãã©ãªãJavaã§å®è£ ããããSQLJetãã¨ãããã®ããããããã ãããSQLJetåä½ã§åä½ããSQLiteãä¸è¦ãããã¯è¯ãã¨æãã使ã£ã¦ã¿ãã SQLJet http://sqljet.com/ SQLJet API Tutorial http://sqljet.com/tutorial.html 1ï¼ãã¦ã³ãã¼ãï½è¨å® ã¾ãã¯ä¸è¨ã®ãµã¤ãã®ãDownload SQLJet
SQLite ã§ãã¼ã¿ã追å ããã¨ããã¼ã¿æ¯ã« ROWID ã¨å¼ã°ããå¤ãèªåçã«å²ãå½ã¦ããä»ã®ã«ã©ã ã®å¤ã¨åãããã«ãã¼ã¿ã¨ãã¦æ ¼ç´ããã¾ããããã§ã¯ SQLite ã«ããã ROWID ã®å©ç¨æ¹æ³ã¨ INTEGER PRIMARY KEY ã¨ã®é¢ä¿ã«ã¤ãã¦è§£èª¬ãã¾ãã
SQLiteã§èªåã§ã¤ã³ã¯ãªã¡ã³ãããã«ã©ã ãå®ç¾©ããã«ã¯ ãã«ã©ã å INTEGER PRIMARY KEYã ã¨ãã風ã«ãã¦CREATE TABLEãã¾ããä¸ãä¾ã«ãªãã¾ããä¸ã®ä¾ã§ã¯ã«ã©ã åIDXã¨ããååã®ãªã¼ãã¤ã³ã¯ãªã¡ã³ããããã«ã©ã ãå®ç¾©ãã¦ãã¾ããä¸ã®ãµã³ãã«ã§ä½æããããã¼ãã«ã«INSERTããã¨IDXã¯èªåã§ã¤ã³ã¯ãªã¡ã³ãããã¦ããã¾ããã¤ã³ãµã¼ããããã³ã«ï¼ï¼ï¼ï¼ï¼ã»ã»ã»ã¨åæã«ã¤ã³ã¯ãªã¡ã³ããããããã§ããã¦ãã¼ã¯ãªå¤ã§ãã®ã§ããããã¼ã¨ãã¦å©ç¨ããããã¾ããæå¾ã®ã»ãã®ãã°åé¿ã®ãã¾ããªãã¯ç¾å¨ã®ãã¼ã¸ã§ã³ã®SQLiteã«ä¸å ·åãããããããããã¯ãã¼ãºã¨ã©ã¼ã«ãªãã®ã§ãã³ãã«ãundefã§éæ¾ãã¦ããã¦ãã¾ãããããªãã¨ã¨ã©ã¼ã表示ããã¾ããåããªãã¨ããããã§ã¯ãªãããã§ãã #!/usr/bin/perl # # ãã¹ãç¨ãã¼ãã«TEST_TBLãä½æãããµ
SQLJet is an independent pure Java implementation of a popular SQLite database management system. SQLJetéçºãã¼ã ã¯15æ¥(ç±³å½æé)ãSQLJetã®ææ°çã¨ãªãSQLJet 1.0.0ãå ¬éãããSQLJetã¯Javaã§å®è£ ãããSQLiteãã¼ã¿ãã¼ã¹æä½ç¨ã©ã¤ãã©ãªãSQLite 3.6ã®ãã¼ã¿ãã¼ã¹ãã©ã¼ãããã«å¯¾å¿ãGPLã®ãã¨ã§ãªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã¨ãã¦æä¾ããã¦ããã SQLJetã使ãã«ããã£ã¦SQLiteãã»ãã®ãã¤ãã£ãã©ã¤ãã©ãªã¯ä¸è¦ãJavaã§éçºãããSQLJetã®ã¿ã§åä½ãããSQLiteã使ã£ã¦ä½æããããã¼ã¿ãã¼ã¹ãã¡ã¤ã«ã®èªã¿è¾¼ã¿ã¨æä½ãã¾ãã¯èªãSQLiteãã¼ã¿ãã¼ã¹ãã¡ã¤ã«ãä½æããæ©è½ãæä¾ãã¦ãããä»ã®ã¨ããAPIçµç±ã®æä½ã®ã¿æä¾ããS
Androidã§SQLiteã®DBæä½ãããããã®åºç¤ç¥èï¼Androidã§åãæºå¸¯Javaã¢ããªä½æå ¥éï¼6ï¼ï¼1/3 ãã¼ã¸ï¼ æ¬é£è¼ã§ãSDKã¨Eclipseã使ã£ã¦Androidã®æºå¸¯ç«¯æ«ã§åãJavaã¢ããªãä½æããAndroid Marketé å¸ãç®æãã¾ããã Androidã®ãã¼ã¿ãã¼ã¹ãããã¾æµè¡ä¸ã®ãSQLiteã Javaããã°ã©ãã¯ã大ããåããã¨2種é¡ã«åé¡ããã¾ããã¨ã³ã¿ã¼ãã©ã¤ãºã»ãµã¼ããµã¤ãç³»Javaããã°ã©ãã¨ãçµã¿è¾¼ã¿ç³»Javaããã°ã©ãã§ãã çè ã¯çµã¿è¾¼ã¿ç³»ã§ãããJavaãå§ãããã£ããã¯ãµã¼ããµã¤ãç³»ï¼æ£ç¢ºã«ã¯ãJavaã¢ãã¬ããï¼ã§ãããµã¼ããµã¤ãç³»ã§ã¯ãã¼ã¿ãã¼ã¹ã¯å¿ é ãã¨ãããããããæéè¦ã®ã·ã¹ãã ã§ãããçµã¿è¾¼ã¿ç³»ã§ã¯ãã¼ã¿ãã¼ã¹ã使ç¨ãããã¨ã¯ã»ã¨ãã©ããã¾ããã§ããããã ãããããã¾ã§ã¯ãã§ãã ä»åã¯Androidã«æ¨æºã§çµã¿è¾¼ã¾
SQLiteãã¼ã¿ãã¼ã¹ã¯ãCã§æ¸ããã軽éãã¼ã¿ãã¼ã¹ã§ããã軽éãã¨ããã®ã¯2ã¤ã®æå³ããã£ã¦ãå ¨ä½ã®ã³ã¼ãæ°ã10ä¸è¡ç¨åº¦ã¨ããç¹ï¼PostgreSQLã¯100ä¸è¡ã«è¿ã¥ãã¦ãã¾ãï¼ã¨ããã¼ã¿ãã¼ã¹ãä¿åãããã¡ã¤ã«ã1ã¤ã«ç´ã¾ã£ã¦ããã®ãSQLiteã®ç¹å¾´ã§ããä»ã®ã·ã¹ãã ã ã¨ãè¤æ°ã®ãã¼ã¿ãã¼ã¹ç¨ã®ãã¡ã¤ã«ããã£ã¦ç®¡çãé¢åãªã®ã§ãããSQLiteã®ãã¼ã¿ãã¼ã¹ã¯ãã¡ã¤ã«1ã¤ã§ããããOSäºæãã©ã¼ãããã§ä¿åããã¦ããã®ã§ãç°¡åã«OSãã¾ããã£ããã¼ã¿ãã¼ã¹ã®ã³ãã¼ãä½æãããã¨ãã§ãã¾ãã ãããããªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ï¼æ¥æ¬èªã§ã¯é¢ä¿ãã¼ã¿ãã¼ã¹ã¨è¨³ããã¨ãå¤ãã§ãï¼ã£ã¦ä½ï¼ã¨ããæ¹ã¯ãåå¿è åãã«ç¨æãã以ä¸ã®è¬ç¾©è³æãåèã«ãã¦ãã ããã Javaã§ãã¼ã¿ãã¼ã¹ã¢ããªã±ã¼ã·ã§ã³ãä½æããã«ã¯ãJDBC (Java Database Connection)ã¨ããAPI
ãPupSQLiteãã¯ãããªã¼ã§å©ç¨ã§ãã軽éãã¼ã¿ãã¼ã¹ã¨ã³ã¸ã³ãSQLiteãã®ãã¼ã¿ãã¼ã¹ãGUIã§ç®¡çã§ããã½ãããWindows XP/Vistaã«å¯¾å¿ããå¯ä»æè¿ã®ããªã¼ã½ããã§ãä½è ã®Webãµã¤ããããã¦ã³ãã¼ãã§ããããªããåä½ã«ã¯.NET Framework 2.0以éãå¿ è¦ã æ¬ã½ããã«ã¯ãSQLiteãã®ã©ã¤ãã©ãªâsqlite3.dllâãå梱ããã¦ãããç°å¢ã®æ§ç¯ä½æ¥ãªã©ãå¿ è¦ãªããã®ã¾ã¾å©ç¨å¯è½ãç»é¢ã¯MDIæ¹å¼ã«ãªã£ã¦ãããè¤æ°ã®ãã¼ã¿ãã¼ã¹ãããããåæã«åã¦ã£ã³ãã¦ã¨ãã¦éããã¨ãã§ãããåãã¼ã¿ãã¼ã¹å ã®ãã¼ãã«ã¯ããã¼ã¿ãã¼ã¹ã®ã¦ã£ã³ãã¦å ã«ã¿ãåãæ¿ãåã®ã°ãªãããã¥ã¼ã¨ãã¦è¡¨ç¤ºãããä»çµã¿ã æ©è½ãå å®ãã¦ããããã¼ãã«å ãã¼ã¿ã®é²è¦§ã»ç·¨éã¯ãã¡ãããSQLæãçºè¡ãã¦çµæã表形å¼ã§é²è¦§ã§ããæ©è½ããã¼ãã«å®ç¾©æãåºåããæ©è½ã2ã¤ã®ãã¼ãã«ãæ¯
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}