码迷,mamicode.com
首页 >  
搜索关键字:the unique mst    ( 5979个结果
数据库学习第三天
查询排序order by,正序asc 倒序desc。 分组查询group by,分组查询后筛选使用having; 默认值约束 default; 非空约束not null;注:非空字段必须赋值。唯一约束unique; 主键(非空+唯一)primary key; 自增长zerofill; 外键CONST ...
分类:数据库   时间:2021-06-17 16:52:03    阅读次数:0
ORA-12514 TNS:listener does not currently know of service requested in connect descriptor
In my circumstances the error was due to the fact the listener did not have the db's service registered. I solved this by registering the services. Ex ...
分类:其他好文   时间:2021-06-16 17:56:58    阅读次数:0
优先使用make_unique 和 make_shared
make_unique在c++11里面没有引入,但是你可以自己写一个 template <typename T, typename ...Args> std::unique_ptr<T> make_unique(Args&& ...args) { return unique_ptr<T>(new T ...
分类:其他好文   时间:2021-06-15 18:01:41    阅读次数:0
【mysql】mysql-索引
mysql-索引 21.6.12【索引的分类】 单列索引:索引加在一个列上 普通索引(normal): alter table user add index `name`(`name`) 唯一索引(unique): alter table user add unique index `code`(` ...
分类:数据库   时间:2021-06-13 10:24:21    阅读次数:0
生产环境oracle 12C DG搭建过程
1、主库准备工作 Host IP DB_NAME DB_UNIQUE_NAME Net Service Name(网络服务名) 主库192.168.137.128 ORCLDB WENDING db_wending 备库192.168.137.129 ORCLDB PHYSTDBY db_physt ...
分类:数据库   时间:2021-06-07 20:39:51    阅读次数:0
数据库基础操作
基础操作命令 非空约束:not null 设置默认值:default 唯一约束:unique 主键约束:primary key 主键自增:auto_increment 外键约束:foreign key 查询所有库:show databases;创建数据库:create database 库名 cha ...
分类:数据库   时间:2021-06-04 19:42:48    阅读次数:0
MATLAB 统计矩阵中某行(列)出现的次数
统计矩阵center中重复的行的个数: [C,~,n]=unique(center,'rows'); s=sum(bsxfun(@eq,n,unique(n)')); unique函数的作用是去除掉重复的行,C为center去掉重复行之后剩余的矩阵,s为行向量,s某一位置的值代表C对应行在cente ...
分类:其他好文   时间:2021-06-02 13:18:02    阅读次数:0
4.表的约束
4 .表的约束 为了防止数据表中插入错误的数据 ,在MySQL中,定义了一些维护数据库完整性的规则,即表的约束。 我在这里列举一下约束条件和说明啊: 约束条件 说 明 PRIMARY KEY 主键约束,用于唯一标识对应的记录 FPREIGN KEY 外键约束 NOT NULL 非空约束 UNIQUE ...
分类:其他好文   时间:2021-05-24 17:06:38    阅读次数:0
微信小程序之顶部导航栏
wxml: <!--导航条--><view class="navbar"> <text wx:for="{{navbar}}" data-idx="{{index}}" class="item {{currentTab==index ? 'active' : ''}}" wx:key="unique ...
分类:微信   时间:2021-05-24 12:04:59    阅读次数:0
MySQL基础--约束
约束的分类: not null:非空,用于保证该字段的值不 能为空,比如姓名,学号 default:默认,用于保证该字段的默 认值 ,如性别 primary key:主键,用于保证该字段具 有唯一性,非空,如学号 unique:唯一,用于该字段具有唯一性, 可以为空 check:检查约束(mysql ...
分类:数据库   时间:2021-05-24 10:29:52    阅读次数:0
5979条   上一页 1 2 3 4 ... 598 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!