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

SQLiteµÄ¾ÖÏÞÐÔ

SQL-92ÌØÐÔ·½Ãæ
ÕýÈçÇ°ÃæÌáµ½µÄ£¬SQLite²»Ö§³ÖSQL-92µÄÔںܶàÆóÒµÊý¾Ý¿âϵͳÖпÉÓõÄһЩÌØÐÔ¡£
È磺
Íâ¼üÔ¼Êø£¨¿É½âÎöµÄ£¬µ«·ÇÇ¿ÖÆ£©
ºÜ¶àALTER TABLEÌØÐÔ
һЩTRIGGERÏà¹ØµÄÌØÐÔ
RIGHTºÍFULL OUTER JOIN
¸üÐÂÒ»¸öVIEW
GRANTºÍREVOKE
Äã¿ÉÒÔÔÚSQLiteµÄÖ÷Ò³ÉÏ»ñÈ¡×îÐÂÐÅÏ¢¡£
http://www.sqlite.org/omitted.html
http://www.sqlite.org/cvstrac/wiki?p=UnsupportedSql
µÍ²¢·¢²Ù×÷
SQLiteÖ»Ö§³ÖƽÃæÊÂÎñ£»ËüûÓÐǶÌ׺ÍÓª¾ÈµãÄÜÁ¦¡£Ç¶Ì×Òâζ×ÅÔÚÒ»¸öÊÂÎñÖпÉÒÔÓÐ×ÓÊÂÎñµÄÄÜÁ¦¡£Óª¾ÈµãÔÊÐíÒ»¸öÊÂÎñ·µ»Øµ½Ç°ÃæÒѾ­µ½´ïµÄ״̬¡£ËüûÓÐÄÜÁ¦È·±£¸ß²ã´ÎÊÂÎñµÄ²¢·¢¡£ËüÔÊÐíÔÚµ¥¸öµÄÊý¾Ý¿âÎļþÉ϶à¸ö²¢·¢µÄ¶ÁÊÂÎñ£¬µ«ÊÇÖ»ÄÜÓÐÒ»¸öÅÅËûµÄдÊÂÎñ¡£Õâ¸ö¾ÖÏÞÐÔÒâζ×ÅÈç¹ûÓÐÊÂÎñÔÚ¶ÁÊý¾Ý¿âÎļþµÄÒ»²¿·Ö£¬ËùÓÐÆäËûµÄÊÂÎñ½«±»½ûֹд¸ÃÎļþµÄÈκÎÒ»²¿·Ö¡£ÀàËƵģ¬Èç¹ûÓÐÊÂÎñÔÚдÊý¾Ý¿âÎļþµÄÒ»²¿·Ö£¬ËùÓÐÆäËûÊÂÎñ½«±»½ûÖ¹¶Á»òÕßд¸ÃÎļþµÄÈκÎÒ»²¿·Ö¡£
Ó¦ÓÃÏÞÖÆ
ÒòΪËüÊÂÎñ´¦ÀíµÄÓÐÏÞ²¢·¢£¬SQLiteÖ»Éó¤´¦ÀíСÐ͵ÄÊÂÎñ¡£ÔںܶàÇé¿öÏ£¬Õâ²»ÊÇÎÊÌ⡣ÿ¸öÓ¦ÓÃѸËÙµÄÍê³ÉËüµÄÊý¾Ý¿â¹¤×÷È»ºó¼ÌÐøÇ°½ø£¬Òò´ËûÓÐÒ»¸öÊÂÎñ»á³ÖÓÐÊý¾Ý¿â³¬¹ý¶àÉÙºÁÃë¡£µ«ÊÇÔÚһЩӦÓÃÖУ¬ÌرðÊÇдÈëÃܼ¯µÄ£¬ÒªÇó¸ü¶àµÄ²¢·¢µÄÊÂÎñ´¦Àí£¨±í»òÕßÐ춱ðµÄ¶ø²»ÊÇÊý¾Ý¿â¼¶±ðµÄ£©ÄÇôÄ㽫ҪΪ¸ÃÓ¦ÓÃʹÓÃÆäËû²»Í¬µÄDBMS¡£SQLite²¢²»´òËã³ÉΪһ¸öÆóÒµDBMS¡£Ëû×îÊʺÏÓÚʵÏÖ£¬Î¬»¤ºÍ¹ÜÀíµÄ¼òµ¥ÐÔ±ÈÉÌÒµÊý¾Ý¿âµÄÎÞ¾¡¸´ÔÓÌØÐÔ¸üΪÖØÒªµÄÇé¿ö¡£
NFSÎÊÌâ
SQLiteʹÓñ¾µØÎļþËøÔ­ÓïÀ´¿ØÖÆÊÂÎñ´¦ÀíµÄ²¢·¢ÐÔ¡£Èç¹ûÊý¾Ý¿âÎļþפÁôÔÚÍøÂç·ÖÇøÉÏ£¬¿ÉÄܻᵼÖÂÎļþËø²»Äܹ¤×÷¡£ºÜ¶àµÄNFSʵÏÖ±»ÈÏΪÔÚËüÃǵÄÎļþËøÖÐÊÇÓÐbugµÄ£¨ÔÚUnixºÍWindowsÉÏ£©¡£Èç¹ûÎļþËø²»ÄÜÏñÔ¤¼ÆµÄÒ»Ñù¹¤×÷£¬ÄÇô¾Í¿ÉÄÜ»áÓÐÁ½¸ö»òÁ½¸öÒÔÉϵÄÓ¦ÓóÌÐòÔÚͬʱÐÞ¸ÄÏàͬÊý¾Ý¿âµÄͬһ²¿·Ö£¬µ¼ÖÂÁËÊý¾Ý¿âµÄ»Ù»µ¡£ÒòΪÕâ¸öÎÊÌâµÄ³öÏÖÊÇÒòΪλÓÚϲãµÄÎļþϵͳµÄʵÏÖµÄBUG£¬ËùÒÔSQLiteûÓа취×èÖ¹ËüµÄ·¢Éú
ÁíÒ»Ô­ÒòÊÇ´ó¶àÊýÍøÂçÎļþϵͳµÄÁ¬½ÓÑÓʱ£¬Ð§¹û²»ÊǺܺá£ÔÚÕâÖÖ»·¾³Ï£¬ÔÚÊý¾Ý¿âÎļþ±ØÐëÒª¿çÍøÂç·ÃÎʵÄÇé¿öÏ£¬ÊµÏÖÁË¿Í»§¶Ë-·þÎñÆ÷µÄÄ£Ð͵ÄDBMS»á±ÈSQLite¸üÓÐЧ¡£
Êý¾Ý¿â¹æÄ£
ÒòΪËüµÄ¿ª·¢ÈËÔ±µÄ¿ª·¢Éè¼ÆÑ¡Ôñ£¬SQLite¿ÉÄܲ»ÊÇÒ»¸ö×ö·Ç³£´óÐ͵ÄÊý¾Ý¿âºÃÑ¡Ôñ¡£ÔÚÀíÂÛÉÏ,Ò»¸öÊý¾Ý¿âÎļþÎļþ¿ÉÒÔÓÐ2TB£¨241£©¡£ÈÕÖ¾×ÓϵͳµÄÄڴ濪ÏúºÍÊý¾Ý¿â´óСÊdzɱÈÀýµÄ¡£¶Ôÿ¸öдÊÂÎñ£¬ÎÞÂÛÊÂÎñʵ¼ÊÊÇдÊǶÁÄǸöÒ³£¬SQLiteΪÿ¸öÊý¾Ý¿âҳά»


