显示 数据库: show databases; 转换(使用) 数据库: use databaseName; 显示表格: show tables; CREATE TABLE --创建一个数据库表DROP TABLE --从数据库中删除表ALTER TABLE --修改数据库表结构CREATE VIEW ...
分类:
数据库 时间:
2017-02-25 17:05:53
阅读次数:
169
problem: In a program that uses Opencv for image processing. My goal is to use the camera to identify the precise coordinates of multiple balls. But b ...
分类:
其他好文 时间:
2017-02-25 15:43:14
阅读次数:
326
学习了python的模块使用方法 1 import sys 2 print(sys.path) 用于显示python的环境变量,运行路径执行结果如下: ...
分类:
编程语言 时间:
2017-02-25 13:41:16
阅读次数:
167
6874:C 25 Feb 10:51:25.082 # Warning: no config file specified, using the default config. In order to specify a config file use ./redis-server /path/t ...
分类:
其他好文 时间:
2017-02-25 12:10:44
阅读次数:
282
sql server中如何判断表或者数据库的存在,但在实际使用中,需判断Status状态位:其中某些状态位可由用户使用 sp_dboption(read only、dbo use only、single user 等)进行设置: 1 = autoclose;使用 sp_dboption 设置。 数据 ...
分类:
数据库 时间:
2017-02-25 01:11:14
阅读次数:
256
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2017-02-24 23:54:32
阅读次数:
294
Learn how to set an elements background image to embedded SVG. This method has an added benefit of not incurring any HTTP requests, as the SVG is simp ...
分类:
其他好文 时间:
2017-02-24 23:37:07
阅读次数:
240
作为世界上最优美的语言javascript的使用者,呵呵,js的魅力是无穷的,今天来聊聊他的魅(dan)力(teng)之一,变量提升。 每种语言所定义的变量基本都会有一定得作用域,而js的作用域则存在着一定的陷阱。首先看一下下面一道题: 纳尼?hehe哪去了?结果不应该是:haha hehe kid ...
分类:
Web程序 时间:
2017-02-24 22:23:40
阅读次数:
201
/** * Session.evict() -- 清除的指定的对象 */ @Test public void run6(){ Session session = HibernateUtils.getSession(); Transaction tr = session.beginTransactio ...
分类:
Web程序 时间:
2017-02-24 21:07:47
阅读次数:
249
首先需要下载mysql jar包 官网:http://dev.mysql.com/downloads/connector/j/ 执行sql语句建库建表添加测试数据,这里不做过多介绍,都是基础知识;别忘记编码改为UTF-8/gbk; 这里我的库名:mysqldata 表明:testdata 直接上代码 ...
分类:
数据库 时间:
2017-02-24 21:05:39
阅读次数:
312