Hi Waghmare,
Please refer below query for hide extra spaces.
SQL
DECLARE @EmpData AS TABLE(EmpId VARCHAR(10),EmpName VARCHAR(200),EmpAddress VARCHAR(20),EmpMobile VARCHAR(10),EmpGrade VARCHAR(5),Dcode INT)
INSERT INTO @EmpData VALUES('10001','test Name','malad','1464654','A',1)
SELECT * FROM @EmpData
SELECT REPLACE(REPLACE(REPLACE(EmpName,' ','<>'),'><',''),'<>',' ')EmpName,EmpAddress,EmpMobile,EmpGrade,Dcode FROM @EmpData
Screenshot