Scripting without date

Possible duplicate:
Delete date / time in my sql script generated with EM?

Database - Tasks - Scripting

I use this operation to create a script database and save it in the version control system. But this script has lines like this:

/ ****** Object: Table [dbo]. [statuses] script Date: 01/19/2012 11:32:16 ****** /

The date in such lines changes every time I create it. Is it possible to create a script database without these lines?

+6
source share
1 answer

Based on the comments on the question, change the SSMS settings ...

Tools..Options..SQL Server Object Explorer..Scripting

Uncheck "Include descriptive headings"

+17
source

Source: https://habr.com/ru/post/906390/


All Articles