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 |
|
Amini
Starting Member
6 Posts |
Posted - 2009-04-03 : 00:31:21
|
| Round([NPay]-INT([NPay]),2) AS ExtractPaisaNPay = 3513.45 result = 0.45This is simple formula in MS Access qery. I am converting this in to store procedure in Server 2005. Messege comming "INT is not recogenized build-in function name". what is the replacemnet of INT in store procedure. |
|
|
ayamas
Aged Yak Warrior
552 Posts |
Posted - 2009-04-03 : 01:42:20
|
| You need to use Convert functionRound([NPay]-Convert(INT,[NPay]),2) AS ExtractPaisa |
 |
|
|
Amini
Starting Member
6 Posts |
Posted - 2009-04-03 : 02:36:20
|
| Thanks |
 |
|
|
|
|
|