you are provided with the single table having say 4 col ie
fname lname age city , now the all records with displying of
only fname and lname is required but in this format say my
name is abhay khanna it will come like this
abhay-khanna
rahul-roy
gaurav-singh
the above format is required

Answer Posted / monal

TRY THIS:
SELECT FIRSTNAME +'-'+LASTNAME FROM 'TABLENAME'

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to round a numeric value to a specific precision?

569


How do I connect to sql server database?

474


What is difference between standardization and normalization?

526


Do you know the capabilities of cursors?

533


What is scheduled job and how to create it?

546






What is the template in sql?

535


How we can compare two database data?

515


How to send email from database?

575


What are the different types of Indexes available in SQL Server?

515


What is difference between sql and sql server?

538


What is the purpose of the model database?

593


What is difference between inner join and join?

536


What new data source types were added in ssrs 2014?

107


Do you know what are the steps to process a single select statement?

530


What program is used to store the data source file?

499