| Author |
Message |
weswinkler
Joined: 11 Nov 2008 Posts: 32
|
Posted: Fri Aug 03, 2012 6:41 pm Post subject: Find invalid objects: false positive on $PARTITION statement |
|
|
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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Mon Aug 06, 2012 1:59 pm Post subject: |
|
|
Thanks for letting us know. I have logged a bug report with the development team as SP-4488. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
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