<?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 Creating a new Character string with Query Builder? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-new-Character-string-with-Query-Builder/m-p/143469#M11418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to do something as basic as creating a new character string variable using the SAS query builder wizard. Before, I would just create a variable using a data step within a program node, however in this particular case it would be beneficial to use the "query builder".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, the only options I see are to either re-define an existing variable within the available tables, or create an advanced expression using these existing variables. How does one go about creating a new variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Golumn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Dec 2014 21:18:30 GMT</pubDate>
    <dc:creator>Golumn</dc:creator>
    <dc:date>2014-12-09T21:18:30Z</dc:date>
    <item>
      <title>Creating a new Character string with Query Builder?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-new-Character-string-with-Query-Builder/m-p/143469#M11418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to do something as basic as creating a new character string variable using the SAS query builder wizard. Before, I would just create a variable using a data step within a program node, however in this particular case it would be beneficial to use the "query builder".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, the only options I see are to either re-define an existing variable within the available tables, or create an advanced expression using these existing variables. How does one go about creating a new variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Golumn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 21:18:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-new-Character-string-with-Query-Builder/m-p/143469#M11418</guid>
      <dc:creator>Golumn</dc:creator>
      <dc:date>2014-12-09T21:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new Character string with Query Builder?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-new-Character-string-with-Query-Builder/m-p/143470#M11419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hi,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Not sure, may be case statement will do the job.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 21:41:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-new-Character-string-with-Query-Builder/m-p/143470#M11419</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2014-12-09T21:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new Character string with Query Builder?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-new-Character-string-with-Query-Builder/m-p/143471#M11420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You create a new variable with the advanced expression and you can use whatever expression you want. Whatever you add as advanced expression will then be on the left side of the generated SQL select statement.&lt;/P&gt;&lt;P&gt;&amp;lt;your advanced expression&amp;gt; &amp;lt;attributes&amp;gt; as &amp;lt;column name given&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here an example:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image" src="https://communities.sas.com/legacyfs/online/8308_Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image" src="https://communities.sas.com/legacyfs/online/8309_Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/8310_Capture.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image" src="https://communities.sas.com/legacyfs/online/8311_Capture.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 21:56:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-new-Character-string-with-Query-Builder/m-p/143471#M11420</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-12-09T21:56:59Z</dc:date>
    </item>
  </channel>
</rss>

