whatsthehampton
Programmer
Hi,
I am trying to select only the first 200 character from an NText field.
I read from sqlDennis that we should use 'substring'
Select SUBSTRING(fieldname,1,200) from tablename
This works but not when i need more than 1 field??
I have this
SELECT
substring(eventdesc,1,200), eventtitle, userid, eventid
FROM tbl_ecoevents
returns
'System.Data.DataRowView' does not contain a property with the name 'eventdesc'.
All help most appreciated
Cheers, J
I am trying to select only the first 200 character from an NText field.
I read from sqlDennis that we should use 'substring'
Select SUBSTRING(fieldname,1,200) from tablename
This works but not when i need more than 1 field??
I have this
SELECT
substring(eventdesc,1,200), eventtitle, userid, eventid
FROM tbl_ecoevents
returns
'System.Data.DataRowView' does not contain a property with the name 'eventdesc'.
All help most appreciated
Cheers, J