What software are you looking for ?
"Apex SQL Script is a SQL tool that converts Databases into scripts, .net EXE's, deployment packages or into source control Scripts are ordered based on proprietary dependency algorithms to ensure proper order of generated scripts. Scripts can be created from Databases or Source control labels (all SCC compliant source control systems are supported) Includes Command Line Interface ApexSQL Script allows a rich array of value added scripting attributes to embed customizable text, tags, dates, comments etc into your scripts to transform your output into a richly tailored output, that comes in a variety of formats. " .....