Pages

Social Icons

Friday 28 September 2012

Repeate String N Times using REPLICATE function


In sql-server we have a function which repeats the string n number of times.

Function : REPLICATE(string,int)

Example : Select REPLICATE('rahul ',5)

Result : rahul rahul rahul rahul rahul 

No comments:

Post a Comment