SQL Source Control (version 5.7) with default valuer missing

Hi.

I have this error:



After analyzing the error in CarMaker.sql, in the create table the default value is missing:

CREATE TABLE [dbo].[CarMaker]
(
[Id] [uniqueidentifier] NOT NULL ROWGUIDCOL CONSTRAINT [DF_CarMaker_Id] DEFAULT -- No text is available,
[Name] [nvarchar] (50) COLLATE Latin1_General_CI_AS NOT NULL,
(...)

I went to degin, and i have Default value newguid()

if i change the sql to

[Id] [uniqueidentifier] NOT NULL ROWGUIDCOL CONSTRAINT [DF_CarMaker_Id] DEFAULT (newid()),-- No text is available,

i solve my problem, but a have almost 60 projects (Data Bases) with a lot of tables, and at this moment 75% of databases have this error.

Any options?

Also i use Sql Server 2008.

Thank's in advance

Marco Branco



Tagged:

Answers

Sign In or Register to comment.