How to convert rows to column in SQL Server 2008 using table valued function?
Example:
Name: Danish; Sex: Male
convert to Male
as column heading and Danish
as field data.
Thanks, Danish
How to convert rows to column in SQL Server 2008 using table valued function?
Example:
Name: Danish; Sex: Male
convert to Male
as column heading and Danish
as field data.
Thanks, Danish
Your question is really vague.
Converting rows to columns in sql server can be done with the PIVOT function. Look at the documentation on MSDN, and maybe this stackoverflow question for examples.
I fail to see what this has to do with table-valued functions