码迷,mamicode.com
首页 > 数据库 > 详细

sqlite

时间:2020-10-27 10:51:41      阅读:31      评论:0      收藏:0      [点我收藏+]

标签:sse   def   sea   pid   iss   har   text   ext   rank   

数据库

                   con.Execute(string.Format(@"CREATE TABLE Category (
                                                Id INTEGER PRIMARY KEY AUTOINCREMENT  NOT NULL,
                                                Name  VARCHAR (50) NOT NULL,
                                                Pid  INTEGER,  CreationTime datetime,
                                                Sort  INT,
                                                LastModificationTime datetime
                                                );"));
                    con.Execute(string.Format(@"CREATE TABLE TableInfo (
                                                Id INTEGER PRIMARY KEY AUTOINCREMENT  NOT NULL,
                                                Name  VARCHAR (50) UNIQUE NOT NULL)
                                                ;"));
                    con.Execute(string.Format(@"CREATE TABLE Column (
                                                Id INTEGER PRIMARY KEY AUTOINCREMENT  NOT NULL,
                                                Name  VARCHAR (50) ,
                                                Text  VARCHAR (50) ,
                                                TableId  INTEGER)
                                                ;"));
                    con.Execute(string.Format(@"CREATE TABLE NumberInfo (
                                                Id INTEGER PRIMARY KEY AUTOINCREMENT  NOT NULL,
                                                Number  VARCHAR (50) UNIQUE NOT NULL,
                                                OldPass  VARCHAR (50)   , 
                                                NewPass  VARCHAR (50)   ,
                                                Phone  VARCHAR (50),
                                                MobileToken  VARCHAR (50),
                                                FullName  VARCHAR (50),
                                                IdCard  VARCHAR (50),
                                                CommonIp  VARCHAR (50),
                                                Mark  VARCHAR (50),
                                                CategoryId  INTEGER,
                                                Status  INT,
                                                Sell BOOLEAN,
                                                Rank INT,
                                                CreationTime datetime,
                                                LastModificationTime datetime,
                                                Dnf                  VARCHAR (500),
                                                IsSearchDnf          BOOLEAN       DEFAULT 0,
                                                IsDeleteFriend       BOOLEAN       DEFAULT 0
                                                );"));
                    con.Execute(string.Format(@"CREATE TABLE PhoneInfo (
                                                Id INTEGER PRIMARY KEY AUTOINCREMENT  NOT NULL,
                                                PhoneNumber  VARCHAR (50) UNIQUE NOT NULL,
                                                ImSi  VARCHAR (50)   , 
                                                CcId  VARCHAR (50)   , 
                                                Pass  VARCHAR (50)   , 
                                                Balance  VARCHAR (50)   ,
                                                Type  INT,
                                                State  INT, 
                                                DirectoryId INTEGER,
                                                Mark  VARCHAR (50),
                                                CreationTime datetime,
                                                LastModificationTime datetime
                                                );"));
                    con.Execute(string.Format(@"CREATE TABLE Directory (
                                                Id INTEGER PRIMARY KEY AUTOINCREMENT  NOT NULL,
                                                Name  VARCHAR (50) NOT NULL,
                                                Pid  INTEGER,  CreationTime datetime,
                                                Sort  INT,
                                                LastModificationTime datetime
                                                );"));

sqlite

标签:sse   def   sea   pid   iss   har   text   ext   rank   

原文地址:https://www.cnblogs.com/wangyinlon/p/13877089.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!