![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SQLLite
yw1688
这个作者很懒,什么都没留下…
展开
-
SQLLite--判断表是否存在,存在则删除,反之创建
以前的项目一直都是在用MSSql、Oracle、MySql、Access等数据库,但是这些数据库对服务器多少会有一些依赖,所以想试一下SQLLite;sqllite和其它数据库的SQL语法有些差异,所以列在这里备忘。drop table if exists Abouttab;--直接Exists表名就行了create table if not exists Abouttab( Id原创 2015-10-18 22:53:36 · 11672 阅读 · 0 评论 -
sqllite中创建默认时间
drop table if exists Depart; --部门表create table Depart( DeptId integer primary key autoincrement, --自增ID DeptNo varchar(20) not null,原创 2015-10-19 22:11:37 · 1046 阅读 · 0 评论