You can’t reference a view in a foreign key.
More Related Contents:
- How can foreign key constraints be temporarily disabled using T-SQL?
- Cannot truncate table because it is being referenced by a FOREIGN KEY constraint?
- Create a view with ORDER BY clause
- When/Why to use Cascading in SQL Server?
- How to update primary key
- TSQL: Create a view that accesses multiple databases
- Local and global temporary tables in SQL Server
- Get first day of week in SQL Server
- Can a foreign key be NULL and/or duplicate?
- SQL Server add auto increment primary key to existing table
- SQL Server: UPDATE a table by using ORDER BY
- EF5: Cannot attach the file ‘{0}’ as database ‘{1}’
- SQL Server: How to select all days in a date range even if no data exists for some days
- SQL – The conversion of a varchar data type to a datetime data type resulted in an out-of-range value
- Do while loop in SQL Server 2008
- TSQL: How to convert local time to UTC? (SQL Server 2008)
- Transpose rows and columns with no aggregate
- How do I pass value to a stored procedure parameter in OLE DB Source component?
- How can I import an Excel file into SQL Server? [closed]
- Possible to set default schema from connection string?
- How does sql server choose values in an update statement where there are multiple options?
- Entity Framework Core 2.0: How to configure abstract base class once
- WHERE clause better execute before IN and JOIN or after
- How to reuse calculated columns avoiding duplicating the sql statement
- Commas within CSV Data
- How do I move a table into a schema in T-SQL
- nvarchar(max) vs NText
- How to use RANK() in SQL Server
- Unable to find the requested .Net Framework Data Provider. It may not be installed. – when following mvc3 asp.net tutorial
- SQL Server error “Implicit conversion of because the collation of the value is unresolved due to a collation conflict.”