鼠标事件:ActionChains 类? context_click() 右击? double_click() 双击? drag_and_drop() 拖动鼠标右键:from selenium.webdriver.common.action_chains import ActionChains #导...
分类:
Web程序 时间:
2015-01-20 17:43:17
阅读次数:
196
DROP TABLE IF EXISTS `province`;CREATE TABLE `province` (`id` int(11) NOT NULL AUTO_INCREMENT,`name` varchar(50) DEFAULT NULL,PRIMARY KEY (`id`)) ENGI...
分类:
数据库 时间:
2015-01-20 17:15:54
阅读次数:
296
-----------表分区的维护----------- -------增加分区 ALTER TABLE 表名 ADD PARTITION 分区名 VALUES LESS THAN(值) ----删除分区 ALTER TABLE 表名 DROP PARTITION 分区表名----截断分区 删除当前...
分类:
其他好文 时间:
2015-01-19 23:21:29
阅读次数:
172
1 //存储过程,利用已知的经纬度查询其他帖子距离自己的距离。juli的算法是网上拿的 2 //如果存在就删除这个存储过程 3 >> drop procedure if exists `get_distance`; 4 ...
分类:
数据库 时间:
2015-01-19 18:53:29
阅读次数:
171
SELECT * FROM dbo.YHZH --删除外键ALTER TABLE [dbo].[JHFKDMX1] drop FK_YHZH_JHFKDMX1 ALTER TABLE [dbo].[XHSKDMX1] drop FK_YHZH_XHSKDMX1 ALTER TABLE [db...
分类:
数据库 时间:
2015-01-19 12:18:00
阅读次数:
194
--删除所有约束 DECLARE c1 cursor for select 'alter table ['+ object_name(parent_obj) + '] drop constraint ['+name+']; ' from sysobjects wher...
分类:
数据库 时间:
2015-01-17 17:43:43
阅读次数:
181
首先我们在数据库(SQL Server)中声明定义存储过程
use sales
if(exists(select * from sys.objects where name='proc_location_Paging'))
drop proc proc_location_Paging
go
create proc proc_location_Paging --创建存储过程
(
@page...
分类:
Web程序 时间:
2015-01-17 06:33:27
阅读次数:
162
if exists (select 1 from sysobjects where name = 'sysproperties'and xtype = 'V')begin DROP VIEW syspropertiesend GO CREATE VIEW syspropertiesASSELECT ...
分类:
数据库 时间:
2015-01-16 18:37:29
阅读次数:
180
方法一:1 if exists (select * from tempdb.dbo.sysobjects where id = object_id(N'tempdb..#tempcitys') and type='U')2 drop table #tempcitys注意tempdb后面是两个....
分类:
数据库 时间:
2015-01-16 18:22:15
阅读次数:
218
1 iptables 2 3 4 iptables -D INPUT 1 删除第一条规则 5 iptables -D INPUT -s 192.168.11.1 -j DROP 以删除匹配到的内容规则 6 iptbales -I INPUT -s ip -j DROP 7 ipt...
分类:
其他好文 时间:
2015-01-16 16:36:34
阅读次数:
128