热门标签 | HotTags
当前位置:  开发笔记 > 后端 > 正文

davincisqlserver

--------------------------------Tablestructureforcron_job------------------------------DRO


-- ----------------------------
-- Table structure for cron_job
-- ----------------------------
DROP TABLE IF EXISTS cron_job;
CREATE TABLE cron_job
(
id bigint NOT NULL identity(1,1),
name nvarchar(45) NOT NULL,
project_id bigint NOT NULL,
job_type nvarchar(45) NOT NULL,
job_status nvarchar(10) NOT NULL DEFAULT '',
cron_expression nvarchar(45) NOT NULL,
start_date datetime NOT NULL,
end_date datetime NOT NULL,
config text NOT NULL,
description nvarchar(255) DEFAULT NULL,
exec_log text ,
create_by bigint NOT NULL,
create_time smalldatetime NOT NULL DEFAULT getdate(),
update_by bigint DEFAULT NULL,
update_time smalldatetime NULL DEFAULT NULL,
parent_id bigint DEFAULT NULL,
full_parent_id nvarchar(255) DEFAULT NULL,
is_folder tinyint DEFAULT NULL,
[index] int DEFAULT NULL,
PRIMARY KEY (id)
) ;
alter table cron_job add constraint name_UNIQUE unique(name);
-- ----------------------------
-- Table structure for dashboard
-- ----------------------------
DROP TABLE IF EXISTS dashboard;
CREATE TABLE dashboard
(
id bigint NOT NULL identity(1,1),
name nvarchar(255) NOT NULL,
dashboard_portal_id bigint NOT NULL,
type smallint NOT NULL,
[index] int NOT NULL,
parent_id bigint NOT NULL DEFAULT '0',
config text,
full_parent_Id nvarchar(100) DEFAULT NULL,
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (id)
)
;
create index idx_dashboard_id on dashboard(dashboard_portal_id);
create index idx_parent_id on dashboard(parent_id);
-- ----------------------------
-- Table structure for dashboard_portal
-- ----------------------------
DROP TABLE IF EXISTS dashboard_portal;
CREATE TABLE dashboard_portal
(
id bigint NOT NULL identity(1,1),
name nvarchar(255) NOT NULL,
description nvarchar(255) DEFAULT NULL,
project_id bigint NOT NULL,
avatar nvarchar(255) DEFAULT NULL,
publish tinyint NOT NULL DEFAULT '0',
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (id)
)
;
create index idx_project_id on dashboard_portal(project_id);
-- ----------------------------
-- Table structure for display
-- ----------------------------
DROP TABLE IF EXISTS display;
CREATE TABLE display
(
id bigint NOT NULL identity(1,1),
name nvarchar(255) NOT NULL,
description nvarchar(255) DEFAULT NULL,
project_id bigint NOT NULL,
avatar nvarchar(255) DEFAULT NULL,
publish tinyint NOT NULL,
config text NULL,
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (id)
)
;
create index idx_project_id on display(project_id);
-- ----------------------------
-- Table structure for display_slide
-- ----------------------------
DROP TABLE IF EXISTS display_slide;
CREATE TABLE display_slide
(
id bigint NOT NULL identity(1,1),
display_id bigint NOT NULL,
[index] int NOT NULL,
config text NOT NULL,
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (id)
)
;
create index idx_display_id on display_slide(display_id);
-- ----------------------------
-- Table structure for download_record
-- ----------------------------
DROP TABLE IF EXISTS download_record;
CREATE TABLE download_record
(
id bigint NOT NULL identity(1,1),
name nvarchar(255) NOT NULL,
user_id bigint NOT NULL,
path nvarchar(255) DEFAULT NULL,
status smallint NOT NULL,
create_time datetime NOT NULL,
last_download_time datetime DEFAULT NULL,
PRIMARY KEY (id)
)
;
create index idx_user on download_record(user_id);
-- ----------------------------
-- Table structure for favorite
-- ----------------------------
DROP TABLE IF EXISTS favorite;
CREATE TABLE favorite
(
id bigint NOT NULL identity(1,1),
user_id bigint NOT NULL,
project_id bigint NOT NULL,
create_time datetime NOT NULL DEFAULT getdate(),
PRIMARY KEY (id)
)
;
create UNIQUE index idx_user_project on favorite(user_id,project_id);
-- ----------------------------
-- Table structure for mem_dashboard_widget
-- ----------------------------
DROP TABLE IF EXISTS mem_dashboard_widget;
CREATE TABLE mem_dashboard_widget
(
id bigint NOT NULL identity(1,1),
alias nvarchar(30) NULL,
dashboard_id bigint NOT NULL,
widget_Id bigint DEFAULT NULL,
x int NOT NULL,
y int NOT NULL,
width int NOT NULL,
height int NOT NULL,
polling tinyint NOT NULL DEFAULT '0',
frequency int DEFAULT NULL,
config text,
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (id)
)
;
create index idx_protal_id on mem_dashboard_widget(dashboard_id);
create index idx_widget_id on mem_dashboard_widget(widget_Id);
-- ----------------------------
-- Table structure for mem_display_slide_widget
-- ----------------------------
DROP TABLE IF EXISTS mem_display_slide_widget;
CREATE TABLE mem_display_slide_widget
(
id bigint NOT NULL identity(1,1),
display_slide_id bigint NOT NULL,
widget_id bigint DEFAULT NULL,
name nvarchar(255) NOT NULL,
params text NOT NULL,
type smallint NOT NULL,
sub_type smallint DEFAULT NULL,
[index] int NOT NULL DEFAULT '0',
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (id)
)
;
create index idx_slide_id on mem_display_slide_widget(display_slide_id);
create index idx_widget_id on mem_display_slide_widget(widget_id);
-- ----------------------------
-- Table structure for organization
-- ----------------------------
DROP TABLE IF EXISTS organization;
CREATE TABLE organization
(
id bigint NOT NULL identity(1,1),
name nvarchar(255) NOT NULL,
description nvarchar(255) DEFAULT NULL,
avatar nvarchar(255) DEFAULT NULL,
user_id bigint NOT NULL,
project_num int DEFAULT '0',
member_num int DEFAULT '0',
role_num int DEFAULT '0',
allow_create_project tinyint DEFAULT '1',
member_permission smallint NOT NULL DEFAULT '0',
create_time smalldatetime NOT NULL DEFAULT getdate(),
create_by bigint NOT NULL DEFAULT '0',
update_time smalldatetime NULL,
update_by bigint DEFAULT NULL,
PRIMARY KEY (id)
)
;
-- ----------------------------
-- Table structure for platform
-- ----------------------------
DROP TABLE IF EXISTS platform;
CREATE TABLE platform
(
id bigint NOT NULL,
name nvarchar(255) NOT NULL,
platform nvarchar(255) NOT NULL,
code nvarchar(32) NOT NULL,
checkCode nvarchar(255) DEFAULT NULL,
checkSystemToken nvarchar(255) DEFAULT NULL,
checkUrl nvarchar(255) DEFAULT NULL,
alternateField1 nvarchar(255) DEFAULT NULL,
alternateField2 nvarchar(255) DEFAULT NULL,
alternateField3 nvarchar(255) DEFAULT NULL,
alternateField4 nvarchar(255) DEFAULT NULL,
alternateField5 nvarchar(255) DEFAULT NULL,
PRIMARY KEY (id)
)
;
-- ----------------------------
-- Table structure for project
-- ----------------------------
DROP TABLE IF EXISTS project;
CREATE TABLE project
(
id bigint NOT NULL identity(1,1),
name nvarchar(255) NOT NULL,
description nvarchar(255) DEFAULT NULL,
pic nvarchar(255) DEFAULT NULL,
org_id bigint NOT NULL,
user_id bigint NOT NULL,
visibility tinyint DEFAULT '1',
star_num int DEFAULT '0',
is_transfer tinyint NOT NULL DEFAULT '0',
initial_org_id bigint NOT NULL,
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (id)
)
;
-- ----------------------------
-- Table structure for rel_project_admin
-- ----------------------------
DROP TABLE IF EXISTS rel_project_admin;
CREATE TABLE rel_project_admin
(
id bigint NOT NULL identity(1,1),
project_id bigint NOT NULL,
user_id bigint NOT NULL,
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (id)
)
;
create UNIQUE index idx_project_user on rel_project_admin(project_id,user_id);
-- ----------------------------
-- Table structure for rel_role_dashboard
-- ----------------------------
DROP TABLE IF EXISTS rel_role_dashboard;
CREATE TABLE rel_role_dashboard
(
role_id bigint NOT NULL,
dashboard_id bigint NOT NULL,
visible tinyint NOT NULL DEFAULT '0',
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (role_id, dashboard_id)
)
;
-- ----------------------------
-- Table structure for rel_role_display
-- ----------------------------
DROP TABLE IF EXISTS rel_role_display;
CREATE TABLE rel_role_display
(
role_id bigint NOT NULL,
display_id bigint NOT NULL,
visible tinyint NOT NULL DEFAULT '0',
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (role_id, display_id)
)
;
-- ----------------------------
-- Table structure for rel_role_portal
-- ----------------------------
DROP TABLE IF EXISTS rel_role_portal;
CREATE TABLE rel_role_portal
(
role_id bigint NOT NULL,
portal_id bigint NOT NULL,
visible tinyint NOT NULL DEFAULT '0',
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (role_id, portal_id)
)
;
-- ----------------------------
-- Table structure for rel_role_project
-- ----------------------------
DROP TABLE IF EXISTS rel_role_project;
CREATE TABLE rel_role_project
(
id bigint NOT NULL identity(1,1),
project_id bigint NOT NULL,
role_id bigint NOT NULL,
source_permission smallint NOT NULL DEFAULT '1',
view_permission smallint NOT NULL DEFAULT '1',
widget_permission smallint NOT NULL DEFAULT '1',
viz_permission smallint NOT NULL DEFAULT '1',
schedule_permission smallint NOT NULL DEFAULT '1',
share_permission tinyint NOT NULL DEFAULT '0',
download_permission tinyint NOT NULL DEFAULT '0',
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (id)
)
;
create UNIQUE index idx_role_project on rel_role_project(project_id,role_id);
-- ----------------------------
-- Table structure for rel_role_slide
-- ----------------------------
DROP TABLE IF EXISTS rel_role_slide;
CREATE TABLE rel_role_slide
(
role_id bigint NOT NULL,
slide_id bigint NOT NULL,
visible tinyint NOT NULL DEFAULT '0',
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (role_id, slide_id)
)
;
-- ----------------------------
-- Table structure for rel_role_user
-- ----------------------------
DROP TABLE IF EXISTS rel_role_user;
CREATE TABLE rel_role_user
(
id bigint NOT NULL identity(1,1),
user_id bigint NOT NULL,
role_id bigint NOT NULL,
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (id)
)
;
create UNIQUE index idx_role_user on rel_role_user(user_id,role_id);
-- ----------------------------
-- Table structure for rel_role_view
-- ----------------------------
DROP TABLE IF EXISTS rel_role_view;
CREATE TABLE rel_role_view
(
view_id bigint NOT NULL,
role_id bigint NOT NULL,
row_auth text,
column_auth text,
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (view_id, role_id)
)
;
-- ----------------------------
-- Table structure for rel_user_organization
-- ----------------------------
DROP TABLE IF EXISTS rel_user_organization;
CREATE TABLE rel_user_organization
(
id bigint NOT NULL identity(1,1),
org_id bigint NOT NULL,
user_id bigint NOT NULL,
role smallint NOT NULL DEFAULT '0',
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (id)
)
;
create UNIQUE index idx_org_user on rel_user_organization(org_id,user_id);
-- ----------------------------
-- Table structure for role
-- ----------------------------
DROP TABLE IF EXISTS role;
CREATE TABLE role
(
id bigint NOT NULL identity(1,1),
org_id bigint NOT NULL,
name nvarchar(100) NOT NULL,
description nvarchar(255) DEFAULT NULL,
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
avatar nvarchar(255) DEFAULT NULL,
PRIMARY KEY (id)
) ;
create index idx_orgid on role(org_id);
-- ----------------------------
-- Table structure for source
-- ----------------------------
DROP TABLE IF EXISTS source;
CREATE TABLE source
(
id bigint NOT NULL identity(1,1),
name nvarchar(255) NOT NULL,
description nvarchar(255) DEFAULT NULL,
config text NOT NULL,
type nvarchar(10) NOT NULL,
project_id bigint NOT NULL,
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
parent_id bigint DEFAULT NULL,
full_parent_id nvarchar(255) DEFAULT NULL,
is_folder tinyint DEFAULT NULL,
[index] int DEFAULT NULL,
PRIMARY KEY (id)
)
;
create index idx_project_id on source(project_id);
-- ----------------------------
-- Table structure for star
-- ----------------------------
DROP TABLE IF EXISTS star;
CREATE TABLE star
(
id bigint NOT NULL identity(1,1),
target nvarchar(20) NOT NULL,
target_id bigint NOT NULL,
user_id bigint NOT NULL,
star_time datetime NOT NULL default getdate(),
PRIMARY KEY (id)
)
;
create index idx_target_id on star(target_id);
create index idx_user_id on star(user_id);
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS [user];
CREATE TABLE [user]
(
id bigint NOT NULL identity(1,1),
email nvarchar(255) NOT NULL,
username nvarchar(255) NOT NULL,
password nvarchar(255) NOT NULL,
admin tinyint NOT NULL,
active tinyint DEFAULT NULL,
name nvarchar(255) DEFAULT NULL,
description nvarchar(255) DEFAULT NULL,
department nvarchar(255) DEFAULT NULL,
avatar nvarchar(255) DEFAULT NULL,
create_time smalldatetime NOT NULL DEFAULT getdate(),
create_by bigint NOT NULL DEFAULT '0',
update_time smalldatetime NULL,
update_by bigint DEFAULT NULL,
PRIMARY KEY (id)
)
;
-- ----------------------------
-- Table structure for view
-- ----------------------------
DROP TABLE IF EXISTS [view];
CREATE TABLE [view]
(
id bigint NOT NULL identity(1,1),
name nvarchar(255) NOT NULL,
description nvarchar(255) DEFAULT NULL,
project_id bigint NOT NULL,
source_id bigint NOT NULL,
sql text,
model text,
variable text,
config text,
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
parent_id bigint DEFAULT NULL,
full_parent_id nvarchar(255) DEFAULT NULL,
is_folder tinyint DEFAULT NULL,
[index] int DEFAULT NULL,
PRIMARY KEY (id)
)
;
create index idx_project_id on [view](project_id);
-- ----------------------------
-- Table structure for widget
-- ----------------------------
DROP TABLE IF EXISTS widget;
CREATE TABLE widget
(
id bigint NOT NULL identity(1,1),
name nvarchar(255) NOT NULL,
description nvarchar(255) DEFAULT NULL,
view_id bigint NOT NULL,
project_id bigint NOT NULL,
type bigint NOT NULL,
publish tinyint NOT NULL,
config text NOT NULL,
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
parent_id bigint DEFAULT NULL,
full_parent_id nvarchar(255) DEFAULT NULL,
is_folder tinyint DEFAULT NULL,
[index] int DEFAULT NULL,
PRIMARY KEY (id)
)
;
create index idx_project_id on widget(project_id);
create index idx_view_id on widget(view_id);
DROP TABLE IF EXISTS rel_role_display_slide_widget;
CREATE TABLE rel_role_display_slide_widget
(
role_id bigint NOT NULL,
mem_display_slide_widget_id bigint NOT NULL,
visible tinyint NOT NULL DEFAULT '0',
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (role_id, mem_display_slide_widget_id)
)
;
DROP TABLE IF EXISTS rel_role_dashboard_widget;
CREATE TABLE rel_role_dashboard_widget
(
role_id bigint NOT NULL,
mem_dashboard_widget_id bigint NOT NULL,
visible tinyint NOT NULL DEFAULT '0',
create_by bigint DEFAULT NULL,
create_time datetime DEFAULT NULL,
update_by bigint DEFAULT NULL,
update_time datetime DEFAULT NULL,
PRIMARY KEY (role_id, mem_dashboard_widget_id)
)
;
DROP TABLE IF EXISTS davinci_statistic_visitor_operation;
CREATE TABLE davinci_statistic_visitor_operation (
id bigint NOT NULL identity(1,1),
user_id bigint DEFAULT NULL,
email nvarchar(255) DEFAULT NULL,
action nvarchar(255) DEFAULT NULL ,
org_id bigint DEFAULT NULL,
project_id bigint DEFAULT NULL,
project_name nvarchar(255) DEFAULT NULL,
viz_type nvarchar(255) DEFAULT NULL ,
viz_id bigint DEFAULT NULL,
viz_name nvarchar(255) DEFAULT NULL,
sub_viz_id bigint DEFAULT NULL,
sub_viz_name nvarchar(255) DEFAULT NULL,
widget_id bigint DEFAULT NULL,
widget_name nvarchar(255) DEFAULT NULL,
variables nvarchar(500) DEFAULT NULL,
filters nvarchar(500) DEFAULT NULL,
groups nvarchar(500) DEFAULT NULL,
create_time smalldatetime NULL DEFAULT NULL,
PRIMARY KEY (id)
) ;
DROP TABLE IF EXISTS davinci_statistic_terminal;
CREATE TABLE davinci_statistic_terminal (
id bigint NOT NULL identity(1,1),
user_id bigint DEFAULT NULL,
email nvarchar(255) DEFAULT NULL,
browser_name nvarchar(255) DEFAULT NULL,
browser_version nvarchar(255) DEFAULT NULL,
engine_name nvarchar(255) DEFAULT NULL,
engine_version nvarchar(255) DEFAULT NULL,
os_name nvarchar(255) DEFAULT NULL,
os_version nvarchar(255) DEFAULT NULL,
device_model nvarchar(255) DEFAULT NULL,
device_type nvarchar(255) DEFAULT NULL,
device_vendor nvarchar(255) DEFAULT NULL,
cpu_architecture nvarchar(255) DEFAULT NULL,
create_time smalldatetime NULL DEFAULT NULL,
PRIMARY KEY (id)
) ;
DROP TABLE IF EXISTS davinci_statistic_duration;
CREATE TABLE davinci_statistic_duration
(
id bigint NOT NULL identity(1,1),
user_id bigint DEFAULT NULL,
email nvarchar(255) DEFAULT NULL,
org_id bigint DEFAULT NULL ,
project_id bigint DEFAULT NULL ,
project_name nvarchar(255) DEFAULT NULL ,
viz_type nvarchar(10) DEFAULT NULL ,
viz_id bigint DEFAULT NULL ,
viz_name nvarchar(255) DEFAULT NULL ,
sub_viz_id bigint DEFAULT NULL ,
sub_viz_name nvarchar(255) DEFAULT NULL ,
start_time smalldatetime NULL DEFAULT NULL,
end_time smalldatetime NULL DEFAULT NULL,
PRIMARY KEY (id)
) ;
DROP TABLE IF EXISTS share_download_record;
CREATE TABLE share_download_record (
id bigint NOT NULL identity(1,1),
uuid nvarchar(50) DEFAULT NULL,
name nvarchar(255) NOT NULL,
path nvarchar(255) DEFAULT NULL,
status smallint NOT NULL,
create_time datetime NOT NULL,
last_download_time datetime DEFAULT NULL,
PRIMARY KEY (id)
) ;
INSERT INTO [user] ( email, username, password, admin, active, name, description, department, avatar, create_time, create_by, update_by, update_time)
VALUES ( 'guest@davinci.cn', 'guest', '$2a$10$RJKb4jhMgRYnGPlVRV036erxQ3oGZ8NnxZrlrrBJJha9376cAuTRO', 1, 1, NULL, NULL, NULL, NULL, '2020-01-01 00:00:00', 0, NULL, NULL);
INSERT INTO organization ( name, description, avatar, user_id, project_num, member_num, role_num, allow_create_project, member_permission, create_time, create_by, update_time, update_by)
VALUES ( 'guest Organization', NULL, NULL, 1, 0, 1, 0, 1, 1, '2020-01-01 00:00:00', 1, NULL, NULL);
INSERT INTO rel_user_organization ( org_id, user_id, role, create_by, create_time, update_by, update_time)
VALUES ( 1, 1, 1, 1, '2020-01-01 00:00:00', NULL, NULL);
INSERT INTO [user] ( email, username, password, admin, active, name, description, department, avatar, create_time, create_by, update_by, update_time)
VALUES ( 'admin@davinci.cn', 'admin', '$2a$10$RJKb4jhMgRYnGPlVRV036erxQ3oGZ8NnxZrlrrBJJha9376cAuTRO', 1, 1, NULL, NULL, NULL, NULL, '2020-01-01 00:00:00', 0, NULL, NULL);
INSERT INTO organization ( name, description, avatar, user_id, project_num, member_num, role_num, allow_create_project, member_permission, create_time, create_by, update_time, update_by)
VALUES ( 'admin Organization', NULL, NULL, 2, 0, 1, 0, 1, 1, '2020-01-01 00:00:00', 1, NULL, NULL);
INSERT INTO rel_user_organization ( org_id, user_id, role, create_by, create_time, update_by, update_time)
VALUES ( 1, 2, 1, 1, '2020-01-01 00:00:00', NULL, NULL);

