The best way to explicitly convert from one data type to another in SQL Server is with CAST(). So, assuming the data fit inside an int, CAST(column-name AS INT). If you are not sure if it will fit, TRY_CAST() might be what you are looking for.
In reply to Re: convert bigint to int
by chacham
in thread convert bigint to int
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |