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 are temporal tables in sql server 2016?
Define candidate key, alternate key, and composite key.
Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting are possible?
What is the maximum number of instances in 32 bit and 64 bit sql server 2012?
Which operator do you use to return all of the rows from one query except rows are returned in a second query?
What is the difference between count () and rowcount ()?
Why should one not prefix user stored procedures with ‘sp_’?
Explain datetime2 data type in sal server 2008?
What is use of except clause?
What according to you is the difference between mysql and sql server performance?
How to find the source of a table in sql server?
What is policy based management (pbm)? : sql server database administration
Are null values the same as that of zero or a blank space?
Do you know the different ddl commands in sql?
Do you know what are the ways available in sql server to execute sql statements?