priyanka pathak on rails world
Monday, June 11, 2012
Concat string via MY SQL & PSQL
Hey guys,
Do you know there is little bit difference to concat the string under MY SQL & PSQL?
mysql:
update posts set title =
concat(title, 'Hey')
psql:
update posts set title =
title || 'Hey'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment