C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Repeat Specific Character or Word in SQL Server 2012 without Loop
WhatsApp
Jignesh Trivedi
Nov 20
2015
1.1
k
0
0
Replicate string function of SQL Server repeats a character or string values for the specified number of time.
Example 1:
Select Replicate(
'T'
,5)
Output
TTTTT
Example 2:
Select Replicate(
'Jignesh '
,3)
Output:
Jignesh Jignesh Jignesh
SQL server 2012
SQL Server without Loop
string function
Up Next
Repeat Specific Character or Word in SQL Server 2012 without Loop