473,386 Members | 1,720 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,386 software developers and data experts.

urgent - data type problem

Hi,

I have a form which is submitting into a sql server db. i have one of
the fields set to ntext which says length of 16. when i insert info,
it only sumbits about a paragraph and when i pull this back using
analyser it amounts to a byte count of 256 bytes. i thought you could
submit pages of info using ntext??

i had been trying to use varchar with a length of 7000, but for some
reason only info on the one line is submitted. if the user uses a
line break, then nothing after that is submitted.

Any help greatly appreciated.
Jul 20 '05 #1
3 1533
Tools / Options / Results. Set the "Maximum characters per column" setting
to a larger value.

--
David Portas
SQL Server MVP
--
Jul 20 '05 #2

"kieran" <ki********@hotmail.com> wrote in message
news:b3**************************@posting.google.c om...
Hi,

I have a form which is submitting into a sql server db. i have one of
the fields set to ntext which says length of 16. when i insert info,
it only sumbits about a paragraph and when i pull this back using
analyser it amounts to a byte count of 256 bytes. i thought you could
submit pages of info using ntext??
Not the 16 is the of the pointer.


i had been trying to use varchar with a length of 7000, but for some
reason only info on the one line is submitted. if the user uses a
line break, then nothing after that is submitted.

Any help greatly appreciated.

Jul 20 '05 #3
"kieran" <ki********@hotmail.com> wrote in message
news:b3**************************@posting.google.c om...
Hi,

I have a form which is submitting into a sql server db. i have one of
the fields set to ntext which says length of 16. when i insert info,
it only sumbits about a paragraph and when i pull this back using
analyser it amounts to a byte count of 256 bytes. i thought you could
submit pages of info using ntext??

i had been trying to use varchar with a length of 7000, but for some
reason only info on the one line is submitted. if the user uses a
line break, then nothing after that is submitted.

Any help greatly appreciated.


You may have a data type problem or you may have a problem with your
front-end, either in how the input data is handled or in how the output data
is displayed.

For instance, Access grids seem to ignore anything after a line break by
default. You may have successfully stored multiple lines of text (a string
with embedded cr/lf s) but then be unable to display anything after the
initial cr/lf by opening the table in MS Access.

You're going to have to look at the whole system involved (front-end tools,
database server, table defnitions, etc) to isolate the cause of your
problem.

Jul 20 '05 #4

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

Similar topics

2
by: Edwinah63 | last post by:
Hi Everyone, All the very best for 2004!! i need urgent help with this problem, the users are about to skin me alive!! we have an access front end with linked to sql server 2k tables. ...
1
by: Hui | last post by:
Hi gurus, I'm having data conversion (marshalling) problems with VB.NET DLL calling a old C DLL. The problem is that when the return type is a Long, I'm getting some garbage large number. eg....
1
by: Jenny | last post by:
Need urgent help for an unsolved problem. In our ASP web application, we creat a Back button and if user click on this button, it execute history.go(-1) to go back to the previous page. All our...
9
by: Stefan Bauer | last post by:
Hi NG, we've got a very urgent problem... :( We are importing data with the LOAD utility. The input DATE field data is in the format DDMMYYYY (for days) and MMYYYY (for months). The target...
5
by: Vishal | last post by:
Hello, I already asked this question in the ASP.NET forums, but no help came. So I am hoping that somebody can help me out. This is really very URGENT me. For my e-commerce application, I...
16
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
5
by: comshiva | last post by:
Hi all, I have converted my existing ASP.NET project from 1.1 to 2.0 and i have found that everything works fine except the linkbutton control in my datagrid which throws an javascript error when...
0
by: Együd Csaba | last post by:
> -----Original Message----- > From: pgsql-admin-owner@postgresql.org > On Behalf Of Együd Csaba > Sent: 2004. július 16. 12:23 > To: pgsql-admin (E-mail) > Subject: URGENT - Postgres won't...
3
by: N. Spiker | last post by:
I am attempting to receive a single TCP packet with some text ending with carriage return and line feed characters. When the text is send and the packet has the urgent flag set, the text read from...
77
by: Hans Schneider | last post by:
1. in the prg bellow what vars are stored on stack, heap, data segment? int i; void main() { int j; int *k = (void *)malloc(1); }
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
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
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
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.