What do we mean by SPACE function in Sql Server?

 Posted by Vishalneeraj-24503 on 5/16/2015 | Category: Sql Server Interview questions | Views: 376 | Points: 40
Answer:

The SPACE string function is an in-built Sql Server Function which returns a string of repeated spaces.

Syntax:-
SPACE (Expression)

The Expression is a positive integer that indicates the number of spaces.If Expression is negative,a NULL string is returned.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response