简体   繁体   English

有人知道如何使用SQL获取peachtree的数据库架构吗? (无所不在)

[英]Anyone know how can I obtain the database schema of peachtree with SQL? (pervasive)

I'm trying to create a query that returns me the schema of the database peachtree erp. 我正在尝试创建一个查询,该查询将数据库桃树erp的架构返回给我。 Does anyone know how to solve this? 有谁知道如何解决这个问题?

Until now, I could get this: Select * from X$File but It's not what I need. 到目前为止,我可以这样: Select * from X$File但这不是我所需要的。

Or if anyone has a modeling database for peachtree, it would be nice to share it over here. 或者,如果任何人都有桃树的建模数据库,那么可以在这里共享它。

The X$FILE table only stores the table name to physical filename link. X$FILE表仅将表名存储到物理文件名链接。 The X$FIELD table links the fields to the tables and includes the offsets, data types, and field names. X$FIELD表将字段链接到表,并包括偏移量,数据类型和字段名称。 X$INDEX shows the indexes on the fields in X$FIELD . X$INDEX显示X$FIELD字段的索引。

This may or may not help as Peachtree may or may not define all fields or tables. 这可能会也可能不会有所帮助,因为Peachtree可能会或可能不会定义所有字段或表。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 普适 SQL 2000i 数据库上次事务查询 - Pervasive SQL 2000i Database Last Transaction Query 我如何知道 SQL 数据库在一段时间内发生了什么变化? - How can I know what changed in a SQL database for a certain time? 如何更新SQL Server数据库架构? - How can I update my SQL Server database schema? 在MonetDB中,可以通过SQL命令获取数据库名称吗? - In MonetDB, can I obtain the database name via SQL commands? 普及 PSQL 10 数据库到 MS SQL 服务器? - Pervasive PSQL 10 Database to MS SQL Server? 我如何获取数据库中特定表的排序规则? - How I can obtain the collation of a specific table in a database? 如何从SQL文本文件将数据库架构导入MS Access 2003? - How can I import a database schema into MS Access 2003 from sql text file? 如何在SQL Server数据库模式中找到所有填充了100%空值的列? - How can I find all columns that are filled with 100% nulls in my SQL Server database schema? 有人可以帮助我如何创建任何人都可以通过互联网访问的SQL数据库吗? - can anyone help me out how to create SQL database which anyone can ACCESS from over the internet? 如何查询 Redshift 以获取特定数据库的所有模式名称 - How to query Redshift to obtain all the schema names for a specific database
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM