Wht is Stuff in sql ser

Answer Posted / sanjeev kumar

It is a inbuilt function that delete the character starting
from second parameter and No of character as in 3rd
parameter and place the all character of 4th parameter in
place of them.


Example:-

SELECT STUFF('sanjeev', 2,3, 'kumar')

Results:-

skumareev

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you would rewrite the sql query to return the customerid sorted numerically?

569


Define cross join in sql server joins?

583


What is SQL Azure Fabric?

92


Explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

652


What are the built in functions in sql server?

484






What is server-level principal?

98


How can I track the changes or identify the latest insert-update-delete from a table?

532


Explain in brief how sql server enhances scalability of the database system?

473


What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?

565


Can a function call a stored procedure in sql server?

522


What are the results of running this script?

505


What is the use of commit?

536


How to create a user to access a database in ms sql server using "create user" statements?

517


What are the two authentication modes in sql server?

596


What is data set in report?

95