use MustGoHome; --公司注册 if exists(select * from Sysobjects where name='usp_CompanyRegister') drop procedure usp_CompanyRegister; go create procedure us ...
分类:
数据库 时间:
2021-05-23 23:17:14
阅读次数:
0
/* 打开 optimizer_trace,只对本线程有效 */ 0: SET optimizer_trace="enabled=on"; /* @a 保存 Innodb_rows_read 的初始值 */ 1: SELECT VARIABLE_VALUE into @a from performa ...
分类:
编程语言 时间:
2021-05-23 23:10:56
阅读次数:
0
新加一个功能,写法上最好是从下往上写 1.dao层添加一个接口 package dao; import org.apache.ibatis.annotations.Param; import pojo.Books; import java.util.List; public interface Bo ...
分类:
其他好文 时间:
2021-05-23 23:05:04
阅读次数:
0
动态规划——剑指 Offer 42. 连续子数组的最大和 题目: 思路: dp数组的定义:dp[i]是以 nums[i] 结尾的最大子数组和。 base_case:dp[0] = nums[0] 状态转移方程:dp[i]有两种「选择」,要么与前面的相邻子数组连接,形成一个和更大的子数组;要么不与前面 ...
分类:
编程语言 时间:
2021-05-20 17:50:09
阅读次数:
0
SQL的函数分为: 单行函数:每行返回一个结果。 多行函数:每个处理集合返回一个结果。 字符函数 UPPER: 转换字符串到大写。 SELECT UPPER('Hello World') FROM dual; --返回HELLO WORLD LOWER: 转换字符串到小写。 SELECT LOWER ...
分类:
数据库 时间:
2021-05-04 16:23:44
阅读次数:
0
const http=require('http') const fs=require('fs') const path=require('path') const server=http.createServer(function(req,res){ const {url}=req console ...
分类:
Web程序 时间:
2021-05-04 15:44:00
阅读次数:
0
基础知识 SQL语句的编写规则: SQL语句不区分大小写(Oracle如此, MySQL区分) 可以在一行或者多行数据SQL语句 子句通常放在单独的行上 缩进用于增强可读性 SQL语句使用分号终止 正规写法中,所有的关键字使用大写,列名和表名使用小写。 列头(字段头)的对齐方式: SQL Devel ...
分类:
数据库 时间:
2021-05-04 15:43:14
阅读次数:
0
这里介绍两个常用的管理hadoop集群的脚本 hadoop集群启停脚本myhadoop.sh #!/bin/bash if [ $# -lt 1 ] then echo "No Args Input..." exit ; fi case $1 in "start") echo " 启动 hadoop ...
分类:
其他好文 时间:
2021-05-04 15:28:54
阅读次数:
0
Computer Networking: a Top-Down Approach (8th ed.) : Select Lectures Notes Navigator 1 Resources and Introduction 2 Chapter 1: Introduction 3 Chapter ...
分类:
Web程序 时间:
2021-05-04 15:21:01
阅读次数:
0
Prefix and Suffix Search (H) 题目 Design a special dictionary which has some words and allows you to search the words in it by a prefix and a suffix. Im ...
分类:
其他好文 时间:
2021-05-03 12:54:25
阅读次数:
0