RE: How to Determine Whole Dollar Amount
I'm trying to SELECT all records where the Amount is a whole dollar. I need to exclude all records where the Amount field contains cents. Using Dinakar's suggestion:SELECT * FROM Sales WHERE CAST(Amount AS int) = Amountappears to give me what I need. I just need to verify that this is the correct syntax to […]
2005-05-26