Transfer SQL template