On Fri, Jun 5, 2015 at 12:18 PM, Lukas Eder <[email protected]> wrote: >> INSERT INTO ORDERS (id, title, customer) VALUES (snowflake(), 'SQL for >> Hipsters', CAST(E'\\x6e6562' AS bytea)) RETURNING id; > > > I'll make sure that query returns 1337 ;-)
There is though a foreign key on the customer column, so no 0-daze here - I read on SO that the only way to do this at web scale is to store it as raw - apparently integer values cause too much overhead for the query planner - hence 0x6e6562 is a web scale username :-) -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
