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
What is exclusive locks?
What are tables in sql server?
what is hash nonclustered index
How to get a list of all tables with "sys.tables" view in ms sql server?
Explain the cursor lock types?
Can you explain various data region available in ssrs with their use?
What are the basic functions for master, msdb, model, tempdb databases?
Can sql servers linked to other servers?
Explain about Views?
What is the default server name for sql server?
How use inner join in sql server?
is it important for a database administrator to understand the operating system and file access? : Sql server administration
Can you explain powershell included in sql server 2008?
What is master database? : SQL Server Architecture
What is snapshot parameter in ssrs?