Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
i am stuck with this problem please help me with it i have to write a SQL statement that will list the contents as:Harry Smith where as table has just one column as name which stores names as Smith,Harry Thanks.
Why? Display formatting is done in the front end and not in the database. A better question is how you can put the first and last names into their own columns, if it is important to your database. As usual, bad DDL leads to extra DML.--CELKO--Books in Celko Series for Morgan-Kaufmann PublishingAnalytics and OLAP in SQLData and Databases: Concepts in Practice Data, Measurements and Standards in SQLSQL for SmartiesSQL Programming Style SQL Puzzles and Answers Thinking in SetsTrees and Hierarchies in SQL