T-SQL Script
Output format
SELECT CONVERT(VARCHAR(100), GETDATE(), 0)
03 6 2010 4:19PM
SELECT CONVERT(VARCHAR(100), GETDATE(), 1)
03/06/10
SELECT CONVERT(VARCHAR(100), GETDATE(), 2)
10.03.06
SELECT CONVERT(VARCHAR(100), GETDATE(), 3)
06/03/10
SELECT CONVERT(VARCHAR(100), GETDATE(), 4)
06.03.10
SELECT CONVERT(VARCHAR(100), GETDATE(), 5)
06-03-10
SELECT CONVERT(VARCHAR(100), GETDATE(), 6)
06 03 10
SELECT CONVERT(VARCHAR(100), GETDATE(), 7)
03 06, 10
SELECT CONVERT(VARCHAR(100), GETDATE(), 8)
16:23:28
SELECT CONVERT(VARCHAR(100), GETDATE(), 9)
03 6 2010 4:23:40:110PM
SELECT CONVERT(VARCHAR(100), GETDATE(), 10)
03-06-10
SELECT CONVERT(VARCHAR(100), GETDATE(), 11)
10/03/06
SELECT CONVERT(VARCHAR(100), GETDATE(), 12)
100306
SELECT CONVERT(VARCHAR(100), GETDATE(), 13)
06 03 2010 16:24:39:763
SELECT CONVERT(VARCHAR(100), GETDATE(), 14)
16:24:50:823
SELECT CONVERT(VARCHAR(100), GETDATE(), 20)
2010-03-06 16:25:04
SELECT CONVERT(VARCHAR(100), GETDATE(), 21)
2010-03-06 16:25:18.107
SELECT CONVERT(VARCHAR(100), GETDATE(), 22)
03/06/10 4:25:27 PM
SELECT CONVERT(VARCHAR(100), GETDATE(), 23)
2010-03-06
SELECT CONVERT(VARCHAR(100), GETDATE(), 24)
16:26:48
SELECT CONVERT(VARCHAR(100), GETDATE(), 25)
2010-03-06 16:26:55.810
SELECT CONVERT(VARCHAR(100), GETDATE(), 100)
03 6 2010 4:27PM
SELECT CONVERT(VARCHAR(100), GETDATE(), 101)
03/06/2010
SELECT CONVERT(VARCHAR(100), GETDATE(), 102)
2010.03.06
SELECT CONVERT(VARCHAR(100), GETDATE(), 103)
06/03/2010
SELECT CONVERT(VARCHAR(100), GETDATE(), 104)
06.03.2010
SELECT CONVERT(VARCHAR(100), GETDATE(), 105)
06-03-2010
SELECT CONVERT(VARCHAR(100), GETDATE(), 106)
06 03 2010
SELECT CONVERT(VARCHAR(100), GETDATE(), 107)
03 06, 2010
SELECT CONVERT(VARCHAR(100), GETDATE(), 108)
16:28:25
SELECT CONVERT(VARCHAR(100), GETDATE(), 109)
03 6 2010 4:28:35:123PM
SELECT CONVERT(VARCHAR(100), GETDATE(), 110)
03-06-2010
SEL
SELECT tagid, tagname from uchome_mtag WHERE tagname IN (SELECT tagname from uchome_mtag GROUP BY tagname HAVING (COUNT(tagname) > 1)) ORDER BY tagname ......