tabs ↹ over ␣ ␣ ␣ spaces

by Jiří {x2} Činčura

Computed by column with select in definition

3 Feb 2008 Firebird

Imagine, you want to create computed by column with select in definition (on Firebird, of course). I never needed this, and I thought, it’s not possible (from some trivial tests). But Slavek Skopalik demonstrated me the opposite. There’s a tricky part with braces (you have to be strict and keep syntax). So you have to write ... computed by ((select x from y ...)) .... Cool, isn’t it? 😉

Profile Picture Jiří Činčura is an independent developer focusing on data and business layers, language constructs, parallelism and databases. Specifically Entity Framework, asynchronous and parallel programming, cloud and Azure. He's Microsoft Most Valuable Professional and you can read his articles, guides, tips and tricks at www.tabsoverspaces.com.