
August 8th, 2012, 04:45 PM
|
|
Registered User
|
|
Join Date: Apr 2012
Posts: 8
Time spent in forums: 1 h 17 m 45 sec
Reputation Power: 0
|
|
|
Recordset is truncated after 255 characters
I'm trying to read a CSV file into a database using classic ASP. The fields work ok apart from the description field is truncated after 255 characters. Even when I display the field straight after the below command the same issue happens. Looking at the CSV file, nothing seems to be stopping it after 255 characters i.e. carriage returns. A sample of the CSV file is below.
Code:
set myRS = myConn.Execute("SELECT [Description] FROM [Text;DATABASE=" & Server.MapPath("/fpdb/") & ";HDR=Yes].[PRD_new.csv]")
Do While not myRS.EOF
response.write(myRS("Description"))
myRS.MoveNext
Loop
(CSV file)
Description
"Many wiki communities are private, particularly within enterprises. They are often used as internal documentation for in-house systems and applications. Some companies use wikis to allow customers to help produce software documentation.[25] A study of cor"
|