bitcoin mssql decimal/money storage size What's the decimal storage requirement in ms sql for bitcoin?

GAAP standard quotes decimal (13, 4) for money.

Is decimal (13,8) preferred for bitcoin or something else?
You need at least DECIMAL(16,8) to store any valid Bitcoin amount (i.e. up to just over 20 Million Bitcoin, requiring 8 digits to the left of the decimal point) precisely (i.e. down to a single Satoshi, requiring 8 digits to the right of the decimal point).

Depening on your application and how you (or your collaborators) think of Bitcoin amounts, it may be preferable to process them in Satoshi, enabling you to treat them as integers (BIGINT would then be the SQL datatype). Of course, then you have traded the dangers around non-integer handling for those associated with large integer handling.