<?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 sybase-ads-to-sql-server</title>
        <description></description>
        <link>https://www.sqlines.com/</link>
        <image rdf:resource="https://www.sqlines.com/lib/images/favicon.ico" />
       <dc:date>2026-05-23T16:52:06+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.sqlines.com/sybase-ads-to-sql-server/timestampadd?rev=1514559201&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/sybase-ads-to-sql-server/timestampadd?rev=1514559201&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-12-29T14:53:21+00:00</dc:date>
        <title>TIMESTAMPADD to DATEADD - Sybase Advantage to SQL Server Migration</title>
        <link>https://www.sqlines.com/sybase-ads-to-sql-server/timestampadd?rev=1514559201&amp;do=diff</link>
        <description>In Sybase Advantage Database you can use TIMESTAMPADD function to add an interval to the datetime value. In Microsoft SQL Server you can use DATEADD function, but note that the interval unit specifiers are different: 

Sybase ADS:


  -- Add 1 day to the current datetime
  SELECT TIMESTAMPADD(SQL_TSI_DAY, 1, CURRENT_TIMESTAMP());
  # 2017-12-30 17:27:11.343

  -- Subtract 1 day from the current datetime
  SELECT TIMESTAMPADD(SQL_TSI_DAY, -1, CURRENT_TIMESTAMP());
  # 2017-12-28 17:27:11.343</description>
    </item>
</rdf:RDF>
