2017年8月23日

sql 计算空间列两地点之间距离

摘要: SELECT a.Remark,b.stationcode otherstationid, CAST( a.GeoCol.STDistance(b.GeoCol) AS int) distance FROM ALLbaseStation a JOIN allotherStation b ON 1=1 阅读全文

posted @ 2017-08-23 16:40 范少敏 阅读(355) 评论(0) 推荐(0) 编辑

sql 删除某个日期字段小于今天的所有数据

摘要: delete FROM I_PRO_STVALUE WHERE Datediff(day,CreateDate,GETDATE())>0 阅读全文

posted @ 2017-08-23 15:36 范少敏 阅读(3138) 评论(0) 推荐(0) 编辑

导航