惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Vercel News
Vercel News
Recorded Future
Recorded Future
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The GitHub Blog
The GitHub Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Google DeepMind News
Google DeepMind News
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Microsoft Azure Blog
Microsoft Azure Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
M
MIT News - Artificial intelligence
云风的 BLOG
云风的 BLOG
Y
Y Combinator Blog
N
News | PayPal Newsroom
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Help Net Security
Help Net Security
博客园 - Franky
SecWiki News
SecWiki News
Recent Announcements
Recent Announcements
T
Troy Hunt's Blog
The Register - Security
The Register - Security
The Last Watchdog
The Last Watchdog
Webroot Blog
Webroot Blog
S
Security Affairs
博客园 - 司徒正美
S
Schneier on Security
I
InfoQ
博客园_首页
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Threat Research - Cisco Blogs
Forbes - Security
Forbes - Security
腾讯CDC
N
Netflix TechBlog - Medium
N
News and Events Feed by Topic
Cloudbric
Cloudbric
T
The Exploit Database - CXSecurity.com
P
Proofpoint News Feed
A
About on SuperTechFans
Engineering at Meta
Engineering at Meta
Recent Commits to openclaw:main
Recent Commits to openclaw:main
B
Blog
V
Vulnerabilities – Threatpost
C
Check Point Blog
Google DeepMind News
Google DeepMind News
Google Online Security Blog
Google Online Security Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Hacker News - Newest:
Hacker News - Newest: "LLM"
C
Cisco Blogs
Schneier on Security
Schneier on Security
O
OpenAI News
K
Kaspersky official blog

博客园 - jerreychen

常用的JavaScript验证正则表达式 用CSS设置打印换页 使用Form认证实现用户登录 (LoginView的使用) 向容器(PlaceHolder)中动态添加多个用户控件(UserControl) C#.Net中WinForm采用Active Directory进行身份认证 Windows XP 如何设置系统自动关机任务 - jerreychen DataList嵌套GridView实现文章分类列表显示(2) visual studio 2008 sp1中如何让WebBrowser控件可编辑 - jerreychen 学习笔记 - jerreychen - 博客园 如何将.xsd文件自动生成对象 ASP.NET页面事件:顺序与回传详解 读取自定义的config文件 - jerreychen - 博客园 Umbraco 设置Document Types 的默认值 格式化数据 Net支持gzip 压缩格式 压缩与解压 .net 序列化数据对象 .net 下,日期的格式化 太久太久没来了,久违了-博客园 showModelDialog 关闭后改变GridView某个单元格的值
SQLite 数据库初学
jerreychen · 2008-10-09 · via 博客园 - jerreychen

以前,我开发一直都是采用MSSql + dot Net 或者 MySql + dot Net

如果是小型的什么项目,我会采用Access + dot Net

呵呵呵  说实在的,我开始并不了解Sqlite是什么玩意儿...  十分惭愧啊

先了解下Sqlite是啥?

  SQLite是一款轻型的数据库,它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中,可能只需要几百K的内存就够了。它能够支持Windows/Linux/Unix等等主流的操作系统,同时能够跟很多程序语言相结合,比如Tcl、PHP、Java等,还有ODBC接口,同样比起Mysql、PostgreSQL这两款开源世界著名的数据库管理系统来讲,它的处理速度比他们都快。SQLite虽然很小巧,但是支持的SQL语句不会逊色于其他开源数据库

      于是就到官方网站: http://www.sqlite.org/download.html  去下载了个 Sqlite

Precompiled Binaries For Windows
  sqlite-3_6_3.zip
(233.97 KiB)
  A command-line program for accessing and modifing SQLite databases. See the documentation for additional information.
  tclsqlite-3_6_3.zip
(296.75 KiB)
  Bindings for Tcl/Tk. You can import this shared library into either tclsh or wish to get SQLite database access from Tcl/Tk. See the documentation for details.
  sqlitedll-3_6_3.zip
(224.99 KiB)
  This is a DLL of the SQLite library without the TCL bindings. The only external dependency is MSVCRT.DLL.
  sqlite3_analyzer-3.6.1.zip
(508.70 KiB)
  An analysis program for database files compatible with SQLite version 3.6.1 and later.

我就下载了第一个,是命令行下操作sqlite的,然后我解压出来,就一个文件 sqlite3.exe,开始还真有点蒙了,看了官网的 Document

下面我进行配置

1、设置环境变量,这个我想都会的吧

就在我的电脑的属性 -  高级 - 环境变量 ,然后在Path 结尾处加入 “;sqlite3.exe所在的目录地址”保存设置

2、进入command模式

开始 - 运行 输入“cmd“  输入 “sqlite3  testdb.db”  

然后系统会提示

这样就创建了一个数据库在当前目录下了,但是这时候你可以去找下,估计还是没有的

然后输入 “create table tb1 (city varchar(20), name varchar(20));”

这样 ok  一个数据库内涵一个数据表就建好了    嘿嘿

感觉好像很麻烦的,不过大家可以去  http://sqliteadmin.orbmu2k.de/  下载一个  SQLite Administrator   就很方便了 

呵呵  写的很乱呐

注:原创文章,转载请添加出处,谢谢( http://chenjilv.cnblogs.com )