Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

what is smallmoney data type unit in sql server?

$
0
0
smallmoney data type in sql server makes me confuse.

after creating a table and add a columns with this data type, i entered a number(one) and it shows me this:
    
     1.0000

what is this means?this means is one dollar or one cent?
if i want to store one cent i should enter what?

     this 0.1 or 1.0000 and if is correct what about entering one dollar?

i want to store some things like this one dollar and 55 cent.


Thanks Motevallizadeh


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>