Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate Scripts Without Date [duplicate]

Tags:

sql-server

Possible Duplicate:
Remove the date/time in my sql script generated using EM?

Database - Tasks - Generate Scripts

I use this operation to generate database script and store it in the control versions system. But this script have lines like this:

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

The date in such lines changes each time I created it. Can I generate the database script without this lines?

like image 258
ceth Avatar asked Jan 19 '12 12:01

ceth


1 Answers

Based om comments on the question, change the SSMS options...

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

Uncheck "Include Descriptive headers"

like image 93
gbn Avatar answered Sep 28 '22 04:09

gbn