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

Tag

# #primary-key

20 posts · 0 followers

[Ashifur Rahaman](https://hashnode.com/@ashif-arsb) · [Nov 27, 2025](https://hashnode.com/posts/sql-server-data-integrity-and-constraints/692832c182ed5f5a25510c6e)

### [SQL Server Data Integrity & Constraints](https://sqlinsights.hashnode.dev/sql-server-data-integrity-and-constraints?utm_source=hashnode&utm_medium=feed)

Data Integrity ensures that the data in your database is accurate, consistent, and adheres to business rules. Constraints are the database objects that enforce these rules at the lowest level, preventing invalid data entry regardless of the applicati...

5 min read · [sqlinsights.hashnode.dev](https://sqlinsights.hashnode.dev/sql-server-data-integrity-and-constraints?utm_source=hashnode&utm_medium=feed)

[Ganesh Rama Hegde](https://hashnode.com/@hegde10122) · [Oct 28, 2025](https://hashnode.com/posts/chapter-6-coding-the-first-use-case-data-layer/690128a91c0be15f13bc2bc6)

### [Chapter 6 - Coding the first Use case (Data layer)](https://androidavatar.hashnode.dev/chapter-6-coding-the-first-use-case-data-layer?utm_source=hashnode&utm_medium=feed)

We coded the domain layer classes in the earlier chapter. Now we need to write the classes of data layer so that the use case becomes more meaningful in nature. The GetArtUseCase will fetch the list of Art objects from the local Room database. This i...

6 min read · [androidavatar.hashnode.dev](https://androidavatar.hashnode.dev/chapter-6-coding-the-first-use-case-data-layer?utm_source=hashnode&utm_medium=feed)

[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)

[Yash Sakhareliya](https://hashnode.com/@yash021) · [Jul 15, 2025](https://hashnode.com/posts/understanding-sql-table-relationships-and-keys/687651d007461932a07c4ef1)

### [Understanding SQL Table Relationships And Keys](https://learn-pgsql.hashnode.dev/understanding-sql-table-relationships-and-keys?utm_source=hashnode&utm_medium=feed)

Learn SQL table relationships: primary and foreign keys, One-to-One, One-to-Many, Many-to-One, and Many-to-Many with examples

3 min read · [learn-pgsql.hashnode.dev](https://learn-pgsql.hashnode.dev/understanding-sql-table-relationships-and-keys?utm_source=hashnode&utm_medium=feed)

[JayRam Nai](https://hashnode.com/@jramnai) · [May 11, 2025](https://hashnode.com/posts/fixing-non-incrementing-primary-key-in-postgresql/68204e5b197939c98d63d6f6)

### [Fixing Non-Incrementing Primary Key in PostgreSQL](https://jramnai.hashnode.dev/fixing-non-incrementing-primary-key-in-postgresql?utm_source=hashnode&utm_medium=feed)

Facing a duplicate key error in PostgreSQL? Learn why auto-increment (SERIAL) primary keys stop working and how to fix sequence issues using simple command.

1 min read · [jramnai.hashnode.dev](https://jramnai.hashnode.dev/fixing-non-incrementing-primary-key-in-postgresql?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)

[Utkarsh](https://hashnode.com/@rajputkarsh) · [Sep 23, 2024](https://hashnode.com/posts/uuid-or-auto-increment-integer-best-primary-key-for-your-db/66f0eede9a8fac719f32660b)

### [UUID or Auto Increment Integer: Best Primary Key for your DB](https://blogs.utkarshrajput.com/uuid-or-auto-increment-integer-best-primary-key-for-your-db?utm_source=hashnode&utm_medium=feed)

Exploring the advantages and trade-offs between UUIDs and auto-increment integers as primary keys in database design.

7 min read · [blogs.utkarshrajput.com](https://blogs.utkarshrajput.com/uuid-or-auto-increment-integer-best-primary-key-for-your-db?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)
