Fix problem with spaces in tablenames
using a Microsoft SQL server I found table names with spaces O_o.
My patch, mantaining the back compatibility, match table having spaces but require the use of an alias (with or without AS).