消息111,级别15,状态1,第5行"CREATE SCHEMA"必须是查询批处理中的第一条语句. [英] Msg 111, Level 15, State 1, Line 5 'CREATE SCHEMA' must be the first statement in a query batch.

查看:532
本文介绍了消息111,级别15,状态1,第5行"CREATE SCHEMA"必须是查询批处理中的第一条语句.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

第15层状态1线5消息111
"CREATE SCHEMA"必须是查询批处理中的第一条语句.消息很清楚.但是,解决方案将取决于您的代码.
一个针对该错误消息的快速Google在MSDN上进行了此讨论: http ://social.msdn.microsoft.com/Forums/zh-CN/transactsql/thread/6667b71e-4d88-4ae5-9c6d-a858ff79cd27 [ 解决方案

Without knowing what code you are actually using it is difficult to tell, but the eror message is pretty clear. The solution though will depend on your code.
A quick google for the error message gave this discussion on MSDN:
http://social.msdn.microsoft.com/Forums/en/transactsql/thread/6667b71e-4d88-4ae5-9c6d-a858ff79cd27[^] which solves it for a couple of common mistakes.


这篇关于消息111,级别15,状态1,第5行"CREATE SCHEMA"必须是查询批处理中的第一条语句.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