I have created a SSRS report (SQL Server 2005), however on running it I receive an error that a view doesn't exist on the mirrored database (I haven't dealt with mirroring before). What happens is I run the SQL stored procedure on the 1 database and it runs fine returning all the data expected. If I run the report pointing to the mirrored database, it picks up the stored procedure but not the view. If I go and look in enterprise explorer both the stored procedure and View don't exist in the database.
I'm convinced it's a mirroring issue, but I'm not sure how to get the view to the other database, and why doesn't the stored procedure show up under Enterprise explorer?
thanks.
尝试对镜像数据库上的视图使用sp_refreshview。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.