Displaying 2 results from an estimated 2 matches for "endsql".
Did you mean:
endsel
2006 Mar 28
2
Fastest way of adding " " around multiline text in RADRAILS
lets say i have the following SQL in my database editor :
When i paste it into rad rails i have to add quotes and the ''+'' symbol
to the end of each line. It is very tedious. What is the best method?
select timesheets.employee,
sum(items.hours) as hours,
sum(items.hours*timesheets.cost)
as cost,
sum(items.hours*timesheets.charge*decode(activities.chargetype,0,1,0))
as charge,
2006 Mar 07
3
STI and unit testing
...42
43 require File.dirname(__FILE__) + ''/foo_test''
44
45 class BarTest < FooTest
46
47 def class_to_test
48 Bar
49 end
50
51 def test_say_hello
52 assert_equal "hello", class_to_test.new.say_hello
53 end
54
55 endsql:CREATE TABLE `foos` ( `id` mediumint(9) NOT NULL
auto_increment, `type` varchar(255) default NULL, PRIMARY KEY (`id`))
ENGINE=InnoDB DEFAULT CHARSET=latin1;