Yii Framework Forum: Problem in accessing NText from MS SQL in Yii framework - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Problem in accessing NText from MS SQL in Yii framework Rate Topic: -----

#1 User is offline   antobinish 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 16-April 09

Posted 10 July 2009 - 07:31 AM

When I am trying to read all the values in the table which has nText field, i am getting the following exception.

CDbCommand failed to execute the SQL statement: SQLSTATEHY000: General error: 4004 General SQL Server error: Check messages from the SQL Server 4004 (severity 16)

I guess its the problem with php PDO.

Is there anyway to access nText values other than the sql cast method?

0

#2 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,892
  • Joined: 04-October 08
  • Location:DC, USA

Posted 10 July 2009 - 11:50 AM

Could you please paste the problematic SQL? (turn on CWebLogRoute to see it)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users