Results 1 to 2 of 2

Thread: SQL Database Length

  1. #1
    Join Date
    Apr 2006
    Posts
    30
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default SQL Database Length

    I've created an SQL DB which includes a COMMENT column, I then connect to the DB and show the results of that column on my webpage using <%=oRs.Fields("comment")%>, however the COMMENT info is not fully showing and gets cut off (see example.gif), in fact the SQL DB is not saving the entire comment entry (see example2.gif).

    Can someone please help me out with this, why is this happening?

    Thanks

  2. #2
    Join Date
    Jan 2007
    Location
    Manila, Philippines
    Posts
    62
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I am not sure if I am barking up the right tree, but either:
    the web form
    the SQL statement
    is truncating the text.

    Check this by trying a regular select statement and see if the field is truncated. Some newer SQL DB haev implemented a type of BLOB statement to pick up large text and binary data.

    If it is a mssqlserver database you can try the TEXT fieldtype, it should give plenty of space

Bookmarks

Posting Permissions

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