You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2007/05/16 08:52:16 UTC

[jira] Assigned: (DERBY-1262) Like-predicates: % does not match tab character

     [ https://issues.apache.org/jira/browse/DERBY-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen reassigned DERBY-1262:
-----------------------------------------

    Assignee: Håvard Mork

Assigning the issue to Håvard since he was the one fixing it.

> Like-predicates: % does not match tab character
> -----------------------------------------------
>
>                 Key: DERBY-1262
>                 URL: https://issues.apache.org/jira/browse/DERBY-1262
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.0.2.0
>         Environment: Embedded, Solaris 10 x86
>            Reporter: Øystein Grøvlen
>         Assigned To: Håvard Mork
>             Fix For: 10.1.3.1, 10.2.1.6
>
>         Attachments: 1262.diff, 1262_3.diff, 1262_4.diff, 1262_5.diff, 1262_6.diff
>
>
> % in like predicates does not seem to match tab character.  In the following example all whitespace in character literals is the tab character:
> ij> create table t4(i integer primary key, j integer, c varchar(10));
> 0 rows inserted/updated/deleted
> ij> insert into t4 values (1, 1, 'abc	def');
> 1 row inserted/updated/deleted
> ij> select * from t4 where c like 'abc%';
> I          |J          |C         
> ----------------------------------
> 0 rows selected
> ij> select * from t4 where c like 'abc	%';
> I          |J          |C         
> ----------------------------------
> 1          |1          |abc    def   
> 1 row selected

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.