> we relied very heavily on stored procedures and SQL to operate the factory
> very little operational decision logic existed in code
I'm curious, what do you think SQL is if not...code?