Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!peruvian.utah.edu!u-sgreen From: u-sgreen%peruvian.utah.edu@cs.utah.edu (Scott Greenman) Newsgroups: comp.databases Subject: How to find length of text column in SYBASE Message-ID: <1990Dec19.165800.15675@hellgate.utah.edu> Date: 19 Dec 90 23:58:00 GMT Organization: University of Utah CS Dept Lines: 9 I am programming with sybase using the DBLIB. How do you determine the length of the text in a TEXT column? I need to feed the contents of a text column into a stream. I was going to do it 255 bytes at a time using the READTEXT command with an offset, but I don't know how to determine when I've reached the end of the text (Besides waiting for the error message.) Is there an easy way? Scott Greenman Univ of Utah