select * from tb_province --省pIDpName1北京市2天津市3上海市4重庆市5河北省6山西省.......select * from tb_city --城市cIDcNamepId19阿坝藏族羌族自治州228阿克苏市314阿拉尔市3112阿拉善盟3222阿勒泰市316阿...
分类:
数据库 时间:
2015-04-27 18:14:35
阅读次数:
224
groupaddmysqluseradd-r-gmysqlmysqlmvmysql-5.5.27-linux2.6-i686//usr/local/ln-smysql-5.5.27-linux2.6-i686/mysqlcd/usr/local/mysqlchown-Rmysql.chgrp-Rmysql./usr/local/mysql/scripts/mysql_install_db--user=mysqlERROR:scripts/mysql_install_db:./bin/my_print_defa..
分类:
数据库 时间:
2015-04-27 15:34:21
阅读次数:
137
Debug view 不能显示outputdebugView.
win7操作系统下需要设置注册表值:
computer--> HKEY_LOCAL_MACHINE-->SYSTEM->CurrentControlSet-->Control-->Session Manager
新建一个key值,类型为DWORD
Value Name:Debug Print Filter
Valu...
分类:
数据库 时间:
2015-04-27 15:19:26
阅读次数:
243
public class PrimeFilter2{
public static void main(String args[]){
int a[]={2,3,5,7};
print(a);
int b[] = filter(a,100);
print(b);
int c[] = filter(b,10000);
print(c...
分类:
其他好文 时间:
2015-04-27 15:17:29
阅读次数:
130
监控named是否开启#!/bin/bashport=$(nmap -sT localhost | grep 'domain' |awk '{print $2}')riqi=$(date +"%Y-%m-%d %H:%M")if [ "$port" == "open" ];then e...
分类:
其他好文 时间:
2015-04-27 15:09:58
阅读次数:
134
PL/SQL的格式化代码功能相信大家都用过,现在公司用MySQL,也不想再去装一个PL/SQL专门去格式化sql,就去网上找一下有没有专门的工具,还真让我给找到了SQL Pretty Printer点Pretty Print哈哈,这工具爽歪歪啊!下载地址:http://www.dpriver.com...
分类:
数据库 时间:
2015-04-27 15:09:13
阅读次数:
220
练习一下数学知识了。。
【题目链接】click here~~
【题目大意】Find the nonnegative integer X and integer Y to satisfy X*a + Y*b = 1. If no such answer print "sorry" instead.
求满足式子的x和y否则输出“sorry”
【解题思路】扩展欧几里得的基础了,
扩展欧几里德...
分类:
其他好文 时间:
2015-04-27 09:44:05
阅读次数:
104
c++编译#include using namespace std;int main() { Hello h; h.print(); return 0;}g++ 文件名.cpp -o 文件名./文件名c编译#includeint main(){ printf("hello...
分类:
编程语言 时间:
2015-04-27 00:04:28
阅读次数:
174
#keywork模块:判断是否是字符串import keyworda='if'print keyword.iskeyword(a)"""了解某序列是否包含特定的值 x in seq seq.__contains__(x)"""print keyword.kwlist#得到python的关键字列...
分类:
编程语言 时间:
2015-04-26 19:44:18
阅读次数:
178
-存储过程--定义变量declare @bianliang intset @bianliang=12--变量赋值select @bianliang--输出变量print @bianliang--消息框--定义两个变量求和declare @bianliang1 int, @bianliang2 int...
分类:
数据库 时间:
2015-04-26 18:12:17
阅读次数:
149