What do we mean by REPLICATE Function in Sql Server?

 Posted by vishalneeraj-24503 on 11/25/2014 | Category: Sql Server Interview questions | Views: 354 | Points: 40
Answer:

REPLICATE is an in-built Sql Server function which is used to repeat a string or character occurrence with specified number of times.

Syntax:-

Replicate(string_character_value,integer_value_to_replicate)


Where,string_character_value is a string to repeat, and
integer_value_to_replicate is number of times the string_character_value to be repeated.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response