Red Gate forums :: View topic - Invalid Objects
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Prompt 5
SQL Prompt 5 forum

Invalid Objects

Search in SQL Prompt 5 forum
Post new topic   Reply to topic
Jump to:  
Author Message
rajeshckr



Joined: 26 Mar 2014
Posts: 2

PostPosted: Wed Mar 26, 2014 1:49 pm    Post subject: Invalid Objects Reply with quote

I run 5.3.8.2.

When I try find invalid objects, it does not find any of them. I do have few stored procedures that are getting called from other SPs with incorrect number of parameters and it certainly fails on execution.

Am I missing something? I tried restaring SSMS multiple times too.

Raj
Back to top
View user's profile Send private message
Anu Deshpande



Joined: 20 Apr 2009
Posts: 688
Location: Cambridge

PostPosted: Thu Mar 27, 2014 3:00 pm    Post subject: Reply with quote

Thanks for your post.

Objects are listed as invalid by SQL Prompt if they:
- cannot be compiled
- can be compiled, but cannot be executed
For example, a stored procedure that references an object that no longer exists in the database is listed as invalid.

Hope this answers your question.
_________________
Anuradha Deshpande
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com
Back to top
View user's profile Send private message Send e-mail
rajeshckr



Joined: 26 Mar 2014
Posts: 2

PostPosted: Thu Mar 27, 2014 3:13 pm    Post subject: Invalid Objects Reply with quote

In this case it indeed does not compile (since this SP refers to another SP which now takes less number of arguments)

So it should come as a part of invalid objects right?
Back to top
View user's profile Send private message
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