title: How to use SQL Server 2012 as my database in codeigniter
body: <p>I want to build an application in Codeigniter and I want to use SQL Server 2012 as my database</p>
  
  <p>I have not tried this yet and I don't know from where should I start.</p>
  
  <ol>
  <li><p>How can I configure my Codeigniter to use SQL Server 2012 database?</p></li>
  <li><p>Can I use Codeigniter Active records to retrive data from SQL Server database?</p></li>
  <li><p>If I can not use Codeigniter, how can I use SQL Server query inside my Codeigniter models?</p></li>
  </ol>
  
  <p>Please give me a detailed explanation with example code.</p>
  
  <p>Thanks.</p>