Issue Details (XML | Word | Printable)

Key: DERBY-45
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Myrna van Lunteren
Reporter: Lance Andersen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

Request support for CAST() in Like clause

Created: 18/Oct/04 07:06 PM   Updated: 04/Jun/05 07:03 PM
Return to search
Component/s: SQL
Affects Version/s: 10.0.2.0
Fix Version/s: 10.0.2.2

Time Tracking:
Not Specified

Environment: all platforms

Resolution Date: 12/Nov/04 06:28 PM


 Description  « Hide
Request support for CAST() in like clause for example:

select t0.ID, t0.QUANTITY, t0.NAME, t0.PRICE, t0.PNUM from PRODUCTEJB_TABLE t0 where t0.NAME like CAST (? AS VARCHAR(32672))


This is supported by DB2 and will ease migration between DB2 and Derby

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Myrna van Lunteren added a comment - 12/Nov/04 06:28 PM
patch for fix was submitted with svn revision 57487.
changed file:
java\engine\org\apache\derby\impl\sql\compile\LikeEscapeOperatorNode.java
also requires updates to java\testing\ora\apache\derbyTesting\functionTests\master\LOB.out and dynamicLikeOptimization.out.