Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sql-server-2005/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
SQL 2005在另一个基之间的外键_Sql_Sql Server 2005_Foreign Keys_Between - Fatal编程技术网

SQL 2005在另一个基之间的外键

SQL 2005在另一个基之间的外键,sql,sql-server-2005,foreign-keys,between,Sql,Sql Server 2005,Foreign Keys,Between,在SQL 2005中,是否可以在数据库表中为另一个数据库中的表列创建外键?否。如果需要跨数据库引用完整性,唯一的方法是使用触发器

在SQL 2005中,是否可以在数据库表中为另一个数据库中的表列创建外键?

否。如果需要跨数据库引用完整性,唯一的方法是使用触发器