foreign-key-relationship
PHP: Fetching data from *strange* MySQL database
I have a closed-source software written in C#/.NET from a VoIP company which is impossible to customize and wanted to create custom front-end using PHP. I gained access to the database and now see how[详细]
2023-04-02 10:56 分类:问答SQL Server: Can I create a 'synthetic' relation that has no indexing or constraint checking overhead?
What I wish to do is ensure that the foreign key relation is maintained in the database schema but for performance reasons, not enforce the constrain or incur any indexing overheads. It\'s purpose is[详细]
2023-04-01 13:05 分类:问答Maintaining a foreign key relationship when inserting into tables with autoincrementing Id's
I have two tables: Defect and DefectData. Each Defect may or may not have one or many DefectData. As such DefectData has a DefectId column as a foreign-key.[详细]
2023-03-31 05:35 分类:问答SQL: Cross table with foreign keys to two different tables
I have three tables: zip_code_data |zipCodeId| primary key |zipCode| indexed |other columns...| location_data[详细]
2023-03-31 04:35 分类:问答How to set up a table with a recursive foreign key and a relationship declaratively in SQLAlchemy?
Suppose I have a table \"nodes\" where I store a tree. Each node has a primary key id and a column parent_id.[详细]
2023-03-30 22:35 分类:问答How to effectively save database table names in XML and parse them in C#
I have a requirement to copy the tables from one DB to another . The table names (to be used in the application) are configured in the XML file.[详细]
2023-03-29 03:15 分类:问答Multiple level dependency models in Zend Framework
I\'m developing an application in Zend Framework to handle the rentals for a commercial property rental company.The company has multiple buildings which each have multiple floors, which each have mult[详细]
2023-03-27 03:35 分类:问答How do I retrieve objects linked through Django generic relations and determine their types?
Here is my models.py: class Player(models.Model): name = models.Char开发者_运维问答Field(max_length=100)[详细]
2023-03-26 23:06 分类:问答DELETE all where MySQL foreign key constraint does not fail
I am trying to delete a few records but am getting the following error: Cannot delete or update a parent row: a foreign key constraint fails[详细]
2023-03-26 07:52 分类:问答How to add a JPA relationship against legacy database
I\'m coming from a C# entity framework background and looking at JPA in a Java project so I\'m hoping that what I\'m facing is just a conceptual problem.[详细]
2023-03-23 20:37 分类:问答