When you do integer division (integer divided by integer) you always get an integer answer. 50/100 = .50, which is 0 in integer-speak.
Have you tried dividing MY_COLUMN by 100.0?
More Related Contents:
- Truncate (not round) decimal places in SQL Server
- Case statement for multiple columns
- SQL where clause odd behavior [closed]
- SQL Server Exec issue [closed]
- Count(*) vs Count(1) – SQL Server
- How do I escape a single quote in SQL Server?
- Selecting data from two different servers in SQL Server
- Is a view faster than a simple query?
- How to convert DateTime to VarChar
- How to rewrite IS DISTINCT FROM and IS NOT DISTINCT FROM in SQL Server 20008R2?
- How do I delete from multiple tables using INNER JOIN in SQL server
- SQL : BETWEEN vs =
- SQL Server: Howto get foreign key reference from information_schema?
- SQL Server convert string to datetime
- Should I design a table with a primary key of varchar or int?
- How do you import a large MS SQL .sql file?
- How do I make a composite key with SQL Server Management Studio?
- Difference between Subquery and Correlated Subquery
- How to execute .sql file using powershell?
- Return number of rows affected by UPDATE statements
- Execute Dynamic Query with go in sql
- TransactSQL to run another TransactSQL script
- How can I get a list of element names from an XML value in SQL Server
- SQL server identity column values start at 0 instead of 1
- Syntax of for-loop in SQL Server
- Using tuples in SQL “IN” clause
- Why does ISNUMERIC(‘.’) return 1?
- What does ON [PRIMARY] mean?
- SQL query to group by day
- Getting warning: Null value is eliminated by an aggregate or other SET operation