<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://www.sqlines.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.sqlines.com/feed.php">
        <title>SQLines Tools teradata:functions</title>
        <description></description>
        <link>https://www.sqlines.com/</link>
        <image rdf:resource="https://www.sqlines.com/lib/images/favicon.ico" />
       <dc:date>2026-04-17T04:02:55+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.sqlines.com/teradata/functions/index?rev=1332882090&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.sqlines.com/teradata/functions/nullifzero?rev=1330350738&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.sqlines.com/teradata/functions/position?rev=1330510052&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.sqlines.com/teradata/functions/zeroifnull?rev=1331399888&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.sqlines.com/lib/images/favicon.ico">
        <title>SQLines Tools</title>
        <link>https://www.sqlines.com/</link>
        <url>https://www.sqlines.com/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="https://www.sqlines.com/teradata/functions/index?rev=1332882090&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-03-27T21:01:30+00:00</dc:date>
        <title>Teradata - INDEX Function - Get Position of Substring in String</title>
        <link>https://www.sqlines.com/teradata/functions/index?rev=1332882090&amp;do=diff</link>
        <description>INDEX function returns the position (integer number) of a substring in a string.

Quick Example:

Find position of word York in string New York:


   SELECT INDEX('New York', 'York');
   -- Result: 5


INDEX Overview


Summary information:

 Syntax  INDEX(string, substring)  When Not Found  Returns 0 when substring is not found in string  Returns NULL  If string or substring is NULL  Alternatives  POSITION function  ANSI SQL compliant  Different order of parameters  

Related Functions:</description>
    </item>
    <item rdf:about="https://www.sqlines.com/teradata/functions/nullifzero?rev=1330350738&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-02-27T13:52:18+00:00</dc:date>
        <title>Teradata - NULLIFZERO Function - Replace 0 Values with NULL</title>
        <link>https://www.sqlines.com/teradata/functions/nullifzero?rev=1330350738&amp;do=diff</link>
        <description>NULLIFZERO function replaces 0 values with NULL, and can be used to avoid division by zero, or to suppress
printing zeros in reports i.e.

Quick Example:

Avoid division by zero:


   SELECT amount / NULLIFZERO(store_count) FROM sales;


NULLIFZERO Overview


Summary information:</description>
    </item>
    <item rdf:about="https://www.sqlines.com/teradata/functions/position?rev=1330510052&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-02-29T10:07:32+00:00</dc:date>
        <title>Teradata - POSITION Function - Get Position of Substring in String</title>
        <link>https://www.sqlines.com/teradata/functions/position?rev=1330510052&amp;do=diff</link>
        <description>POSITION function returns the position (integer number) of a substring in a string.

Quick Example:

Find position of word Jose in string San Jose:


   SELECT POSITION('Jose' IN 'San Jose');
   -- Result: 5


POSITION Overview


Summary information:</description>
    </item>
    <item rdf:about="https://www.sqlines.com/teradata/functions/zeroifnull?rev=1331399888&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-03-10T17:18:08+00:00</dc:date>
        <title>Teradata - ZEROIFNULL Function - Replace NULL Values with 0</title>
        <link>https://www.sqlines.com/teradata/functions/zeroifnull?rev=1331399888&amp;do=diff</link>
        <description>ZEROIFNULL function replaces NULL values with 0.

Quick Example:


   SELECT ZEROIFNULL(NULL);
   -- Result: 0


ZEROIFNULL Overview


Summary information:

 Syntax  ZEROIFNULL(expression)  Alternatives  CASE WHEN expression IS NULL THEN 0 ELSE expression END  CASE is ANSI SQL compliant

Related Functions:</description>
    </item>
</rdf:RDF>
