Displaying 2 results from an estimated 2 matches for "statement_handl".
Did you mean:
statement_handle
2011 Aug 25
3
ActiveRecord searching in batch (with find_by_sql)
I have an issue where I am getting a large number of records from the
database and I cant afford to keep it in the memory due to performance
issues.
Therefore using the following would be ideal,
User.find_each(:batch_size => 5000, :start => 2000) do |user|
NewsLetter.weekly_deliver(user)
end
however,
I would like to use find_by_sql since my query is user defined. Question
is, is it
2010 Apr 28
0
asterisk core dumps after cdr database writes using odbc
...Str=0x2abb640 "INSERT INTO cdr
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield)
VALUES ({ts '2010-04-28 10:01:26'},?,?,?,?,?,?"..., cbSqlStr=-3) at
odbc.c:3227
#8 0x00fa4263 in SQLExecDirect (statement_handle=0xa400250,
statement_text=0x2abb640 "INSERT INTO cdr
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield)
VALUES ({ts '2010-04-28 10:01:26'},?,?,?,?,?,?"..., text_length=-3) at
SQLExecDirect....