SQL View definitions updated