Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

--- Newbie --- Removing character in a field in SQL

Status
Not open for further replies.

lmcate2

IS-IT--Management
Aug 28, 2001
49
US
Create a record in access 97 and saving it via SQL server the server is adding a chr(0)to the end of a text field.

for Example Milk = charcters and read it back fomr SQL SERVER the lenght is 5 character which one is hidden.

Does anyone knows how to remove it.

 
replace(fieldname,char(0),'')

"...your mom goes to college..."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top