Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Int to binary to int

Author  Topic 

werowe
Starting Member

3 Posts

Posted - 2001-04-12 : 17:27:34
Here is some vb code:

i = 3380
iMins = i And &HFF&
iHours = i \ &H100 And &HFF&
' MsgBox (i & " = " & iHours & ":" & iMins)

Can I do the same in SQL

   

- Advertisement -