I have in a table SQL server PosZ column
PosZ
103.111005555
1.55689866
95.3655523
SELECT PosZ
FROM Table
My question is how do I get only the first number before the Point (.) so that of this result:
PosZ
103
1
95
I have in a table SQL server PosZ column
PosZ
103.111005555
1.55689866
95.3655523
SELECT PosZ
FROM Table
My question is how do I get only the first number before the Point (.) so that of this result:
PosZ
103
1
95
Good, try this:
PosZ
103.111005555
1.55689866
95.3655523
SELECT round(PosZ, 0)
FROM Table