<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>SQL on bradleycarey.com</title>
    <link>https://bradleycarey.com/tags/sql/</link>
    <description>Recent content in SQL on bradleycarey.com</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 05 Dec 2023 14:05:41 -0500</lastBuildDate>
    <atom:link href="https://bradleycarey.com/tags/sql/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Using SQL Server Reporting Services (SSRS) in an ASP.NET MVC project</title>
      <link>https://bradleycarey.com/posts/2015-06-08-using-sql-server-reporting-services-ssrs-in-an-asp-net-mvc-project/</link>
      <pubDate>Mon, 08 Jun 2015 14:21:49 -0400</pubDate>
      <guid>https://bradleycarey.com/posts/2015-06-08-using-sql-server-reporting-services-ssrs-in-an-asp-net-mvc-project/</guid>
      <description>&lt;p&gt;There are a handful of examples out on the internet on how to use SSRS from an ASP.NET website but all of the ones I came across seemed like hacks. They range from throwing an ASPX page with a ReportViewer control to complex JavaScript hacks. The following method is the one I have used for many years that adheres to the true MVC manner. This method connects to SSRS through the web service using Microsoft.Reporting.WebForms assembly.&lt;/p&gt;</description>
    </item>
    <item>
      <title>SAS Data File to PostgreSQL friendly CSV using Perl</title>
      <link>https://bradleycarey.com/posts/2012-12-24-sas-data-file-to-postgresql-friendly-csv-using-perl/</link>
      <pubDate>Mon, 24 Dec 2012 00:06:39 -0400</pubDate>
      <guid>https://bradleycarey.com/posts/2012-12-24-sas-data-file-to-postgresql-friendly-csv-using-perl/</guid>
      <description>&lt;p&gt;In my database course at Marshall University, I helped my professor with a side project involving Cancer research data that has been collected since 1973 by the National Cancer Institute. My first job was to take the &lt;a href=&#34;http://seer.cancer.gov/about/&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;SEER&lt;/a&gt; data and load it into a postgreSQL database.&lt;/p&gt;&#xA;&lt;p&gt;The job was simple enough. The only problem? The data files were in &lt;a href=&#34;http://en.wikipedia.org/wiki/SAS_%28software%29&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;SAS format&lt;/a&gt;. Basically the format was CRLF delimited entries composed of fixed-length fields. &lt;a href=&#34;http://seer.cancer.gov/manuals/read.seer.research.nov2011.sas&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Here&lt;/a&gt; is a list of the fields and lengths that I used for the script.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
