Hello:

Am I doing something wrong or is this a bug?

It looks as working for me, here is my test case:

            FbConnection c = new FbConnection(csb.ToString());
            c.Open();

            decimal d = 10.2M;

FbCommand cmd = new FbCommand("insert into new_table (new_field) values (@value)", c);
            cmd.Parameters.Add("@value", FbDbType.Numeric).Value = d;

            cmd.ExecuteNonQuery();

            c.Close();

And the DDL of the table i'm using:

CREATE TABLE NEW_TABLE (
    NEW_FIELD  NUMERIC(9,2)
);



--
Best regards

Carlos Guzmán Álvarez
Vigo-Spain


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to