Wht is Stuff in sql ser
Answers were Sorted based on User's Feedback
Answer / lipsa
Stuff is a Sql server function.It Deletes a specified
length of characters and inserts another set of characters
at a specified starting point.
SELECT STUFF('abcdef', 2, 3, 'ijklmn')
::will return te following result::
aijklmnef
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / 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 |
How to get the definition of a stored procedure back?
what is a self join? : Sql server database administration
Explain the dirty pages?
What are pessimistic lock and optimistic lock?
What is the distinction amongst delete and truncate?
What types of integrity are enforced by a foreign-key constraint
How to sort the query output with order by clauses in ms sql server?
Why is normalisation important?
what's the information that can be stored inside a bit column? : Sql server database administration
in how many ways we can use count()
Can you explain what are the restrictions applicable while creating views? : SQL Server Architecture
what’s the difference between Covering Indexes and Clustered Indexes ? how to use clustered index small ?