SET IGNORECASE kinda appends _IGNORECASE for new CREATE TABLE column datatypes, since you did a CREATE TABLE AS SELECT and the old table had pre-existing VARCHAR (as opposed to VARCHAR_IGNORECASE) columns, they retained the case sensitivity from the original table.
On Sunday, September 9, 2012 6:26:41 PM UTC-7, rpw wrote: > > How do I create a case insensitive table from a table that is case > sensitive? > > I tried the following: > > SET IGNORECASE = TRUE; > CREATE TABLE new_table > AS (SELECT * FROM old_table); > > but the new table was case sensitive. > What am I missing? > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To view this discussion on the web visit https://groups.google.com/d/msg/h2-database/-/Ib8QJvvid2cJ. 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/h2-database?hl=en.
