Red Gate forums :: View topic - SmartRename misses dependencies
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Refactor 1
SQL Refactor 1 forum

SmartRename misses dependencies

Search in SQL Refactor 1 forum
Post new topic   Reply to topic
Jump to:  
Author Message
George Palacean



Joined: 14 Jan 2009
Posts: 19

PostPosted: Wed Jan 21, 2009 12:18 pm    Post subject: SmartRename misses dependencies Reply with quote

If a view references a table using the three-part identifier (even if it's in the same database), then it will not be changed when smartrenaming the table.

Ex:
create view testview
as
select * from databasename.dbo.tablename


but it works if the view is defined like this:
create view testview
as
select * from dbo.tablename
Back to top
View user's profile Send private message
eddie davis



Joined: 14 Jun 2006
Posts: 889
Location: Red Gate Software

PostPosted: Fri Jan 23, 2009 4:28 pm    Post subject: Reply with quote

Thank you for your post into the forum and sorry that you have encountered this problem

I have tested as per your example and replicated your problem.

I have created a Bug Report for the development team to consider. The reference for the Bug Report is SR-590. Hopefully the development team will rectify this bug in a future version of SQL Refactor.

Many Thanks
Eddie
_________________
Eddie Davis
Technical Support Engineer
Red Gate Software Ltd
E-mail: support@red-gate.com
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group