logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

java查询mysql是关键字带有单引号的解决方式

(1) 最近发现,java代码访问mysql5.5查询时,假如关键字带有'是不能查询的,我又不是开发java的,一顿百度,最后的方案如下。不能正常查找的查询语句:select category ,ncRNA ,species,cancer,gene_cell,expression,effect,COUNT(1) from cancerdata where cancer ='Wilms' tumor

#java#mysql
ubuntu系统中将QT应用程序设置为开机自启动

ubuntu系统中将QT应用程序设置为开机自启动

#ubuntu#linux#运维
QT QTableView 双击获取某行的所有信息

(1) 设置双击事件的代码ListViewUp->setSelectionBehavior(QAbstractItemView::SelectRows);bool value = connect(ListViewUp, SIGNAL(doubleClicked(const QModelIndex &)), this, SLOT(slotRowDoubleClicked(const Q

#windows
socket C#服务端和QT客户端通信

(1) C#服务端代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.

#c#
mysql表的最大数量

在mysql中,每个数据库最多可创建20亿个表,一个表允许定义1024列,每行的最大长度为8092字节(不包括文本和图像类型的长度)。当表中定义有varchar、nvarchar或varbinary类型列时,如果向表中插入的数据行超过8092字节时将导致Transact-SQL语句失败,并产生错误信息。SQL对每个表中行的数量没有直接限制,但它受数据库存储空间的限制。每个数据库的最大空间10485

QT 调用Python文件并传输参数

(1) python文件如下#!/usr/bin/env python# -*- coding: utf-8 -*-def hello():print("hello world!")def greatFunc():print("hello world,greatFunc!")def Add(a, b , para):print("111232");return a+b;(2...

#python#c++
windows 下cmake的使用

windows下使用cmake——HelloWorld教程step0:新建一个用来存放工程文件的文件夹step1:用记事本或者写字板写一个“HelloWorld.cpp”,放在step0新建的文件夹下。具体内容为:#include <iostream>using namespace std;int main() {cout<&lt...

C++获取本地音频设备列表

#include "stdafx.h"#include <windows.h>#include <mmsystem.h>#include <iostream>using namespace std;#pragma comment(lib, "Winmm.lib")int _tmain(int argc, _TCHAR* argv[]){...

到底了