New SQL Features in Firebird
New SQL Features in Firebird
New SQL Features in Firebird
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
4<br />
Common <strong>SQL</strong> : SIMILAR TO<br />
Regular expressions support per <strong>SQL</strong> standard specification<br />
<strong>New</strong> SIMILAR TO predicate<br />
More powerful version of LIKE with regexp syntax<br />
Example : is given str<strong>in</strong>g represents a valid number ?<br />
Value SIMILAR TO '[\+\-]?[0-9]*([0-9].|.[0-9])?[[:DIGIT:]]*'<br />
ESCAPE '\'<br />
[\+\-] + or -<br />
? 0 or 1 times<br />
[0-9] any digit<br />
* 0 or more times<br />
([0-9].|.[0-9]) or <br />
? 0 or 1 times<br />
[[:DIGIT:]] any digit<br />
* 0 or more times<br />
Luxembourg 2011 Whats new <strong>in</strong> <strong>Firebird</strong> <strong>SQL</strong>