SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[LD_Logs_Relatorios]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[LD_Logs_Relatorios](
[id] [int] NOT NULL,
[value] [real] NOT NULL,
[date] [varchar](10) NOT NULL,
CONSTRAINT [PK_LD_Logs_Relatorios] PRIMARY KEY CLUSTERED ([id] ASC)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]) ON [PRIMARY]
END
Onde esta o erro nesse código?
Mensagem de ERRO que aparece
Server: Msg 170, Level 15, State 1, Line 7
Line 7: Incorrect syntax near '('.
isso é no webshop v2 quando vou rodar a query.
Obrigado!!!!!