Ïà¹ØÎĵµ£º

SQLite°Ù¶È


[±à¼­±¾¶Î
]
SQLite¼ò½é
SQLite
µÚÒ»¸öAlpha°æ±¾µ®ÉúÓÚ2000Äê5ÔÂ. ÖÁ½ñÒѾ­ÓÐ10¸öÄêÍ·ÁË. SQLiteÒ²Ó­À´ÁËÒ»¸ö°æ±¾ SQLite 3ÒѾ­·¢²¼.
¡¡¡¡SQLiteÊÇÒ»¿îÇáÐ͵ÄÊý¾Ý¿â£¬ÊÇ×ñÊØACIDµÄ¹ØÁªÊ½Êý¾Ý¿â¹ÜÀíϵͳ£¬ËüµÄÉè¼ÆÄ¿±êÊÇǶÈë
ʽµÄ£¬¶øÇÒÄ¿Ç°ÒѾ­ÔںܶàǶÈëʽ²úÆ·ÖÐʹÓÃÁËËü£¬ËüÕ¼ÓÃ×ÊÔ´·Ç³£µÄµÍ£¬ÔÚǶÈëʽÉ豸ÖУ¬¿ ......

android µÄsqlite Ö÷¼üÓësimpleCursorAdapter

android µÄsqlite Ö÷¼üÓësimpleCursorAdapter
×î½üÔÚÔÚ×öÒ»¸öСÀý×Óʱ£¬³öÏÖÒ»¸öСÎÊÌ⣬¾ÍÊDz»ÄÜÏÔʾ´ÓÊý¾Ý¿âÖвé³öµÄÊý¾Ý£¬ºóÀ´ÔÚÍøÉϲéÁËÒ»²é£¬²ÅÖªµÀÔ­À´ÊÇÕâ¸öÎÊÌâ¡£ 
 ÔÚʹÓÃsimpleCursorAdapterÏÔʾsqliteÊý¾Ýʱ£¬±ØÐë×¢ÒâsqliteµÄÖ÷¼üÃüÃû¡£ÓÉÓÚsimpleCursorAdapterµÄ·½·¨Ö»Ê¶±ð_id£¬ËùÒÔ£¬µ±ÄãÓõ½sql ......

