报错原因:当使用union或union all时查询出的字段的排序规则不同。 解决方法: select column(列名) collate utf8_unicode_ci(排序规则)from table(表名) union/union all select column(列名) collate u ...
分类:
其他好文 时间:
2021-04-05 12:09:21
阅读次数:
0
response.setHeader("Cache-Control","no-cache"); This is used to prevent the browser from caching your dynamic content generated by a JSP or Servlet. Y ...
分类:
系统相关 时间:
2021-03-17 14:45:16
阅读次数:
0
前面的练习记录了查询access数据将结果显示在microsoft datagrid控件上面,有时候需要对显示的某些列隐藏。 在画面上放置microsoft form checkbox控件,数量与datagrid中查询结果的字段数量相关,本次联系对温度1至温度4,压力1至压力4,流量1,流量2一共十 ...
分类:
编程语言 时间:
2021-03-11 18:25:58
阅读次数:
0
-- 查看表结构desc 表名; -- 查看表中字段的结构信息select table_name,column_name,column_comment from information_schema.columns where table_schema ='表所在的库' and table_name ...
分类:
数据库 时间:
2021-03-10 12:59:11
阅读次数:
0
1. Grid: by default showing content in Y axis (column), Flex: by default showing content in X axis. Exp: If you want to style a header.. you can use f ...
分类:
Web程序 时间:
2021-03-09 13:32:34
阅读次数:
0
Remove Palindromic Subsequences (E) 题目 Given a string s consisting only of letters 'a' and 'b'. In a single step you can remove one palindromic subseq ...
分类:
其他好文 时间:
2021-03-09 13:26:40
阅读次数:
0
数据库基础知识 1.数据库存储结构 1.1 表是数据库的基本组成单元,所有的数据都以表格的形式组织,目的是可读性强。 1.2 表包括 行和列 1.2.1 行 :被称为数据/记录(data)1.2.2 列 :被称为字段(column) 1.3 每个字段都有 名字 数据类型 相关的约束 等属性。 1.4 ...
分类:
数据库 时间:
2021-03-08 14:13:53
阅读次数:
0
图片来源于:极客时间《数据结构与算法之美》 https://time.geekbang.org/column/intro/126 1. 数组 数组是最简单的数据结构,它的结构特点是:需要连续的内存空间,能够通过数组下标快速的访问数组内的元素,但是初始时需要指定大小,并且不能动态扩容,当容量不够时,需 ...
分类:
编程语言 时间:
2021-03-08 14:07:35
阅读次数:
0
1,将id列放在第一列 alter table cqc_xa.cqc_xa_diff_case modify id int unsigned auto_increment first; 2,增加自增id alter table test.student add column indexxx int( ...
分类:
数据库 时间:
2021-03-03 12:17:55
阅读次数:
0
package com.dai.tree; public class ArrBinaryTreeDemo { public static void main(String[] args) { // TODO Auto-generated method stub int[] arr = {1,2,3, ...
分类:
其他好文 时间:
2021-02-27 13:26:43
阅读次数:
0