gpt4 book ai didi

mysql - 数据库建模思想

转载 作者:太空宇宙 更新时间:2023-11-03 11:37:20 25 4
gpt4 key购买 nike

像这样对我的数据库建模是个好主意吗?

一张 table 的 table ,列表,数据表。

create table "Tables"
{
tbl_ID,
tbl_name,
}

create table "columns"
{
col_ID
col_Name
tbl_ID (Foreign key to tables)
}

create table "Datas"
{
data_ID
data_Name
col_ID(foreign key to columns)
}

这就是你的主要想法。

如果他们有任何建议,我可以做一个动态模型。

最佳答案

没有。可怕的想法,尊重。

设计实体 - 表 - 反射(reflect)应用程序中的内容。

使用 dbms 构建 dbms 没有任何好处。使用 DBMS 为您的真实问题空间建模。

不过别担心,我们中的许多人都被这种设计所吸引。

关于mysql - 数据库建模思想,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44812958/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com