Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
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
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 without Loop
string function
SQL server 2012
Up Next
Repeat Specific Character or Word in SQL Server 2012 without Loop