使用auto_increment的前提是该字段必须是一个key(unique key或primary key) create table t3( id int primary key auto_increment, name char(6) ); 因为id是自增长的,所以插入记录时只需要插入name ...
分类:
其他好文 时间:
2020-02-13 22:33:03
阅读次数:
87
SQL脚本修改表结构 新建表:create table [表名]([自动编号字段] int IDENTITY (1,1) PRIMARY KEY ,[字段1] nVarChar(50) default '默认值' null ,[字段2] ntext null ,[字段3] datetime,[字段4 ...
分类:
数据库 时间:
2020-02-13 19:38:03
阅读次数:
85
Angular第三方UI组件库(github搜“awesome angular ") lonic 概述:是一个第三方的适用于移动端App的UI组件库,可以与Angular/React/Vue.js组合,也可以独立使用。 九种主题色:primary、secondary、tertiary、danger、 ...
分类:
其他好文 时间:
2020-02-13 19:20:56
阅读次数:
60
当一个接口有两个实现类时,并两个实现类都被 管理,则需要对某个类进行 注解,表示 优先选择此实现类 。 否则会抛出 异常 `org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of ...
分类:
其他好文 时间:
2020-02-13 15:23:27
阅读次数:
147
zombodb 默认对于es的连接是没有密码的,很不安全,可选的方式,基于nginx+basci auth 使用es 的X-Pack,使用amazon的opendistro 也是一个很不错的方案,以下是一个简单测试,同时 会有关于使用basic auth 模式的连接配置 注意,测试使用的pg zom ...
分类:
数据库 时间:
2020-02-13 14:48:31
阅读次数:
102
Early attempts at explaining this phenomenon focused on nonlinearity and overfitting. We argue instead that the primary cause of neural networks’ vuln ...
分类:
其他好文 时间:
2020-02-13 00:15:25
阅读次数:
92
1.在vm workstations添加磁盘 添加完之后重启一下虚拟机 然后fdisk -l 可以看到虚拟机已经识别到了新的磁盘 2.添加磁盘分区 输入命令 fdisk /dev/sdb 命令(输入 m 获取帮助):nPartition type: p primary (1 primary, 0 e ...
分类:
系统相关 时间:
2020-02-13 00:04:33
阅读次数:
87
1.创建表:注意:` ` ' ' , 三种符号 if not exists primary key(`id`)engine= innodb charset=utf8 create table if not exists `stu`( `id` int(4) auto_increment commen ...
分类:
数据库 时间:
2020-02-12 16:14:29
阅读次数:
87
一、Angular第三方UI组件库(github搜“awesome angular ") lonic 概述:是一个第三方的适用于移动端App的UI组件库,可以与Angular/React/Vue.js组合,也可以独立使用。 九种主题色:primary、secondary、tertiary、dange ...
分类:
其他好文 时间:
2020-02-12 01:00:16
阅读次数:
740
Table: Person + + + | Column Name | Type | + + + | PersonId | int | | FirstName | varchar | | LastName | varchar | + + + PersonId is the primary key c ...
分类:
其他好文 时间:
2020-02-11 17:41:53
阅读次数:
68