Specify nolock clause on table extractions
Change table names to lower case