Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimized way to transfer from String to StringBuilder
Message
From
04/02/2014 10:37:46
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01593079
Message ID:
01593116
Views:
27
>UPDATE : I see you reached the same conclusion re: StringBuilder() :-}
>
>I don't think StringBuilder() will help. Regex() may be the way to go. Maybe Gregory, who has that off pat, will chip in - it's not my strong point :-{

Yes, I took a look at Regex. But, this will not be necessary. The reason I had a long string was because the parsing method parses the entire SQL string. In this case, the longest part is the WHERE IN clause, which does not need any conversion. So, what I do is to cut that off from the parsing method and add it back after. So, basically, I am only dealing with the base SQL, which never gave me any problem so far.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform