一个简单的创建表的代码DROP database IF exists reg_login;CREATE database reg_login;use reg_login--用户表create table user_table( user_id int(11) auto_increment, u...
分类:
数据库 时间:
2014-06-28 16:47:27
阅读次数:
231
就是用来吓唬你的 我能想到的,最短的,且const最多的一个语句是: int const * seta(int const *const a[], const int index)const;而这个语句还有以下若干等价语句: const int * seta(int const *const a[]...
分类:
其他好文 时间:
2014-06-28 14:55:22
阅读次数:
161
@{ ViewBag.Title = "Index"; Layout = null;}Index @*@Html.BeginForm("Index", "Test", FormMethod.Post, new { @enctype = "multipart/for...
分类:
其他好文 时间:
2014-06-28 14:18:27
阅读次数:
155
MySQL 服务器硬件和操作系统调节:1. 拥有足够的物理内存来把整个InnoDB文件加载到内存中——在内存中访问文件时的速度要比在硬盘中访问时快的多。2. 不惜一切代价避免使用Swap交换分区 – 交换时是从硬盘读取的,它的速度很慢。3. 使用电池供电的RAM(注:RAM即随机存储器)。4. 使用...
分类:
数据库 时间:
2014-06-28 13:09:18
阅读次数:
251
本文介绍怎么样下载各个版本java开发工具包。方法/步骤打开官方下载网址:http://www.oracle.com/technetwork/java/javase/downloads/index.html如果你需要下载最新版本jdk,点击上图2处,如果需要下载以前版本点击1处。点击2处后转到如下页...
分类:
编程语言 时间:
2014-06-28 11:10:39
阅读次数:
278
SET STATISTICS TIME ON记录查询的相关数据生成随机GuidSELECT NewID()按照某一列排序并生成序号select Row_Number() OVER (ORDER BY Name) [Index] ,Name,ID ,NewID() RandomCod...
分类:
数据库 时间:
2014-06-28 11:05:19
阅读次数:
266
2014-06-20 BaoXinjianDBA常用的SQL汇总1.监控索引是否使用alter index &index_name monitoring usage;alter index &index_name nomonitoring usage;select * from v$object_u...
分类:
数据库 时间:
2014-06-23 08:04:16
阅读次数:
370
不小心删了,找快照才找到的。补回来。。。上次遇到一个Base64的注入点,手工注入太麻烦,于是在网上看了一下sqlmap Base64注入的方法,如下:sqlmap -u http://xxxx.com/index.php?tel=LTEnIG9yICc4OCc9Jzg5 --tamper base...
分类:
数据库 时间:
2014-06-23 07:21:34
阅读次数:
444
一、 smarty引用把这段代码添加到zendframework根目录下的index.php里,include './library/Smarty/libs/Smarty.class.php';$smarty = new Smarty();$smarty -> template_dir = "./a...
分类:
其他好文 时间:
2014-06-21 14:13:59
阅读次数:
266
相信不少人遇到过ORA-02429: cannot drop index used for enforcement of unique /primary key 这个错误,对应的中文提示“ORA-02429: 无法删除用于强制唯一/主键的索引”,其实从错误提示信息已经很明显了。下面还是用一个简单的例...
分类:
其他好文 时间:
2014-06-21 14:04:25
阅读次数:
297