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)
 integer divid by 2

Author  Topic 

noamg
Posting Yak Master

215 Posts

Posted - 2007-02-12 : 13:40:16
what is the faster way to divid an int by 2 ?
is there shift Bitwise Operators ?

Noam Graizer

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

7020 Posts

Posted - 2007-02-12 : 13:59:16
I usually do something like this:
MyColumnName/2


CODO ERGO SUM
Go to Top of Page
   

- Advertisement -