zzfive03
Programmer
- Jun 11, 2001
- 267
Hello, I have a query that selects out of a csv file (exported from Active Directory). My query appears to "cutoff" the results of one of my fields after 255 characters.
Is there a way to extend the field so I can get the entire result set?
Here is a code snip of my query:
SELECT *
into #Temp
FROM OpenRowset
(
'MSDASQL',
'Driver={Microsoft Text Driver (*.txt; *.csv)};DefaultDir=C:\',
'select member, dn, mailNickName from aa.csv'
)
The "Member" field cuts off.
Is there a way to extend the field so I can get the entire result set?
Here is a code snip of my query:
SELECT *
into #Temp
FROM OpenRowset
(
'MSDASQL',
'Driver={Microsoft Text Driver (*.txt; *.csv)};DefaultDir=C:\',
'select member, dn, mailNickName from aa.csv'
)
The "Member" field cuts off.