Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Bonus Appendix 1: System Functions > Text and Image Functions

TEXT AND IMAGE FUNCTIONS

The text and image functions perform operations on text or image data. They are:

  • TEXTPTR
  • TEXTVALID

TEXTPTR

The TEXTPTR function checks the value of the text pointer that corresponds to a text, ntext, or image column and returns a varbinary value. The text pointer should be checked to ensure that it points to the first text page before running READTEXT, WRITETEXT, and UPDATE statements. The syntax is as follows:

TEXTPTR(<column>)

TEXTVALID

The TEXTVALID function checks whether a specified text pointer is valid. The syntax is as follows:

TEXTVALID('<table.column>', <text_pointer>)

The table.column parameter specifies the name of the table and column to be used. The text_pointer parameter specifies the text pointer to be checked.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial