About 341,000 results
Open links in new tab
  1. How to Create a real one-to-one relationship in SQL Server

    Apr 24, 2012 · In practice. Who needs a "real" one-to-one relationship? a relationship of type 1 to 0..1 is Ok and more natural and practical. It's like adding a nullable column to an existing table. …

  2. sql - How to implement one-to-one, one-to-many and many-to …

    Jan 28, 2022 · The one-to-many table relationship looks as follows: In a relational database system, a one-to-many table relationship links two tables based on a Foreign Key column in …

  3. When should you use a one-to-one relationship with tables in …

    Nov 6, 2024 · 129 When should you use a one-to-one relationship with tables in your database? You can implement necessary fields inside one table. Even if data becomes very large you …

  4. Defining a one-to-one relationship in SQL Server - Stack Overflow

    Aug 13, 2016 · I need to define a one-to-one relationship, and can't seem to find the proper way of doing it in SQL Server. Why a one-to-one relationship you ask? I am using WCF as a DAL …

  5. sql - MySQL - One To One Relationship? - Stack Overflow

    I'm trying to achieve a "One to one" relationship in a MySQL database. For example, let's say I have a Users table and an Accounts table. I want to be sure that a User can have only one A...

  6. sql - Difference between one-to-many and many-to-one …

    Jan 5, 2011 · For example, if one department can employ several employees then department to employee is a one-to-many relationship (1 department employs many employees), while …

  7. Difference between one-to-one and one-to-many relationship in a ...

    25 When having a one-to-one relationship in a database the other table has a foreign key ID (in this example). And in a one-to-many relationship the table contains many foreign keys. But …

  8. join - SQL query one to many relationship - Stack Overflow

    SQL query one to many relationship Asked 12 years, 8 months ago Modified 8 years ago Viewed 143k times

  9. How to create one-to-one relationships with declarative

    71 I have two tables, foo and bar, and I want foo.bar_id to link to bar. The catch is that this is a one-way one-to-one relationship. bar must not know anything about foo. For every foo, there …

  10. SQL one to one relationship vs. single table - Stack Overflow

    Jun 29, 2014 · Normalization is mainly about avoiding redundancy and related lack of consistency. The decision whether to hold data in only one table or more 1:1 related tables …