Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
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
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap