---
title: "Discussion on \"Primary Key vs Surrogate Key When Working with 3rd Party Database\" | Hashnode"
description: "Discussion on \"Primary Key vs Surrogate Key When Working with 3rd Party Database\". Which key should you use as primary key when working with a third party database?"
url: "https://hashnode.com/posts/primary-key-vs-surrogate-key-when-working-with-3rd-party-database/63d0eea3629bc902ab033076"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Primary Key vs Surrogate Key When Working with 3rd Party Database](https://blog.sciffany.com/primary-key-vs-surrogate-key-when-working-with-3rd-party-database?utm_source=hashnode&utm_medium=feed)

Which key should you use as primary key when working with a third party database?

Jan 25, 2023 · 3 min read · blog.sciffany.com  
Read the article

-   [#databases](https://hashnode.com/tag/databases)
-   [#foreign-key](https://hashnode.com/tag/foreign-key)
-   [#surrogate-key](https://hashnode.com/tag/surrogate-key)
-   [#primary-key](https://hashnode.com/tag/primary-key)

## Written by

[Tiffany Chong](https://hashnode.com/@sciffany)

@sciffany

  
[View profile](https://hashnode.com/@sciffany)

Software Developer and Graphic Designer

Software Developer and Graphic Designer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