sqlite Êý¾Ý¿âµÄ²Ù×÷

********´´½¨***********
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
public class DataBaseOpenHelper extends SQLiteOpenHelper {
 public static fi ......

SQLite ³õÌåÑé

1. ÏÂÔØ×îаæ SQLite (sqlite-3_6_23_1), copyµ½C:\ÏÂ.
2. н¨Êý¾Ý¿â:
C:\>sqlite3.exe "d:\testdb.db"
3.½øÈëÁËsqlite3Ö®ºó£¬»á¿´µ½ÒÔÏÂÎÄ×Ö£º
SQLite version 3.1.3
Enter ".help" for instructions
sqlite>
4.½¨Ò»¸öÃû½ÐfilmµÄÊý¾Ý¿â±í
create table film(title, length, year, starring);
5.²åÈë¼Ç¼ ......

Android (SQLite Êý¾Ý¿âÓëContentProvider)

ÔÚ AndroidÖУ¬¶ÔÓÚÊý¾ÝµÄ´æÖü£¬Óм¸ÖÖ·½Ê½£¬ÓÐÎļþ·½Ê½£¬ÓÐÎļþʽÊý¾Ý¿â·½Ê½,Android×Ô´øÁËÒ»¸öSQLiteÊý¾Ý¿â£¬×öǶÈ뿪·¢µÄÈ˶ÔÕâ¸ö¿çƽ̨µÄ±¾µØÎļþÊý¾Ý¿âÒ»¶¨²»»áÄ°Éú£¬ÔÚAndroid¶ÔÓÚÊý¾ÝµÄ·ÃÎÊ£¬Ìá³öÁËеķ½Ê½£¬ContentProvider·½Ê½£¬ÀàËÆÓÚMSµÄ ContentProvider·½Ê½µÄ£¬OLEDB£¬¼°ODBCͳһµÄÊý¾Ý·½Ê½¡£
ÎÒÃÇÊ×ÏÈÀ´¿´¿ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