这部分是什么
我发现以下 SQL 命令:
Dim commandText As String = _
"UPDATE Sales.Store SET Demographics = @demographics " _
& "WHERE CustomerID = @ID;"
Sales.Store
的部分是什么?
编辑
那么适合我的情况的正确路径是什么?
我正在 MSVS2010 内的 ASP.net 中执行这一切(如果这有帮助的话)...
I found the following SQL command:
Dim commandText As String = _
"UPDATE Sales.Store SET Demographics = @demographics " _
& "WHERE CustomerID = @ID;"
What is the part that says Sales.Store
?
EDIT
So what would be the correct path for my situation?
I'm doing this all in ASP.net inside of MSVS2010 if that helps at all...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Sales
- 数据库或模式名称(我敢打赌数据库名称,因为历史上在 MS SQl 模式中很少使用 Oracle)Store
- 表或视图名称在任何语句中(MS Sql Server) 访问对象定义
对于其他数据库引擎可能有所不同
Sales
- database or schema name (I would bet for database name because historically in MS SQl schemas used very rare as opposed to Oracle)Store
- table or view nameIn any statement (MS Sql Server) access object definition is
For other data base engines it could differ
就像其他人所说的那样,
Sales
可能意味着模式或数据库。在 MySQL 中,它是数据库名称,在 MSSQL 中,它是架构名称。Like the others say,
Sales
could mean a schema or database. In MySQL it's a database name in MSSQL it's a schema name.Sales
是架构(或数据库)名称,Store
是表名称。在您的情况下,只需省略架构名称,如下所示:
Sales
is the schema (or database) name,Store
is the table name.In your case, just omit the schema name, like this:
我不确定
@
符号(也许是 SQL Server?),但Sales.Store
是一个表名。特别是,Sales
似乎是一个架构名称,Store
是该架构中表的名称。I'm not sure about the
@
symbols (SQL server, perhaps?), butSales.Store
is a table name. In particularSales
appears to be a schema name andStore
is the name of a table within that schema.