SQL Server:创建表

问题描述 投票:0回答:1

在SQL Server中创建表时,它是使用dbo.<tableName>格式创建的。

我想将dbo.tableName更改为source.tableName,因为我想将数据导入源表然后烹饪该数据。

谢谢

sql sql-server
1个回答
1
投票

你在谈论模式。如果架构source尚不存在,则需要运行create schema source。一旦架构存在,它就像create table source.tableName (...)一样简单。

© www.soinside.com 2019 - 2024. All rights reserved.