Displaying 2 results from an estimated 2 matches for "test_temp".
Did you mean:
last_temp
2004 Apr 23
2
More confusion on exclude rules
I have created two new files /export/home/bin/test_temp.delete_me and
/export/home/webmstr/nflmg/scripts/regional/misc_loaders/test_temp.delete_me
on the rsync server and am using the following exclude file.
+ bin/
+ nflmg/scripts/regional/misc_loaders/
- core
- *.bz2
- *.orig
- *.BAK
- *.bak
- *.old
- *.csv
- *.tmp
- *.4chart
- *.xls
- *.difftrx
- *....
2005 Sep 07
0
using Oracle bind vars in Rails
...her dbs?
----- MY TEST APP ------
require ''oci8''
require ''benchmark''
conn = OCI8.new "user", "pass", "db"
n = 100000
Benchmark.bm do |x|
x.report("dynamic sql:") do
for i in 1..n
sql = "insert into test_temp values (#{i})"
conn.exec sql
end
conn.commit
end
x.report("bind vars:") do
sql = "insert into test_temp values (:i)"
for i in 1..n
conn.exec sql, i
end
conn.commit
end
end