小编Daa*_*win的帖子

冒险作品中的语法错误通过 SMSS 安装脚本

我正在尝试通过脚本安装示例数据库。我试过酒吧、北风和现在的冒险工作。我有很多错误。我在这里发帖是因为我相信我做错了什么。我假设 Adventureworks 的安装脚本已正确编写脚本,但我仍然收到很多错误消息,例如

> Msg 102, Level 15, State 1, Line 39
Incorrect syntax near ':'.

Microsoft SQL Server 2017 (RTM) - 14.0.1000.169 (X64) 
    Aug 22 2017 17:04:49 
    Copyright (C) 2017 Microsoft Corporation
    Developer Edition (64-bit) on Windows 10 Home 10.0 <X64> (Build 17134: )


Started - 2018-07-07 15:15:49.647

*** Dropping Database
Msg 102, Level 15, State 1, Line 3
Incorrect syntax near '$'.

*** Creating Database
Msg 102, Level 15, State 1, Line 2
Incorrect syntax near '$'.
Run Code Online (Sandbox Code Playgroud)

sql-server

1
推荐指数
1
解决办法
460
查看次数

标签 统计

sql-server ×1