Improving SQL creation script for SQLServer.