Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

2010ÄêSQLiteѧϰ±Ê¼ÇÖ®Èý

                                                      
2010ÄêSQLiteѧϰ±Ê¼ÇÖ®Èý
Ò»£®ÈçºÎ±¸·ÝÊý¾Ý¿â
ÏÈ´ò¿ªÊý¾Ý¿âtest.db
E:\sqlite\tool\sqlite-3_6_22>sqlite3  D:\Test\debug\test.db
sqlite> .backup D:\\Test\\debug\\test.bak
×¢Ò⣺һ¶¨ÒªÓÃ\\˫б¸Ü
¶þ£®ÈçºÎ»Ö¸´Êý¾Ý¿â
ÏÈ´ò¿ªÊý¾Ý¿âtest.db
E:\sqlite\tool\sqlite-3_6_22>sqlite3  D:\Test\debug\test.db
sqlite> .restore D:\\Test\\debug\\test.bak
×¢Ò⣺һ¶¨ÒªÓÃ\\˫б¸Ü
Èý£®ÏÈÅжϱíÈç¹û²»´æÔÚ£¬ÔòÔÙ´´½¨±í
SQL¿ÉÒÔÈçÏÂд£¬¹©²Î¿¼£º
create table if not exists student(id integer primary key autoincrement,\
age smallint ,anchor smallint);
ËÄ£®ÈçºÎ²éѯSQLite3С¹¤¾ß»òÕßSQLite3.dll¶¯Ì¬Á´½Ó¿âµÄ°æ±¾
Ö´ÐÐ select sqlite_version();ÃüÁî¼´¿É
Î壮SQLite3µÄ×îа汾ÊÇ£¨½ØÖ¹ÈÕÆÚ2010Äê2ÔÂ22ÈÕ£©
3.6.22
Áù£®Õë¶ÔSQLite3,Á½´óÓÅÐãC++·â×°¿â
1.CppSQLite3
http://www.codeproject.com/KB/database/CppSQLite.aspx
2.wxSQLite3
http://sourceforge.net/projects/wxcode/files/Components/wxSQLite3/wxsqlite3-1.9.8.zip/download
Æß£®ÈçºÎÔÚWindowsϱàÒëSQLite3
1£®ÏÈ´Ó¹ÙÍø»ñÈ¡sqlite-amalgamation-3_6_22.zip£»
2£®½Ó×Å´Ó¹ÙÍø»ñÈ¡sqlitedll-3_6_22.zip
ÏÂÔØ±àÒëºÃµÄDLL£¬ÕâÀïÓÐÎÒÃÇÐèÒªµÄsqlite3.def¸ÃÎļþ
3£®´ò¿ªVCн¨Ò»¸ö“Win32 Dynamic-Link Library”¹¤³Ì£¬ÃüÃûΪ:sqlite3£»
4£®ÔÚ½ÓÏÂÀ´µÄ¶Ô»°¿òÖÐÑ¡Ôñ"An empty DLL project",µã FINISH->OK£»
5£®½«sqlite-amalgamation-3_6_22Îļþ¼ÐϵÄsqlite3.hÒÔ¼°sqlite3.cÁ½¸öÎļþ¸´ÖƵ½¹¤³ÌÎļþ¼ÐÏ£»
       ½«sqlitedll-3_6_22Îļþ¼ÐϵÄsqlite3.def¸ÃÎļþ¸´ÖƵ½¹¤³ÌÎļþ¼ÐÏ£»
6£®ÔÚ¹¤³ÌµÄSource FilesÖÐÌí¼Ósqlite3.cÎļþ£»
7£®ÔÚ¹¤³ÌµÄInclude FilesÖÐÌí¼Ósqlite3.hÎļþ£»
8£®ÔÚ¹¤³ÌµÄResource FilesÖÐÌí¼Ósqlite3.defÎļþ£»
9£®Õë¶ÔÈçÏÂÎÊÌ⣺
sqlite3.def : error LNK2001: unresolved external symbol sqlite3_colum


