473,387 Members | 1,520 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,387 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 2189
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.