摘要:
/// <summary>/// Convert DateTime To Milliseconds/// </summary>/// <param name="dt">the datetime</param>/// <returns></returns>public static long GetTotalTolMillise... 阅读全文
摘要:
DECLARE @Results VARCHAR(MAX)SELECT @Results = ( SELECT TOP 10 CAST(tn.NewsId AS VARCHAR) + ',' FROM dbo.TB_News tn ORDER BY tn.NewsId DESC FOR XML PATH('') )SELECT @Results---注意:PATH 括号及括号中参数为非必填项,设置... 阅读全文