Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试为每家公司及其信息的记录创建新表。为此,我使用了简单的 Create 查询。有什么办法可以防止重复表吗?
在我知道的每个数据库中,都不允许重复的表名。在某些情况下,还有第三个元素,模式,但我假设一切都在同一个模式中。
换句话说,尝试创建副本会导致错误。试试看。
顺便说一句,您应该始终使用您正在使用的数据库标记您的问题。