Remove the date/time in SQL script generated using SSMS?

假如想象 提交于 2019-12-01 15:34:44

问题


When I generate scripts in SQL Server 2008 Management Studio, it seems to insert the date/time in the script also.

For example:

USE [AdventureWorks]
GO

/****** Object:  View [dbo].[vw_test]    Script Date: 18/01/2017 3:27:10 PM ******/
SET ANSI_NULLS ON
GO
<rest of script goes here>

How can I remove that?


回答1:


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

Probably need to set "Include Descriptive Headers" = false

However, your question is unclear so this is a guess.



来源:https://stackoverflow.com/questions/1196920/remove-the-date-time-in-sql-script-generated-using-ssms

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!