Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: SQL
Expertise: Intermediate
Sep 26, 2005

Using SELECT * on a Table with the Column Type NTEXT

If you use SELECT * on a table with the column type NTEXT, your resultset will not display the NTEXT column on a Web page when using ASP to show the recordset.

To ensure that the NTEXT contents display, move the NTEXT column to the last column in your recordset. If you are pulling data from a view, the same thing applies—try thinking of NTEXT columns as the 'anchor' to your recordset.

Steve Skelton
Thanks for your registration, follow us on our social networks to keep up-to-date