> From: Guy McDowell [mailto:[EMAIL PROTECTED]
> SQL 2000 and the field datatype is nvarchar set to 300 chars.
> Insert Statement:
> INSERT INTO tblMyTable (txtField)
> VALUES ('#frmTxtField#')
> '#frmTxtField#' comes from a textarea form element.
> Sometimes I get a "truncate data" error from the database.
> Sometimes it does the insert but only the first 30 or so characters.
Is the query you posted above the exact query or is the original in a
stored procedure?
Are you using cfqueryparam?
Mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta
http://www.houseoffusion.com/banners/view.cfm?bannerid=40
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182925
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54