Ïà¹ØÎĵµ£º

SQLiteʹÓÃ

OS X×Ô´Ó10.4ºó°ÑSQLiteÕâÌ×Ï൱³öÃûµÄÊý¾Ý¿âÈí¼þ£¬·Å½øÁË×÷ҵϵͳ¹¤¾ß¼¯Àï¡£OS X°ü×°µÄÊǵÚÈý°æµÄSQLite£¬ÓÖ³ÆSQLite3¡£ÕâÌ×Èí¼þÓм¸¸öÌØÉ«£º
Èí¼þÊôÓÚ¹«¹²²Æ£¨public domain£©£¬SQLite¿É˵ÊÇijÖÖ¡¸ÃÀµÂÈí¼þ¡¹£¨virtueware£©£¬×÷Õß±¾ÈË·ÅÆú×Å×÷Ȩ£¬¶ø¸øÊ¹ÓÃSQLiteµÄÈËÒÔϵġ¸×£¸£¡¹£¨blessing£©£º
May you do good an ......

Unity3d ÖÐÎÄÊäÈëÊä³ö ²éѯsqliteÊý¾Ý¿â

CnGuiDB.js
var db : dbAccess;
public var mskin : GUISkin;
private var mstring : String;
var inputStr;
function Start(){
inputStr = "1";
}
function search(mid)
{
db = new dbAccess();
db.OpenDB("db1.db");
var tableName = "myTable";
// table name, I want to return everyo ......

SQLite ¼ò½é

SQLite ÊÇÒ»¸öʵÏÖÁËÍ걸µÄ£¨self-contained)£¬¿ÉǶÈëµÄ(embeddable)£¬ÁãÅäÖÃ(zero-configuration)µÄSQLÊý¾Ý¿âÒýÇæµÄСÐ͵ÄCº¯Êý¿â¡£Ëü°üº¬ÒÔϵÄÌØµã£º
.
    ÊÂÎñ´¦ÀíÔ­×Ó»¯(atomic)£¬Ò»Ö»¯(consistent)£¬³Ö¾Ã»¯(isolated)£¬¾øÔµ»¯(durable)£¬¼´Ê¹ÊÇÔÚϵͳ±ÀÀ£ºÍµôµçʱ
    ÁãÅäÖ㬲» ......

sqlite Êý¾Ý¿â¿ÉÊÓ»¯²é¿´Ð޸ķÖÎö¹¤¾ßsqlitebrowser


SQLite Database Browser
 
 
SQLite Database browser is a light GUI editor for SQLite databases, built on top of Qt. The main goal of the project is to allow non-technical users to create, modify and edit SQLite databases using a set of wizards and a spreadsheet-like interface.
Downlo ......

SQLite3 C/C++ ¿ª·¢½Ó¿Ú¼ò½é£¨APIº¯Êý£©


SQLite3ÊÇSQLiteÒ»¸öȫеİ汾,ËüËäÈ»ÊÇÔÚSQLite 2.8.13µÄ´úÂë»ù´¡Ö®ÉÏ¿ª·¢µÄ,µ«ÊÇʹÓÃÁ˺Í֮ǰµÄ°æ±¾²»¼æÈݵÄÊý¾Ý¿â¸ñʽºÍAPI. SQLite3ÊÇΪÁËÂú×ãÒÔϵÄÐèÇó¶ø¿ª·¢µÄ:
Ö§³ÖUTF-16±àÂë.
Óû§×Ô¶¨ÒåµÄÎı¾ÅÅÐò·½·¨.
¿ÉÒÔ¶ÔBLOBs×ֶν¨Á¢Ë÷Òý.
Òò´ËΪÁËÖ§³ÖÕâÐ©ÌØÐÔÎҸıäÁËÊý¾Ý¿âµÄ¸ñʽ,½¨Á¢ÁËÒ»¸öÓë֮ǰ°æ±¾²»¼æÈݵ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