作者:马洪彪  Q我

出处:http://www.cnblogs.com/mahongbiao/

本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。



推荐阅读
  • 1:有如下一段程序:packagea.b.c;publicclassTest{privatestaticinti0;publicintgetNext(){return ... [详细]
  • 深入理解 SQL 视图、存储过程与事务
    本文详细介绍了SQL中的视图、存储过程和事务的概念及应用。视图为用户提供了一种灵活的数据查询方式,存储过程则封装了复杂的SQL逻辑,而事务确保了数据库操作的完整性和一致性。 ... [详细]
  • 本文详细介绍了HTML中标签的使用方法和作用。通过具体示例,解释了如何利用标签为网页中的缩写和简称提供完整解释,并探讨了其在提高可读性和搜索引擎优化方面的优势。 ... [详细]
  • UNP 第9章:主机名与地址转换
    本章探讨了用于在主机名和数值地址之间进行转换的函数,如gethostbyname和gethostbyaddr。此外,还介绍了getservbyname和getservbyport函数,用于在服务器名和端口号之间进行转换。 ... [详细]
  • Windows服务与数据库交互问题解析
    本文探讨了在Windows 10(64位)环境下开发的Windows服务,旨在定期向本地MS SQL Server (v.11)插入记录。尽管服务已成功安装并运行,但记录并未正确插入。我们将详细分析可能的原因及解决方案。 ... [详细]
  • 数据库内核开发入门 | 搭建研发环境的初步指南
    本课程将带你从零开始,逐步掌握数据库内核开发的基础知识和实践技能,重点介绍如何搭建OceanBase的开发环境。 ... [详细]
  • 深入解析Spring Cloud Ribbon负载均衡机制
    本文详细介绍了Spring Cloud中的Ribbon组件如何实现服务调用的负载均衡。通过分析其工作原理、源码结构及配置方式,帮助读者理解Ribbon在分布式系统中的重要作用。 ... [详细]
  • 使用C#开发SQL Server存储过程的指南
    本文介绍如何利用C#在SQL Server中创建存储过程,涵盖背景、步骤和应用场景,旨在帮助开发者更好地理解和应用这一技术。 ... [详细]
  • 在金融和会计领域,准确无误地填写票据和结算凭证至关重要。这些文件不仅是支付结算和现金收付的重要依据,还直接关系到交易的安全性和准确性。本文介绍了一种使用C语言实现小写金额转换为大写金额的方法,确保数据的标准化和规范化。 ... [详细]
  • 在当前众多持久层框架中,MyBatis(前身为iBatis)凭借其轻量级、易用性和对SQL的直接支持,成为许多开发者的首选。本文将详细探讨MyBatis的核心概念、设计理念及其优势。 ... [详细]
  • ImmutableX Poised to Pioneer Web3 Gaming Revolution
    ImmutableX is set to spearhead the evolution of Web3 gaming, with its innovative technologies and strategic partnerships driving significant advancements in the industry. ... [详细]
  • 扫描线三巨头 hdu1928hdu 1255  hdu 1542 [POJ 1151]
    学习链接:http:blog.csdn.netlwt36articledetails48908031学习扫描线主要学习的是一种扫描的思想,后期可以求解很 ... [详细]
  • 利用存储过程构建年度日历表的详细指南
    本文将介绍如何使用SQL存储过程创建一个完整的年度日历表。通过实例演示,帮助读者掌握存储过程的应用技巧,并提供详细的代码解析和执行步骤。 ... [详细]
  • 本文详细介绍如何使用Samba软件配置CIFS文件共享服务,涵盖安装、配置、权限管理及多用户挂载等关键步骤。通过具体示例和命令行操作,帮助读者快速搭建并优化Samba服务器。 ... [详细]
  • 本文介绍了如何通过 Maven 依赖引入 SQLiteJDBC 和 HikariCP 包,从而在 Java 应用中高效地连接和操作 SQLite 数据库。文章提供了详细的代码示例,并解释了每个步骤的实现细节。 ... [详细]
author-avatar
星寴
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有