Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2003
    Posts
    100

    Exclamation Unanswered: Just selecting the part of a text field?

    I have a select statment that select from a table with a large text field however I would quite like to only select the first 40 characters, is this possible as part of the select statement.

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    You can use:
    Code:
    SELECT Left(textColumn, 40) -- yada, yada, yada
    -PatP

  3. #3
    Join Date
    Jul 2003
    Posts
    100
    Great thanks a lot!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •