Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, February 19, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Data & Imports Forums - T-SQL & Queries
Forum to discuss general T-SQL questions and help with queries related to SalesLogix data. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to T-SQL & Queries | New ThreadView:  Search:  
 Author  Thread: Cleaning up extraneous markup in history table
Marc Johnson
Posts: 252
 
Cleaning up extraneous markup in history tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jun 07 8:37 AM
We recently did an import from an ACT8 DB. Some of the notes that came into our history table have a bunch of crappy markup in front of the text. I started doing some updates with replace to remove the garbage. I've been doing this with ADO Explorer and all looks good there but in the client my notes still showed the markup.

I just realized a moment ago that it's because I'm seeing the LONGNOTES values, which were not being updated. ADO Explorer shows the column as a (MEMO). Can I still use the Update with replace statement on a memo field?

I'm working within a test environment right now so there is no worries of data loss.
[Reply][Quote]
Frank Chaffin
Posts: 475
 
Re: Cleaning up extraneous markup in history tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jun 07 9:08 AM
I have done clean up on the note data a few times. You might be able to do it with a SQL command but I have always done it with a VB Script. The script loops through the history table, reads the memo field into a variable, cleans up the text as needed, then issues a SQL statement to update the longnotes and note fields.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 2/19/2025 4:42:07 PM