473,395 Members | 2,468 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,395 software developers and data experts.

ntext

If I insert 8000 byte of data, in the one of the column. now I want to
read the data, is there any to see all the data, through select
statement?
Jul 20 '05 #1
3 2614

"Anand" <ve*************@yahoo.com> wrote in message
news:13*************************@posting.google.co m...
If I insert 8000 byte of data, in the one of the column. now I want to
read the data, is there any to see all the data, through select
statement?


In Query Analyzer, go to Tools-Options-Results and set maximum characters
per column to 8000. If you're using a different client tool, then you might
need to do something similar (I don't think this is possible in EM).

Simon
Jul 20 '05 #2
Hi Simon,

Thanks for your answer.
but through frontend, is there any way read all the data..

--create table table1 (test ntext)
insert into table1(test)
values (
'Tables are database objects that contain all the data in a database.
A table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
junk data.. up to 8KB'
)

select test from table1
------------------------------------------------------
if I use set TEXTSIZE 8000, still this not work,
is there any other way to select all the data.
(any help from READTEXT,UPDATETEXT,WRITETEXT) ?

"Simon Hayes" <sq*@hayes.ch> wrote in message news:<41**********@news.bluewin.ch>...
"Anand" <ve*************@yahoo.com> wrote in message
news:13*************************@posting.google.co m...
If I insert 8000 byte of data, in the one of the column. now I want to
read the data, is there any to see all the data, through select
statement?


In Query Analyzer, go to Tools-Options-Results and set maximum characters
per column to 8000. If you're using a different client tool, then you might
need to do something similar (I don't think this is possible in EM).

Simon

Jul 20 '05 #3
You can use SET TEXTSIZE so that a normal SELECT can return over 4KB to your
app:

SET TEXTSIZE 32768
SELECT test FROM Table1

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Anand" <ve*************@yahoo.com> wrote in message
news:13**************************@posting.google.c om...
Hi Simon,

Thanks for your answer.
but through frontend, is there any way read all the data..

--create table table1 (test ntext)
insert into table1(test)
values (
'Tables are database objects that contain all the data in a database.
A table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
Tables are database objects that contain all the data in a database. A
table definition is a collection of columns. In tables, data is
organized in a row-and-column format similar to a spreadsheet. Each
row represents a unique record, and each column represents a field
within the record. For example, a table containing employee data for a
company can contain a row for each employee and columns representing
employee information such as employee number, name, address, job
title, and home phone number.
junk data.. up to 8KB'
)

select test from table1
------------------------------------------------------
if I use set TEXTSIZE 8000, still this not work,
is there any other way to select all the data.
(any help from READTEXT,UPDATETEXT,WRITETEXT) ?

"Simon Hayes" <sq*@hayes.ch> wrote in message
news:<41**********@news.bluewin.ch>...
"Anand" <ve*************@yahoo.com> wrote in message
news:13*************************@posting.google.co m...
> If I insert 8000 byte of data, in the one of the column. now I want to
> read the data, is there any to see all the data, through select
> statement?


In Query Analyzer, go to Tools-Options-Results and set maximum characters
per column to 8000. If you're using a different client tool, then you
might
need to do something similar (I don't think this is possible in EM).

Simon

Jul 20 '05 #4

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

Similar topics

1
by: tony | last post by:
I changed the datatype of a field in a SQL Server 2000 database from nvarchar to ntext, but now nothing is being displayed. The "Body" column of the datatable used to be nvarchar(8000) and the...
0
by: Tom | last post by:
Hi, I've got problems using ntext data in a stored procedure (SQL-Server 2000): create procedure testproc @xmldata ntext as declare @Param ntext
3
by: Matik | last post by:
Hello to all, Below the sample code: declare @arg_szMsgText ntext set @arg_szMsgText = isnull(@arg_szMsgText, N'unknown message') Now the error message I get: "The assignment operator...
7
by: Oleg Ogurok | last post by:
Hi all, I need to store data into about 104 columns. This is problematic with MS SQL, since it doesn't support rows over 8kb in total size. Most of the columns are of type NVARCHAR(255), which...
1
by: Derek Erb | last post by:
SQL Server 2000 : I have a series of tables which all have the same structure. When any of these tables are modified I need to syncrhonise all of those modifications with one other table wich is a...
2
by: Sileesh | last post by:
HI I know this is not the right forum to post this question, but i think some one might have a suggestion. I have a Table "Test" with columns Id bigint (PK), Number Varchar(50), Notes ntext....
4
by: Igor | last post by:
I have one SELECT statement that needs to return one ntext field from one table and count something from other table, problem is that all fileds that are not in count have to be in group by and...
2
by: Igor | last post by:
Is there a way to transfer ntext data from one table to another? I tried this UPDATE SET = (SELECT FROM WHERE =1) WHERE = 1;
3
by: =?Utf-8?B?ZGF2aWQ=?= | last post by:
I try to follow Steve's paper to build a database, and store a small text file into SQL Server database and retrieve it later. Only difference between my table and Steve's table is that I use NTEXT...
2
by: verb13 | last post by:
I am running this query to an sql server 2000 database from my asp code: "select * from MyTable where MySqlServerRemoveStressFunction(MyNtextColumn) = '" & MyAdoRemoveStressFunction(MyString) &...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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
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.