update TaskServer.dbo.TaoBaoItemInfoes set TradeCount30 =(select SOLD_QUANTITY_30 from openrowset( 'SQLOLEDB ', '192.168.1.3'; 'root'; 'jeqee1!',TAOBA...
分类:
数据库 时间:
2015-05-25 16:09:44
阅读次数:
182
Description
Plane ticket prices fluctuate wildly from one week to the next, and their unpredictability is a major source of frustration for travellers. Some travellers regret buying tickets too ear...
分类:
其他好文 时间:
2015-05-25 14:36:21
阅读次数:
165
from BeautifulSoup import *
from urlparse import urljoin
ignaorewords=set(['the','of','to','and','a','in','is','it'])
我们的搜索引擎基于关键词, 所以将连词,冠词忽略
下面的代码是爬虫, 将网页的文本数据存储到我们的sqlite中, 大家看不懂也没有关系, 知道这些函...
分类:
编程语言 时间:
2015-05-25 13:07:15
阅读次数:
275
1.执行无参数sql:string sql = "select * from IntegralInfo where convert(nvarchar,getdate(),23)='{0}' and status=1 and userinfoid='{1}'";sql = string.Format(...
分类:
数据库 时间:
2015-05-25 12:58:38
阅读次数:
439
查询from语句中的Outer Join可以在多种情况下被简化; 在解析阶段,右外连接操作可以被转变为等下ode值包含left join的操作,在一般情况下,转变:(T1, ...) RIGHT JOIN (T2,...) ON P(T1,...,T2,...) =(T2, ...) LEFT J....
分类:
数据库 时间:
2015-05-25 12:47:29
阅读次数:
139
环境:Windows X64,python2.7.5说明:虽然电脑是64位系统,但电脑装的python依旧是32位的。首先下载python2.7.5:https://www.python.org/downloads/windows/
或者到我的CSDN文库里面去下载,1.首先安装matplotlib
2.执行from matplotlib.pyplot import *应该会报缺少dateuti...
分类:
编程语言 时间:
2015-05-25 11:37:08
阅读次数:
214
1. select 使用正则表达式 正则表达式的模式串, 与linux基本相同, oracle提供以下4个函数来支持正则表达式: REGEXP_LIKE: 比较一个字符串是否与正则表达式匹配(看来是返回true, false) (srcstr, pattern) select * from test...
分类:
数据库 时间:
2015-05-25 09:52:33
阅读次数:
142
一、简介 LFS──Linux from Scratch,就是一种从网上直接下载源码,从头编译LINUX的安装方式。它不是发行版,只是一个菜谱,告诉你到哪里去买菜(下载源码),怎么把这些生东西( raw code) 作成符合自己口味的菜肴──个性化的linux,不单单是个性的桌面。 参考:http:...
分类:
系统相关 时间:
2015-05-25 09:43:42
阅读次数:
724
awk的运行方式(1)awk命令行(2)awk程序文件awk–f/path/from/awk_script(3)awk脚本#!/bin/awk–f基本用法:gawk[OPTIONS]‘program’FILE1FILE2……program:PATTERN{ACTIONSTATEMENT}选项:-F[]:指明输入字段分隔符-vVAR_NAME=VALUE:变量赋值-f/PATH/FROM/AWK_SCRIPT..
分类:
其他好文 时间:
2015-05-25 06:19:16
阅读次数:
117
Remove all elements from a linked list of integers that have value val.
Example Given: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6 Return: 1 --> 2 --> 3 --> 4 --> 5
Credits: Special thanks to...
分类:
其他好文 时间:
2015-05-24 23:39:56
阅读次数:
123