一、数据库连接* 连接数据库命令(前提需要安装mysq ): mysql -h hostIp -u userName -pPassWord二、数据库操作* 查看所有数据库: show databases;* 选中数据库 use databaseName ;* 创建数据库 create d...
分类:
数据库 时间:
2015-05-23 21:22:16
阅读次数:
250
一,curl命令参数
-a/--append 上传文件时,附加到目标文件
-A/--user-agent 设置用户代理发送给服务器
- anyauth 可以使用“任何”身份验证方法
-b/--cookie cookie字符串或文件读取位置
- basic 使用HTTP基本验证
-B/--use-ascii 使用ASCII /文本传输
-c/--cookie-jar 操作结...
分类:
Web程序 时间:
2015-05-23 18:28:31
阅读次数:
184
当行注释:行前加';'
例如:
mov ax,0
; mov cx,3
上面的第二句不会被执行
多行注释:
not_use macro
注释
endm...
分类:
其他好文 时间:
2015-05-23 18:26:34
阅读次数:
128
今天一个家伙说创建个数据库,搞了半天没弄好,习惯了图形界面,这些东西都忘了 全还给了老师。。。。。。 1 USE [master] 2 GO 3 IF EXISTS(SELECT 1 FROM sysdatabases WHERE NAME=N'HkTemp') 4 BEGIN 5 DROP DAT...
分类:
数据库 时间:
2015-05-23 18:19:01
阅读次数:
169
数据层数据分页三种常用方法:USE AdventureWorks20081、Top*Top 1 -使用 Top*Top 2 DECLARE @Start datetime,@end datetime; 3 SET @Start=getdate(); 4 5 DECLARE @PageNumber ....
分类:
数据库 时间:
2015-05-23 15:28:27
阅读次数:
253
如果出现了不全的情况,在Xcode里打开Storyboard,点右边工具窗口最上方的左起第一个图标,然后在右边工具窗口中找到Interface Builder Document,确保这项里的Use Size Classes处于未选中状态,即可让sotryboard中ViewController的大小...
分类:
移动开发 时间:
2015-05-23 12:42:43
阅读次数:
145
1 // Computer Graphics: HW2 2 // 3D Rendering pipeline: 3 // Space Transformation and Polygon clipping use Sutherland-Hodgman Algorithm 4 5 ...
分类:
其他好文 时间:
2015-05-22 23:50:04
阅读次数:
316
1.java.sql.Date 与 java.util.Date当需要格式转换,字符串到日期,前台页面日期选框到插入数据库,采用java.util.Date2. 用dos操作mysql命令mysql -uroot -proot 登陆本地数据库show databases; 显示本地所有的数据库use...
分类:
其他好文 时间:
2015-05-22 21:01:13
阅读次数:
130
Processing Every Character? Use Range-Based forIf we want to do something to every character in a string, by far the best approach is to use a statement introduced by the new standard: the range for st...
分类:
编程语言 时间:
2015-05-22 19:13:59
阅读次数:
124
List Initializer or Element Count?In a few cases, what initialization means depends upon whether we use curly braces or parentheses to pass the initializer(s). For example, when we initialize a vector<...
分类:
编程语言 时间:
2015-05-22 19:10:45
阅读次数:
133