<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PROC SQL CAST in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-CAST/m-p/343414#M63377</link>
    <description>&lt;P&gt;If you're using SQL Pass Through where the query is going to the database then yes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're using SAS SQL then no. The corresponding functions in SAS is PUT or INPUT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Mar 2017 17:06:48 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-03-22T17:06:48Z</dc:date>
    <item>
      <title>PROC SQL CAST</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-CAST/m-p/343408#M63373</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can I use CAST in proc sql to convert into data types;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;select cast ('10:56:49' as TIME);&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 16:55:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-CAST/m-p/343408#M63373</guid>
      <dc:creator>simrut</dc:creator>
      <dc:date>2017-03-22T16:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL CAST</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-CAST/m-p/343414#M63377</link>
      <description>&lt;P&gt;If you're using SQL Pass Through where the query is going to the database then yes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're using SAS SQL then no. The corresponding functions in SAS is PUT or INPUT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 17:06:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-CAST/m-p/343414#M63377</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-03-22T17:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL CAST</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-CAST/m-p/343426#M63380</link>
      <description>&lt;P&gt;As stated in your other thread, SAS isn't using&amp;nbsp;the same syntax that your previous RDBMS does.&lt;/P&gt;
&lt;P&gt;SAS uses ANSI 92 SQL, with some extensions.&lt;/P&gt;
&lt;P&gt;If you get a syntax error in your SQL, please go to support.sas.com and search first. It's gonna be tedious to post&amp;nbsp; every similar issue here...&lt;/P&gt;
&lt;P&gt;Also, there are&amp;nbsp;some pretty good overviews of SAS SQL&amp;nbsp;there as well.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 17:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-CAST/m-p/343426#M63380</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-03-22T17:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL CAST</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-CAST/m-p/343439#M63383</link>
      <description>Thanks</description>
      <pubDate>Wed, 22 Mar 2017 17:55:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-CAST/m-p/343439#M63383</guid>
      <dc:creator>simrut</dc:creator>
      <dc:date>2017-03-22T17:55:59Z</dc:date>
    </item>
  </channel>
</rss>

