Part of the EllisLab Network

Bug Report

MSSQL - ActiveRecord not working

Date: 07/17/2008 Severity: Major
Status: Resolved Reporter: Stuart Marsh
Version: 1.6.3
Keywords: Libraries, Database Class
Forum Thread: http://codeigniter.com/forums/viewthread/71991/

Description

When using MSSQL as the driver, ActiveRecord does not work.
It seems to be adding extra ‘’  before and after every field and table name.  This problem could also affect other ActiveRecord commands.

Code Sample

$this->db->select('username')->from('Pricesname');

Expected Result

Database result set.

Actual Result

A Database Error Occurred
Error Number:

SELECT username FROM “Pricesname”

Comment on Bug Report

Name:

Email:

Location:

URL:

Remember my personal information

Notify me of follow-up comments?