I have a query returning a column of floating point numbers but I am only interested in the number before the decimal place. I don't want to round the number so I am looking for something like:
1.95 = 1
1.45678 = 1
12.00 = 12
12.9999 = 12
Is there an easy way to achieve this in SqlServer other than doing a substring?