I'm using SQL Server 2008 and sequel 3.37

If you do a simple db[:table].select( 
['a','b','c'].sql_string_join.as(:test)).sql

Result is
SELECT ('a' || 'b' || 'c') AS [test] FROM [table]

Correct SQL
SELECT ('a' + 'b' + 'c') AS [test] FROM [table]

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/VbzezfRoe7IJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to