Column names are not passed as string literals #3

Closed
opened 2017-01-19 01:42:19 +00:00 by jamie · 2 comments
jamie commented 2017-01-19 01:42:19 +00:00 (Migrated from git.hazaar.io)

I had a case where a developer created a column called "from_FRED", which is bad for other reasons, but it was converted to "from_fred" when it was created on other databases. Reason is uppercase table names are so bad that unless you quote the table name as a string literal, case is ignored when the table is created.

Soooooo... I spose I will quote the table name to turn it into a string literal so that developers can continue to do boneheaded things that will "just work".

I had a case where a developer created a column called "from_FRED", which is bad for other reasons, but it was converted to "from_fred" when it was created on other databases. Reason is uppercase table names are so bad that unless you quote the table name as a string literal, case is ignored when the table is created. Soooooo... I spose I will quote the table name to turn it into a string literal so that developers can continue to do boneheaded things that will "just work".
jamie commented 2017-04-01 00:07:01 +00:00 (Migrated from git.hazaar.io)

added ~160 label

added ~160 label
jamie commented 2017-06-22 04:13:24 +00:00 (Migrated from git.hazaar.io)

closed via commit b1ee4d3110

closed via commit b1ee4d3110f0e940cda8fab48894db8ecc750c28
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hazaar/hazaar-dbi#3
No description provided.