---
title: "#foreign-key articles | Hashnode"
description: "Explore 14 articles tagged #foreign-key on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/foreign-key"
---

Tag

# #foreign-key

14 posts · 0 followers

[Krishal Karna](https://hashnode.com/@krishalkarna) · [Aug 14, 2025](https://hashnode.com/posts/introduction-to-databases-and-mysql/689da91d82d9799e4074111d)

### [Introduction to Databases and MySQL](https://completesql.hashnode.dev/introduction-to-databases-and-mysql?utm_source=hashnode&utm_medium=feed)

Understand essential database concepts including Data, DBMS, software, Primary Key, and other fundamentals. Perfect for beginners, students, and for all

8 min read · [completesql.hashnode.dev](https://completesql.hashnode.dev/introduction-to-databases-and-mysql?utm_source=hashnode&utm_medium=feed)

[Sharif Uddin](https://hashnode.com/@sharif-web-dev) · [Jul 23, 2025](https://hashnode.com/posts/how-to-disable-foreign-key-checks-in-mysql-sql-file-to-fix-database-import-errors/688036ed4086bb624566f3a8)

### [How to Disable Foreign Key Checks in MySQL .sql File to Fix Database Import Errors](https://sharif-web-dev.hashnode.dev/how-to-disable-foreign-key-checks-in-mysql-sql-file-to-fix-database-import-errors?utm_source=hashnode&utm_medium=feed)

Learn how to disable foreign key checks in MySQL .sql files to prevent import errors. Use SET FOREIGN\_KEY\_CHECKS = 0 to fix foreign key constraint issues.

2 min read · [sharif-web-dev.hashnode.dev](https://sharif-web-dev.hashnode.dev/how-to-disable-foreign-key-checks-in-mysql-sql-file-to-fix-database-import-errors?utm_source=hashnode&utm_medium=feed)

[Ganesh Rama Hegde](https://hashnode.com/@hegde10122) · [Apr 5, 2025](https://hashnode.com/posts/2-tables-entities-and-rdbms/67f14e5c4f3e281f59c90d8e)

### [2\. Tables, Entities, and RDBMS](https://vedicschema.hashnode.dev/2-tables-entities-and-rdbms?utm_source=hashnode&utm_medium=feed)

In a database design design we are discuss these three important topics - Tables, Entities and RDBMS. You may ask why ? Aren’t you digressing from the topic ? I would like to say that we would be using these concepts as the building blocks of our des...

4 min read · [vedicschema.hashnode.dev](https://vedicschema.hashnode.dev/2-tables-entities-and-rdbms?utm_source=hashnode&utm_medium=feed)

[Ganesh Rama Hegde](https://hashnode.com/@hegde10122) · [Apr 5, 2025](https://hashnode.com/posts/1-databases-database-design-and-sql/67f0ff0f29a4b28410837917)

### [1\. Databases, Database Design and SQL](https://vedicschema.hashnode.dev/1-databases-database-design-and-sql?utm_source=hashnode&utm_medium=feed)

In today’s modern digital world dominated by Artificial Intelligence and Machine Learning, data is the new fuel. Data is at the core of every application - from fitness apps, healthcare and e-commerce to banking and social media. We use databases to ...

3 min read · [vedicschema.hashnode.dev](https://vedicschema.hashnode.dev/1-databases-database-design-and-sql?utm_source=hashnode&utm_medium=feed)

[Ganesh Rama Hegde](https://hashnode.com/@hegde10122) · [Apr 5, 2025](https://hashnode.com/posts/3-sql-structured-query-language-part-1/67f1701b211c1c7936a18c12)

### [3\. SQL (Structured Query Language) - Part 1](https://vedicschema.hashnode.dev/3-sql-structured-query-language-part-1?utm_source=hashnode&utm_medium=feed)

What is SQL ? SQL (Structured Query Language) is the standard language used to create, read, update, and delete data in a relational database. Why is SQL important ? It allows us to communicate with the database and manage data effectively. Types of ...

4 min read · [vedicschema.hashnode.dev](https://vedicschema.hashnode.dev/3-sql-structured-query-language-part-1?utm_source=hashnode&utm_medium=feed)

[Danny Crasto](https://hashnode.com/@danwald) · [Dec 24, 2024](https://hashnode.com/posts/foreign-key-with-missing-indexes/676a1e36f93568d47bea9ceb)

### [Foreign Key with missing indexes](https://blog.danwald.me/foreign-key-with-missing-indexes?utm_source=hashnode&utm_medium=feed)

Relational databases have references to other tables via 1-Many relationships using a foreign key. CREATE TABLE Bar( id int NOT NULL, name varchar(128), PRIMARY KEY (id) ); CREATE TABLE Foo ( id int NOT NULL,...

2 min read · [blog.danwald.me](https://blog.danwald.me/foreign-key-with-missing-indexes?utm_source=hashnode&utm_medium=feed)

[Rohan](https://hashnode.com/@rohanblogs) · [Nov 24, 2024](https://hashnode.com/posts/django-accessing-foreign-key-objects/6742bf3785ea2bc0bfc63616)

### [Django ORM: Accessing foreign key objects](https://rohansblog.hashnode.dev/django-accessing-foreign-key-objects?utm_source=hashnode&utm_medium=feed)

One to many, many to one relationships For demonstration, let’s create a Django project and start an app call books. We will take the example of the relationship between books and reviews and create two simple models for them. As you know, one book c...

4 min read · [rohansblog.hashnode.dev](https://rohansblog.hashnode.dev/django-accessing-foreign-key-objects?utm_source=hashnode&utm_medium=feed)

[DataWisoka](https://hashnode.com/@datawisecoder) · [Jul 3, 2024](https://hashnode.com/posts/choosing-the-right-database-data-modeling-in-postgres-vs-dynamodb/66b56dc94c50242e9d931385)

### [Choosing the Right Database: Data modeling in Postgres vs DynamoDB](https://datawisoka.com/choosing-the-right-database-data-modeling-in-postgres-vs-dynamodb?utm_source=hashnode&utm_medium=feed)

Crafting the Blueprint for Your Data - Relational Precision vs. NoSQL Flexibility

7 min read · [datawisoka.com](https://datawisoka.com/choosing-the-right-database-data-modeling-in-postgres-vs-dynamodb?utm_source=hashnode&utm_medium=feed)

[Ricardo Ribeiro](https://hashnode.com/@kaitozr) · [Jun 5, 2024](https://hashnode.com/posts/coletando-id-do-banco-de-dados-net-x-sql-server/6660a34a883096e4fca3c46a)

### [Coletando ids do banco de dados (.NET x SQL SERVER)](https://kaitozr.hashnode.dev/coletando-id-do-banco-de-dados-net-x-sql-server?utm_source=hashnode&utm_medium=feed)

Criando um método que facilite o manejo das chaves do banco dentro do Visual Studio

2 min read · [kaitozr.hashnode.dev](https://kaitozr.hashnode.dev/coletando-id-do-banco-de-dados-net-x-sql-server?utm_source=hashnode&utm_medium=feed)

[Jatu Naazneen](https://hashnode.com/@naazweb) · [Feb 18, 2024](https://hashnode.com/posts/data-organization-flattened-vs-nested-foreign-keys/65d249c040a0b3b11669185d)

### [Data Organization: Flattened vs. Nested Foreign Keys](https://blog.naazweb.com/data-organization-flattened-vs-nested-foreign-keys?utm_source=hashnode&utm_medium=feed)

Discover the pros and cons of nested foreign keys versus flattened foreign keys in database design. Learn how to optimize data organization.

3 min read · [blog.naazweb.com](https://blog.naazweb.com/data-organization-flattened-vs-nested-foreign-keys?utm_source=hashnode&utm_medium=feed)
