modified view creation scripts to use ansi standard sql extract functions (compatible with both psql and mysql)
Merge branch 'master' of github.com:dlebauer/view_creation_script