码迷,mamicode.com
首页 >  
搜索关键字:sql case 的用法    ( 103583个结果
Java中"="的用法
Java中"="等号作用是赋值,优先级很低,就是把等号右边的值赋值给左边。但你先看下面的一块代码。 基本类型使用等号 String a = "123"; String b; System.out.println((b = a) == null);//打印1 System.out.println(b) ...
分类:编程语言   时间:2021-06-02 15:42:35    阅读次数:0
1234
switch结构 switch(整数|字符|枚举|String){ case 内容:{ 内容满足时执行; [break;] } case 内容:{ 内容满足时执行; [break;] } default: { } } do while结构 do{ …… }while(boolean表达式) cont ...
分类:其他好文   时间:2021-06-02 15:24:52    阅读次数:0
触发器
触发器 触发器(trigger)是SQL server 提供给程序员和数据分析员来保证数据完整性的一种方法,它是与表事件相关的特殊的存储过程,它的执行不是由程序调用,也不是手工启动,而是由事件来触发,比如当对一个表进行操作( insert,delete, update)时就会激活它执行。触发器经常用 ...
分类:其他好文   时间:2021-06-02 15:23:01    阅读次数:0
5.8 进阶8:分页查询
5.8 进阶8:分页查询 5.8.1 应用场景和语法 当要显示的数据,一页显示不全,需要分页提交sql请求 语法 select 查询列表 from 表 【join type join 表2 on 连接条件 where 筛选条件 group by 分组字段 having 条件 order by 排序的 ...
分类:其他好文   时间:2021-06-02 15:21:28    阅读次数:0
06-js分支
#多分支 if (条件表达式1) { 语句1 } else if (条件表达式2) { 语句2 } else { 语句3 } #三元表达式 条件表达式 ? 表达式1 : 表达式2 //真1假2 ##案例 var time = prompt('请输入一个1~59的数字') time = time > ...
分类:Web程序   时间:2021-06-02 15:06:09    阅读次数:0
09 spark连接mysql数据库
安装启动检查Mysql服务。 netstat -tunlp (3306) spark 连接mysql驱动程序。 –cp /usr/local/hive/lib/mysql-connector-java-5.1.40-bin.jar /usr/local/spark/jars 启动 Mysql she ...
分类:数据库   时间:2021-06-02 15:02:56    阅读次数:0
Execution Plans in SQL Server
Execution Plans in SQL Server Introduction In this article, I’m going to explain what the Execution Plans in SQL Server are and how to understand the ...
分类:数据库   时间:2021-06-02 14:46:02    阅读次数:0
Orale 多列转多行
1、创建表 create table TESTDATE ( calc_type NVARCHAR2(10), calc_no NVARCHAR2(10), calc_name NVARCHAR2(10), calc_aca1 NVARCHAR2(10), calc_aca2 NVARCHAR2(10 ...
分类:其他好文   时间:2021-06-02 14:40:39    阅读次数:0
mysql通过sql来复制表结构
1、create table resultTable select * from sourceTable where ....; 可以复制条件下的数据,也可以复制数据结构,但是字段上面的比如自增长,不会被复制。 2、create table resultTable like sourceTable; ...
分类:数据库   时间:2021-06-02 14:36:16    阅读次数:0
Oracle Dataguard相关sql语句汇总
--check dataguard status select process,status,group#,sequence# from v$managed_standby select * from v$archived_log order by thread#, sequence#; selec ...
分类:数据库   时间:2021-06-02 14:24:58    阅读次数:0
103583条   上一页 1 ... 23 24 25 26 27 ... 10359 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!