1 格式
REPLICATE(input_string, count)
说明:input_string为字符串,count为数字(正整数,负数将返回空字符串),函数作用为,返回count个,input_string的字符串结果。
2 示例
select REPLICATE('test',2)
结果为:testtest
1 格式
REPLICATE(input_string, count)
说明:input_string为字符串,count为数字(正整数,负数将返回空字符串),函数作用为,返回count个,input_string的字符串结果。
2 示例
select REPLICATE('test',2)
结果为:testtest