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 we insert data if clustered index is disabled?
do you know what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration
What is cached report?
explain what is raid and what are different types of raid configurations? : Sql server database administration
Explain mixed authentication mode of sql server?
How many non clustered indexes there can be on table ?
How to create a view and a stored procedure in ms sql server using "create view/procedure" statements?
What is subquery? Explain the properties of a subquery?
What is a transact-sql statement batch in ms sql server?
What are the system database in sql server 2008?
What is triggers and stored procedures?
Explain the concept of recursive stored procedure.
Does view occupy space?
Can we call future method from trigger?
why would you use sql agent? : Sql server database administration