8/18/2025 4:28:39 PM
|
|
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!
Forum to discuss general T-SQL questions and help with queries related to SalesLogix data. View the code of conduct for posting guidelines.
|
|
|
|
Cleaning up extraneous markup in history table
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. |
|
|
|
Re: Cleaning up extraneous markup in history table
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. |
|
|
|
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!
|
|
|
|
|
|
|
|