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.
有没有办法使用 delphi fireac 工具中的 TFDMetaInfoQuery 向 sql 数据库添加或更改约束(如主键、外键、索引等),或者我唯一能做的就是提取此类信息?
类似于: TFDMetaInfoQuery.AddConstraint 或 TFDMetaInfoQuery.AddPrimaryKey 或 TFDMetaInfoQuery.AddIndex - 你明白了。
从有关使用 TFDMetaInfoQuery的手册中:
元数据数据集是只读的,无法编辑。