SQL Server              MySQL
1、getdate()                  NOW()
        
2、top 100                               limit 100
        
3、charindex(':','aaaaaa:a')        LOCATE(':','aaaaaa:a')
        
4、+                                       concat('','')
        
5、len                                     LENGTH
        
6、delete table                         delete from table

7、返回日期之间的秒

datediff(second,getdate(),dateadd(second, r2_expires_in, date))                         TIMESTAMPDIFF(SECOND,NOW(),DATE_ADD(date,INTERVAL numSECOND))

05-18 15:39