Posts tagged mysql

May25

Installing the mysql2 Ruby gem on Ubuntu 11.04

ruby gem mysql ubuntu linux | comments

Ran into a mildly perplexing problem while trying to install the mysql2 gem under Ubuntu 11.04 today. As will sometimes happen when Ruby gems require compilation of native binaries to run on your system, there is an unspoken dependency requirement of certain development libraries….

Continue reading »

Dec09

Oracle vs. MySQL, handling of values exceeding column width

errorhandling forms mysql oracle | comments

Say you have a form that someone slapped together some ages ago, and that form has no maxlength attributes on its text input fields. Say also that you don’t have any JavaScript validation of said form wherein those field lengths would be checked upon submit. Say you likewise have no logic in your form processing script with knowledge of the appropriate length at which the storied form input should be curtailed.

Continue reading »

Oct06

MySQL -> Oracle, CONCAT

mysql oracle sql concatenationoperator | comments

CONCAT in MySQL takes any number of values.

CONCAT in Oracle takes only TWO values.

Continue reading »