473,396 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Truncation from SqlServer with Text field ADO.Net

I am trying to retrieve the content of a text column in
SqlServer using a DataReader. When I ask for the data,
using either GetString () or GetSqlString (), the data
gets truncated all ellipses (...) put on the end.

I don't know of any other way to get the data out so any
help is appreciated.
Jul 21 '05 #1
2 2190
What is the datatype of the column you are retrieving?
"Mark" <md*****@ccs-inc.com> wrote in message
news:ac****************************@phx.gbl...
I am trying to retrieve the content of a text column in
SqlServer using a DataReader. When I ask for the data,
using either GetString () or GetSqlString (), the data
gets truncated all ellipses (...) put on the end.

I don't know of any other way to get the data out so any
help is appreciated.

Jul 21 '05 #2
the data type for the column is ntext.
-----Original Message-----
What is the datatype of the column you are retrieving?
"Mark" <md*****@ccs-inc.com> wrote in message
news:ac****************************@phx.gbl...
I am trying to retrieve the content of a text column in
SqlServer using a DataReader. When I ask for the data,
using either GetString () or GetSqlString (), the data
gets truncated all ellipses (...) put on the end.

I don't know of any other way to get the data out so any
help is appreciated.

.

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Bart Torbert | last post by:
Hello, I am starting to examine using SQLServer instead of Oracle. I went through the SQLServer import utility to copy tables from Oracle into SQLServer. I then checked the size of the...
2
by: Gary Miller | last post by:
I have a TextBox control with a databings to a dataset.column name. The MaxLength property is 2000 bytes. When I enter data e.g. 1957 bytes and do a Update the screen remains complete, but if I...
2
by: Mark | last post by:
I am trying to retrieve the content of a text column in SqlServer using a DataReader. When I ask for the data, using either GetString () or GetSqlString (), the data gets truncated all ellipses...
8
by: Taffman | last post by:
I've searched this goup for an answer to this, there are many discussions that come close but non that I can find that actually addresses this particular problem. I'm exporting queries to Excel....
1
by: Brook | last post by:
Hi, I have a form set up (frm_enter_action) which has an unbound text box on it (description) allowing users to enter standard text. This field is then used to insert a record into a table...
0
by: Brenda | last post by:
We are on DB2, AIX fixpak 14 This error happens when running PeopleSoft PeopleCode Application Engine process. I have checked other posts out here and it seems like others who have reported...
1
by: deepthisoft | last post by:
hai, In my application i am using the MVC (JSP,Servlet,Bean) architecture. In that a am trying to insert a record in the table in sqlserver.I got the error message ODBC SQL server Driver...
5
by: bobh | last post by:
Hi All, I have this query which updates a field based on the result of an IIF statement. The table is on SQLServer and I'm linked to it and it has many records and will take Access a very long...
4
by: Neil | last post by:
Using SQL 7 with an Access 2000 MDB front end with ODBC linked tables. Have a DateModified field which previously was smalldatetime. Changed over the weekend to datetime. Field is updated with a...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.