<?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 sql view is taking more time to copy into table or print in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/sql-view-is-taking-more-time-to-copy-into-table-or-print/m-p/107629#M29965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i am copying the records from view to table, its taking around 12 mins for 70K records, but when i am copying from view to view its taking less than a min&lt;/P&gt;&lt;P&gt;by using simple select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using simple proc print statement for view and table. view is taking lot of more time than table.&lt;/P&gt;&lt;P&gt;is there any way to reduce the time to print with view&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2012 18:50:42 GMT</pubDate>
    <dc:creator>sunilreddy</dc:creator>
    <dc:date>2012-08-29T18:50:42Z</dc:date>
    <item>
      <title>sql view is taking more time to copy into table or print</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sql-view-is-taking-more-time-to-copy-into-table-or-print/m-p/107629#M29965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i am copying the records from view to table, its taking around 12 mins for 70K records, but when i am copying from view to view its taking less than a min&lt;/P&gt;&lt;P&gt;by using simple select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using simple proc print statement for view and table. view is taking lot of more time than table.&lt;/P&gt;&lt;P&gt;is there any way to reduce the time to print with view&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 18:50:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sql-view-is-taking-more-time-to-copy-into-table-or-print/m-p/107629#M29965</guid>
      <dc:creator>sunilreddy</dc:creator>
      <dc:date>2012-08-29T18:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: sql view is taking more time to copy into table or print</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sql-view-is-taking-more-time-to-copy-into-table-or-print/m-p/107630#M29966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to optimize code without an example of what the code is doing is extremely difficult. So an example of code would be helpful. Also are the views/ tables/ datasets SAS or accessing an external database?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general a view has to excecute the equivalent of the code each time. If the source data is large or lots of complex code involved performance takes a hit. View to view is basically just constructing the instructions, not actually moving any data. The instructions execute when the view is used, such as in Proc print.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 23:17:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sql-view-is-taking-more-time-to-copy-into-table-or-print/m-p/107630#M29966</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-08-29T23:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: sql view is taking more time to copy into table or print</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sql-view-is-taking-more-time-to-copy-into-table-or-print/m-p/107631#M29967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thus is working as intended.&amp;nbsp; Copying a view to a view just copies the associated commands; no data are moved.&amp;nbsp; That's why there is such a time difference.&amp;nbsp; RTFM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 13:27:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sql-view-is-taking-more-time-to-copy-into-table-or-print/m-p/107631#M29967</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-08-30T13:27:20Z</dc:date>
    </item>
  </channel>
</rss>

