Re: ntext getting truncated
- From: "Russell Fields" <russellfields@xxxxxxxxxx>
- Date: Thu, 21 May 2009 13:20:35 -0400
Jack,
How are you seeing that the data has been truncated? If you are seeing the truncated results in your Access application, then they are certainly being truncated and Tom's advice is good for you.
If you are seeing the truncated results in SQL Server Management Studio, or in Query Analyzer, you may be suffering from the limits of those tools. In a SQL Server Management Studio query window (for example) select the mnu path Tools \ Options, then in the form select Query Results and either Results to Grid or Results to Text to see the maximum number of characters setting.
To check for how long your ntexts are being, you could see the distribution of lengths by a query, such as:
SELECT TOP 100 * FROM (
select count(*) howmany, datalength(ntextcol) ntextlength
from yourtable
group by datalength(ntextcol) ) AS sizes
order by howmany desc
RLF
"Jack" <Jack@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:9006ECEA-FB6A-431E-8D2C-06198976553E@xxxxxxxxxxxxxxxx
Hi I have an access application with linked table to sql server. One of the
linked table in access is memo field while the corresponding sql server field
is ntext. From the front end of the application one can add rather big
description of problem in the memo field. However in the corresponding sql
server field(ntext) part of the problem descriptioin is getting truncated. I
am not sure why. The form fields are directly linked to the linked sql server
table.
I appreciate any help for resolution of this issue.
Thanks.
.
- Follow-Ups:
- Re: ntext getting truncated
- From: Jack
- Re: ntext getting truncated
- References:
- ntext getting truncated
- From: Jack
- ntext getting truncated
- Prev by Date: Re: Partitioned Views and parameters
- Next by Date: Re: BCP import
- Previous by thread: Re: ntext getting truncated
- Next by thread: Re: ntext getting truncated
- Index(es):
Relevant Pages
|
Loading