Red Gate forums :: View topic - Find invalid objects: false positive on $PARTITION statement
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

Find invalid objects: false positive on $PARTITION statement

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



Joined: 11 Nov 2008
Posts: 32

PostPosted: Fri Aug 03, 2012 6:41 pm    Post subject: Find invalid objects: false positive on $PARTITION statement Reply with quote

SQL Prompt's "Find invalid objects" feature incorrectly flags the use of $PARTITION function/statement as invalid. (SQL Prompt 5.3.4.1)

Repro: embed any valid statement calling the $PARTITION statement in a sproc. Ask SQL Prompt to find invalid objects in the database.

My example:
Code:
CREATE SPROC MySproc
...
select @PARTITION=$PARTITION.pfValidPartitionFunction(@InputData)
...


In my case, @PARTITION and @InputData are valid local variables in the sproc. pfValidPartitionFunctionis a valid partition function in the database.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Mon Aug 06, 2012 1:59 pm    Post subject: Reply with quote

Thanks for letting us know. I have logged a bug report with the development team as SP-4488.
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