Geeks With Blogs
The Quandary Phase This code was generated by a tool. August 2009 Entries
SQL: Trimming Leading and Trailing Non-Alphanumeric Characters
Here’s a quick tip for string cleaning in SQL. Let’s say you have a string, perhaps one being imported from another data source, and you want to trim all the leading and/or trailing non-alphanumeric characters. For example, you may have the input string: ',,, foo bar $$$' Which needs to be cleaned before inserting into the database. Perhaps you want to import it as this: 'foo bar $$$' Having removed all the leading junk. Or perhaps you want to import it as this: 'foo bar' Having removed the garbage ......

Posted On Tuesday, August 11, 2009 7:56 AM

Outlook Automation Without COM References
I have recently completed work on a WPF application which required a reasonable amount of interaction with Microsoft Outlook. Specifically, we needed to implement two operations: firstly, we needed the ability to generate a new email and open it in Outlook (without sending it); and secondly, we needed to send an email via Outlook behind the scenes, without any user interaction. There were a couple of additional requirements affecting how this functionality could be implemented. One of these was a ......

Posted On Friday, August 7, 2009 11:56 AM

Copyright © Adam Pooler | Powered by: GeeksWithBlogs.net | Join free