Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Articles with tag
String Manipulation
Search for
any
content tagged
string manipulation
Items 1 to 20 of 29
Next 20 >>
Silent Truncation of SQL Server Data Inserts
There are certain circumstances where SQL Server will silently truncate data, without providing an error or warning, before it is inserted into a table. In this tip we cover some examples of when this occurs.
Read more...
By
Additional Articles
2013/02/01
|
Source:
MSSQLTips.com
|
Category:
t-sql
Rating:
(not yet rated)
Rate this
|
Briefcase
|
3,496 reads
Splitting Strings Based on Patterns
Splitting strings based on patterns supported by LIKE and PATINDEX can be an interesting way to address a wide variety of problems.
Read more...
By
Dwain Camps
2012/11/29
|
Source:
SQLServerCentral.com
|
Category:
string manipulation
Rating:
|
Discuss
|
Briefcase
|
9,228 reads
Parsing Parameters in a Stored Procedure
This article shows a clean non-looping method to parse comma separated values from a parameter passed to a stored procedure.
Read more...
By
Diego Buendía
2012/11/02 (first published: 2010/08/10)
|
Source:
SQLServerCentral.com
|
Category:
array
Rating:
|
Discuss
|
Briefcase
|
28,001 reads
Key Word Searches
This article from Todd Fifield shows a Way to avoid the dreaded LIKE operator in your queries and dramatically speed up keyword searches.
Read more...
By
Todd Fifield
2012/09/07 (first published: 2011/02/28)
|
Source:
SQLServerCentral.com
|
Category:
string manipulation
Rating:
|
Discuss
|
Briefcase
|
34,540 reads
T-SQL Integer Data-Type Conversions
This article will show some common integer data-type conversions using T-SQL.
Read more...
By
Peter Kierstead
2012/06/26
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
6,807 reads
Converting String Data to XML and XML to String Data
In general XML documents or fragments are held in strings as text markup. In SQL Server, XML variables and columns are instead tokenised to allow rapid access to the data within. This is fine, but can cause some odd problems, such as ' entitization'. What do you do if you need to preserve the formatting? As usual Rob Sheldon comes to our aid.
Read more...
By
Additional Articles
2012/02/07
|
Source:
SimpleTalk
|
Category:
xml
Rating:
Rate this
|
Briefcase
|
3,408 reads
Remove HTML tags from strings using the SQL Server CLR
It is recommended that you remove all special characters and HTML formatting. This task can be handled in TSQL code, however in this case I have the opportunity to use .NET and the power of the regular expressions to manage the string. In this tip, I'll build a CLR function which cleans up a string of HTML tags and special characters. I'll use Visual Studio 2010 with C# as the programming language. Check out this tip for my solution.
Read more...
By
Additional Articles
2011/07/04
|
Source:
MSSQLTips.com
|
Category:
sqlclr
Rating:
(not yet rated)
Rate this
|
Briefcase
|
3,361 reads
Harnessing PowerShell's String Comparison and List-Filtering Features
When you are first learning PowerShell, it often seems to be an 'Alice through the looking-glass' world. Just the simple process of comparing and selecting strings can seem strangely obtuse. Michael turns the looking-glass into wonderland with his wall-chart of the PowerShell string-comparison operators and syntax
Read more...
By
Additional Articles
2011/06/23
|
Source:
SimpleTalk
|
Category:
powershell
Rating:
Rate this
|
Briefcase
|
2,302 reads
Concatenating Rows
Often in database design we store different values in rows to take advantage of a normalized design. However many times we need to combine multiple rows of data into one row for a report of some sort. New author Carl P. Anderson brings us some interesting T-SQL code to accomplish this.
Read more...
By
Carl P. Anderson
2011/03/04 (first published: 2009/10/14)
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
146,967 reads
Key Word Searches
This article from Todd Fifield shows a Way to avoid the dreaded LIKE operator in your queries and dramatically speed up keyword searches.
Read more...
By
Todd Fifield
2012/09/07 (first published: 2011/02/28)
|
Source:
SQLServerCentral.com
|
Category:
string manipulation
Rating:
|
Discuss
|
Briefcase
|
34,540 reads
Hidden Formatting Troubles with STR() (SQL Spackle)
Fill in another bit of your T-SQL knowledge about STR(). It right justifies, rounds, and controls the output width of columns. Sounds perfect but here's why you might not want to use it.
Read more...
By
Jeff Moden
2010/12/15
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
6,324 reads
Robyn Page's SQL Server String Manipulation Workbench
String searching and manipulation in SQL Server can be error-prone and tedious...unless you're armed with the techniques described in Robyn's string manipulation workbench, here newly revised with extra material from collaborator Phil Factor
Read more...
By
Additional Articles
2010/10/19
|
Source:
SimpleTalk
|
Category:
string manipulation
Rating:
Rate this
|
Briefcase
|
3,778 reads
Detective Stories - Changing the Case
How to change your "UPPER" or "lower" case strings to a mixed case
Read more...
By
Brandie Tarvin
2010/10/18
|
Source:
SQLServerCentral.com
|
Category:
string manipulation
Rating:
|
Discuss
|
Briefcase
|
5,967 reads
Parsing Parameters in a Stored Procedure
This article shows a clean non-looping method to parse comma separated values from a parameter passed to a stored procedure.
Read more...
By
Diego Buendía
2012/11/02 (first published: 2010/08/10)
|
Source:
SQLServerCentral.com
|
Category:
array
Rating:
|
Discuss
|
Briefcase
|
28,001 reads
Tally Table Uses - Part II
In part II of his series, Stefan Krzywicki shos us another way Tally Tables have helped solve problems - Text Parsing.
Read more...
By
Stefan Krzywicki
2010/08/03
|
Source:
SQLServerCentral.com
|
Category:
tally table
Rating:
|
Discuss
|
Briefcase
|
8,133 reads
String Manipulation - CHARINDEX()
I see charindex used quite commonly in string manipulation. What I rarely see used is the optional third parameter. Here...
Read more...
By
Seth Phelabaum
2009/12/21
|
Source:
SQLServerCentral.com
|
Category:
blogs
Rating:
(not yet rated)
Rate this
|
Briefcase
|
1,656 reads
Characters
No, I’m not talking about a Dickens novel. I’m talking about the number of characters in a string. I had a painful time recently because of the word “characters.”
Read more...
By
Steve Jones
2009/10/26
|
Source:
SQLServerCentral.com
|
Category:
blogs
Rating:
Rate this
|
Briefcase
|
1,571 reads
Concatenating Rows
Often in database design we store different values in rows to take advantage of a normalized design. However many times we need to combine multiple rows of data into one row for a report of some sort. New author Carl P. Anderson brings us some interesting T-SQL code to accomplish this.
Read more...
By
Carl P. Anderson
2011/03/04 (first published: 2009/10/14)
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
146,967 reads
Beware the REPLACE function when doing heavy string parsing
I found something interesting the other day. I was attempting to optimize a very heavy string parsing routine using T-SQL and was having problems. I don’t normally use T-SQL for such heavy string parsing, but this was a special case of a legacy structure that I had to work with, so I had no choice.
Read more...
By
Sam Bendayan
2009/08/27
|
Source:
SQLServerCentral.com
|
Category:
blogs
Rating:
(not yet rated)
Rate this
|
Briefcase
|
2,595 reads
Split string using XML
Learn how you can split a delimited string in a single query using XML with Divya Agrawal.
Read more...
By
Divya Agrawal
2009/06/25
|
Source:
SQLServerCentral.com
|
Category:
xml
Rating:
|
Discuss
|
Briefcase
|
10,685 reads
Items 1 to 20 of 29
Next 20 >>
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.