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.
| Author |
Topic |
|
nguyenl
Posting Yak Master
128 Posts |
Posted - 2008-08-08 : 12:49:53
|
| Hi,When I run this query I get: "Arthmetic overflow error converting varchar to data type numeric". I believe the problem lies at "[propertyId]". How would I convert something like this to numeric or varchar?ThankyouSELECT sale_date, sale_price, excise_id, rcrdg_number, seller_name, buyer_name, mult_parclFROM PARCEL LEFT JOIN PAR_SALES ON PARCEL.link_id = PAR_SALES.LINK_IDWHERE parcel.parcel_id = [propertyId]AND parcel.parcel_year = 0ORDER BY sale_date DESC |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-08-08 : 13:00:19
|
| i think you've some values in your propertyid which contains non numeric data and cant be converted. you need to remove them before you can perform the conversion. |
 |
|
|
|
|
|