SELECT REPLACE(REPLACE(@str, CHAR(13), ''), CHAR(10), '') The below script removes the TAB(Horozontal Tab), Line feed(New line), Carriage Return Characters in a variable @String SET NOCOUNT ON ) ) SELECT @String = 'AB C D' PRINT @String ),'') PRINT @…
很久没写blog,不是懒,实在是最近我这的访问速度不好,用firefox经常上传不了图片 ....... 今天无意发现了SQL Server 2008 Datetime Cast 成 Date 类型可以使用索引,分享一下: 测试环境: USE TEMPDB GO CREATE TABLE TB ( ID INT IDENTITY(1,1) PRIMARY KEY, NAME VARCHAR(200), OPTIME DATETIME DEFAULT GETDATE() ) GO DECLARE …
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share…