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
Can you please explain the difference between function and stored procedure?
How to remove duplicate rows from table except one?
What is format parameter in ssrs?
How to insert multiple rows with one insert statement in ms sql server?
Differentiate between mongodb vs. Sql server?
How to make a remote connection in a database?
What is built-in/administrator?
What are pessimistic lock and optimistic lock?
What is the difference between writing data to mirrored drives versus raid5 drives
Can You Use Data Mining Models In Ssrs?
What is difference between temp table and cte?
How to implement service broker?
what is bit datatype? : Sql server database administration
How to use old values to define new values in update statements in ms sql server?
What is collation sensitivity? Explain different types.