I'm trying to pass a value into a Stored Procedure by using the Parameters collection of the ADO Command Object. When you create and append a parameter to the Parameters collection you must specity the SQL Type and Size as arguments. One of my arguments is a Decimal with a Precision of 10, and Scale of 4. However when I append it in with a Size of 10 it gives me an error saying I've give the incorrect Precision.
However I have tried 14, 4, 10.4, and a few other things. What is the correct size for a Precision:10 Scale:4 Decimal parameter?
However I have tried 14, 4, 10.4, and a few other things. What is the correct size for a Precision:10 Scale:4 Decimal parameter?