5 月 05 2024 By 云博小周宇 Centos7 下mysql大小写敏感问题 数据库 在Centos7 下mysql大小写敏感问题,会导致程序运行时找不到对应的表。 解决办法: 第一步:编辑/etc/my.cnf文件,在[mysqld]节下 添加 lower_case_table_na… Read More
5 月 05 2024 By 云博小周宇 JQData数据提取及MySQL简单操作——基于Python 数据库 JQData平台真的挺不错,平台数据可以免费使用一年,满足绝大多数人需求,具体账号获取请自行百度哟~ 因需要高频数据而Wind也只给近三年,再要还得购,,机缘遇到这一平台,获得了账号试用很不错,分享一… Read More
5 月 05 2024 By 云博小周宇 CentOS 设置mysql的远程访问 数据库 好记性不如烂笔头,记录一下。 安装了MySQL默认是拒绝远程连接的。 首先进入数据库,使用系统数据库mysql。 1 mysql -u root -p mysql #回车,然后输入则使用了系统数据库 … Read More
5 月 05 2024 By 云博小周宇 Web of Science数据库中文献相关信息下载与保存 数据库 1. Web of Science 数据库( https://apps.webofknowledge.com/): a. 所在网络必须由访问 该网站的权限。 b.建议使用web of Science的… Read More
5 月 05 2024 By 云博小周宇 centos7下使用yum安装mysql 数据库 CentOS7的yum源中默认好像是没有mysql的。为了解决这个问题,我们要先下载mysql的repo源。 1. 下载mysql的repo源 $ wget http://repo… Read More
5 月 05 2024 By 云博小周宇 sql的数据类型 数据库 SQLServer 提供了 25 种数据类型: ·Binary [(n)] ·Varbinary [(n)] ·Char [(n)] ·Varchar[(n)]… Read More
5 月 05 2024 By 云博小周宇 sql分页 数据库 1 A. 2 3 --SELECT TOP 15 * FROM Customer 4 -- WHERE CustomerID NOT IN(SELECT TOP (15*(2-1)) Customer… Read More
5 月 05 2024 By 云博小周宇 sql批量更新 数据库 1 -----------------更新无锡医院名称 2 update Opt_DKI_Hospital set centerName =tmp.[医院名称] 3 from Opt_DKI_Hosp… Read More
5 月 05 2024 By 云博小周宇 sql脚本创建用户角色权限表 数据库 1 /******************************************/ 2 /* 名称:权限管理 */ 3 /* 编写日期:2010.5.20 */ 4 /* 开发者:dangq… Read More
5 月 05 2024 By 云博小周宇 nhibernate中执行SQL语句 数据库 1 在有些时候,可能需要直接执行SQL语句、存储过程等,但nhibernate并没有提供一种让我们执行SQL语句的方法,不过可以通过一些间接的方法来实现。 2 3 下面给出一个在nhibernate中… Read More
5 月 05 2024 By 云博小周宇 SQL判断是否存在 数据库 1 判断数据库是否存在 2 ifexists(select*frommaster..sysdatabaseswherename=N’库名’) 3 print’exists’ 4 else 5 prin… Read More
5 月 05 2024 By 云博小周宇 mysql 开发进阶篇系列 20 MySQL Server(innodb_lock_wait_timeout,innodb_support_xa,innodb _log_*) 数据库 1. innodb_lock_wait_timeout mysql 可以自动监测行锁导致的死锁并进行相应的处理,但是对于表锁导致的死锁不能自动监测,所以该参数主要用于,出现类似情况的时候… Read More
5 月 05 2024 By 云博小周宇 关于SQL 语句常用的一些查询收藏 数据库 1 create database xuesheng 2 go 3 use xuesheng 4 go 5 /*学生表*/ 6 create table Student 7 ( 8 S# int id… Read More
5 月 05 2024 By 云博小周宇 JDBC与数据库连接,查询 数据库 JDBC与数据库连接,查询package jdbc; import java.sql.*;//数据库相关库 public class TestJDBC { public static void mai… Read More
5 月 05 2024 By 云博小周宇 mysql 命令 数据库 c:\mysql -u root -p 进入mysql输入密码 mysql>show databases; 显示数据库 mysql>use mysql; 打开mys… Read More
5 月 05 2024 By 云博小周宇 将SqlDataReader 数据集转化为datatbale ,在将datatable 转化为iList 数据库 1 public IList GetModelList(string tablename, string where) 2 { 3 IList list = null; 4 DataTable dat… Read More
5 月 05 2024 By 云博小周宇 20180813 mysql 数据查询 数据库 数据查询语言DQL select [all | distinct] 字段或表达式列表 [from子句] [where子句] [group by子句] [having子句] [order … Read More
5 月 05 2024 By 云博小周宇 mongoDB分片技术 数据库 MongoDB 分片 分片 在Mongodb里面存在另一种集群,就是分片技术,可以满足MongoDB数据量大量增长的需求。 当MongoDB存储海量的数据时,一台机器可能不足以存储数据,也可能不足以提… Read More
5 月 05 2024 By 云博小周宇 mybatis-generator + mysql/ptsql 数据库 用了mybatis-generator,我就不再想用注解了,这与我之前说的注解与XML并用是矛盾的,知识嘛,本来就是多元化的,今天喜欢这个,明天喜欢那个,哈哈,看了mybatis-generator下… Read More
5 月 05 2024 By 云博小周宇 sybase数据库环境搭建教程 数据库 本案例为centos6.5操作系统,sybase数据库版本为15.7。安装操作系统不做详解 装完之后在root下 配置IP,改为动态获取,使其能链接网络 vi /etc/sysconfig/netwo… Read More