<?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 Best Practices for storing and executing SQL statements with a change log? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Best-Practices-for-storing-and-executing-SQL-statements-with-a/m-p/60289#M13018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appologize if this is misfiled. I'm new here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for some direction to go with the below project. Any guidance or pitfalls to avoid will be appreciated.&lt;/P&gt;&lt;P&gt;I have about 100 select SQL statements that query different databases. My project requires them to be run each day and results stored in one table for easy user access. These queries often change. When they do, I want to be able to capture the change history so that if I ever wanted to run logic from say, "this date last year--but with this modification" I can do that for modeling purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it's at least 2 parts. One, what is the best way to store hundreds of SQL queries so that they can be executed? Two, how do you integrate a dated change log into the process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2011 19:00:28 GMT</pubDate>
    <dc:creator>Mishka1</dc:creator>
    <dc:date>2011-09-02T19:00:28Z</dc:date>
    <item>
      <title>Best Practices for storing and executing SQL statements with a change log?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Best-Practices-for-storing-and-executing-SQL-statements-with-a/m-p/60289#M13018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appologize if this is misfiled. I'm new here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for some direction to go with the below project. Any guidance or pitfalls to avoid will be appreciated.&lt;/P&gt;&lt;P&gt;I have about 100 select SQL statements that query different databases. My project requires them to be run each day and results stored in one table for easy user access. These queries often change. When they do, I want to be able to capture the change history so that if I ever wanted to run logic from say, "this date last year--but with this modification" I can do that for modeling purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it's at least 2 parts. One, what is the best way to store hundreds of SQL queries so that they can be executed? Two, how do you integrate a dated change log into the process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2011 19:00:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Best-Practices-for-storing-and-executing-SQL-statements-with-a/m-p/60289#M13018</guid>
      <dc:creator>Mishka1</dc:creator>
      <dc:date>2011-09-02T19:00:28Z</dc:date>
    </item>
    <item>
      <title>Best Practices for storing and executing SQL statements with a change log?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Best-Practices-for-storing-and-executing-SQL-statements-with-a/m-p/60290#M13019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First part: depends on the nature of your jobs. Do you mean that you have hundreds of SQL that are loading data in the same table? Are they dependent of each other? If the SQL's are quite complex and have dependencies, maybe Data Integration Server/Studio should be considered. If this approach is too heavy, implementing them as Enterprise Guide project could be one alternative - which at least give you some graphical view of the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second part: use a 3rd party system for this. Maybe your site already has one. Data Integration Studio (9.3) has direct integration with Concurrent Versions System (CVS) and Apache Subversion (SVN). These tools can use packages from DI Studio, EG projects or plain text-files with code (i.e. SQL).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 08:10:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Best-Practices-for-storing-and-executing-SQL-statements-with-a/m-p/60290#M13019</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2011-09-05T08:10:35Z</dc:date>
    </item>
    <item>
      <title>Best Practices for storing and executing SQL statements with a change log?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Best-Practices-for-storing-and-executing-SQL-statements-with-a/m-p/60291#M13020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I do have hundreds of SQL statements loading data to one table and they are all independent of each other. I am going to look into Data Integration Studio with CVS as a possible solution. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 12:40:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Best-Practices-for-storing-and-executing-SQL-statements-with-a/m-p/60291#M13020</guid>
      <dc:creator>Mishka1</dc:creator>
      <dc:date>2011-09-06T12:40:27Z</dc:date>
    </item>
  </channel>
</rss>

