GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GENEZZO::HAVOK::SQLCOMPARE (3)

.ds Aq ’

NAME

Genezzo::Havok::SQLCompare - SQL comparison functions

CONTENTS

SYNOPSIS

HavokUse(Genezzo::Havok::SQLCompare)

DESCRIPTION

ARGUMENTS

FUNCTIONS

    SQL functions

IN


  WHERE value IN (list)



Returns TRUE if the value is present in the list, else FALSE. NOT IN is slightly different: returns NULL if any list item is NULL, return FALSE if the value matches any list item, else returns TRUE.

LIKE


  WHERE value LIKE (pattern)

  WHERE value LIKE (pattern, escape_char)



Returns TRUE if the value matches the pattern. In the pattern, a ’%’ (percent sign) matches zero or more characters, and an ’_’ (underscore) matches exactly one character. These characters can be matched as literals if they are preceded by the optional escape character.

    EXPORT

LIMITATIONS

IN has list support, but no IN subquery support.

LIKE has a functional syntax, instead of the standard ’LIKE pattern [ESCAPE escape_char]’.

AUTHOR

Jeffrey I. Cohen, jcohen@genezzo.com

SEE ALSO

perl(1).

Copyright (c) 2006 Jeffrey I Cohen. All rights reserved.



    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA



Address bug reports and comments to: jcohen@genezzo.com

For more information, please visit the Genezzo homepage at <http://www.genezzo.com>

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 GENEZZO::HAVOK::SQLCOMPARE (3) 2006-11-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.