目前分類:程式設計 (3)

瀏覽方式: 標題列表 簡短摘要

踢除~

mstsc /console /v:IP

登入~

Joel 發表在 痞客邦 留言(0) 人氣()

以下MSSQL時間格式轉換為文字的常用參數,因為每次都記不起來乾脆就寫在這邊提供大家參考.

select convert(varchar(20),getdate(),StyleID)

Joel 發表在 痞客邦 留言(0) 人氣()

數字轉成字母(Excel):
Function ConvertToLetter(iCol As Integer) As String
   Dim iAlpha As Integer
   Dim iRemainder As Integer
   iAlpha = Int(iCol / 27)
   iRemainder = iCol - (iAlpha * 26)
   If iAlpha > 0 Then
      ConvertToLetter = Chr(iAlpha + 64)
   End If
   If iRemainder > 0 Then
      ConvertToLetter = ConvertToLetter & Chr(iRemainder + 64)
   End If
End Function

Joel 發表在 痞客邦 留言(0) 人氣()