Previously, there was the utility SCPTXFR.EXE, which was part of the standard installation of SQL Server 7.0 and 2000. The initial goal was as part of the upgrade process, which allowed you to migrate SQL Server 6.5 databases to SQL Server 7.0 and 2000. However, it is also very useful in everyday environments. as it allows you to programmatically generate scheduled scripts of database objects.
, SQL 2005/2008. .