Posted by forngren on January 28, 2007 at 2:54pm
Hi,
Could someone please look at http://drupal.org/node/29706 and see if it's pgsql compliant? How do the CONCAT, MD5 and SUBSTRING functions behave on PostgreSQL?
Thanks,
Johan Forngren
Hi,
Could someone please look at http://drupal.org/node/29706 and see if it's pgsql compliant? How do the CONCAT, MD5 and SUBSTRING functions behave on PostgreSQL?
Thanks,
Johan Forngren
Comments
CONCAT, MD5, SUBSTRING in PostgreSQL : not very much different
Hello,
All string functions in PostgreSQL are documented in http://www.postgresql.org/docs/8.2/interactive/functions-string.html
It would be however simple to create a function (procedure) in postgresql called CONCAT that does the concatenation with || so that MySQL syntax works as is. However the SQL99 standard defines || as the concatenation operator, and based on my SQL book this is what Postgresql and Oracle do, where MS SQL uses + instead of || , and where MySQL uses CONCAT
Patrick.
Thanks
Thank you Patrick, your answer is highly appreciated.
Thanks Patrick
Thanks, so we should find a solution for it (which shouldn't be too hard).
Thanks.