adspace
how we can store the value like that 001,003,023 etc in sql
server 2005
Answer Posted / achuthan
set @s= ''
select @s=@s+column +','
if Len(@s)>0
select @s = substring(@s,1,len(@s)-1)
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
What is the primary use of the model database?
What are the pros and cons of putting a scalar function in a queries select list or in the where clause?
What are the risks of storing a hibernate-managed object in a cache? How do you overcome the problems?
What is temporary table in sql server? Why we use temp table?
Disadvantages of the indexes?
What are the different subsets of sql?
What is the difference between upgrade and migration in sql server?
What kind of problems occurs if we do not implement proper locking strategy?
What is acid mean in sql server?
Why we use the openxml clause?
what is the difference between openrowset and openquery?
How do I create a trace in sql server?
How do I start sql server 2017?
What is in place upgrade in sql server?
explain different types of backups avaialabe in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration