Skip Navigation LinksHome > SSW Standards > DeveloperSQLServer > SSW SQL Server Relationship Naming Standard

There was an error displaying the testimonials. Please report this error to SSW and include the following text:
- A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

  SQL Server Relationship Naming Standard

This standard outlines the procedure on naming Relationships at SSW for SQL Server. Use this standard when creating new Relationships or if you find an older Relationship that doesn't follow that standard.

Do you agree with them all? Are we missing some? Let us know what you think.


Relationship names are to have this syntax:
[PrimaryTable] - [ForeignTable]
[        1       ] - [        2       ]

[1] The table whose columns are referenced by other tables in a one-to-one or one-to-many relationship.


Rather than accepting the default value i.e. ClientAccount_FK01 that is given from upsizing.

We recommend using Prod-ClientAccount.

The good thing is when you look at the relationship from the other side it is there as well.

We also believe in using Cascade Updates - but never cascade deletes.


Adam Cogan