From: Eric Christopherson Date: 2011-08-17T04:24:14+09:00 Subject: Re: SQL statement w/ Ruby variables 2011/8/16 Bartosz DziewoƄski : >> Connection.Execute > > "Connection" is uppercase and I think it shouldn't. > > Also, you do realize you did not insert values of the variables into > the SQL string, only their names? (Unless the library you're using > does some really heavy magic.) Also, the INSERT statement tries to insert five values, while "INTO UserInfo(UserLast, USerFirst, SID, FAC, MRN, BarCode)" lists six columns.