|
-
May 17th, 2006, 09:04 AM
#7
Re: Joining 2 fields into 1 Thru SQL
 Originally Posted by Shasta80
Long story short, I've been shortlisted for an entry level position and they have asked to provide 2 solutions as a test prior to the interview. But its for Transact SQL so I will assume Windows SQL Server.
The naming convention is not a big deal, I was just unsure how to create the one field from two thru SQL. If I couldn't do it on the fly, I was just going to add a field in the table itself and query that.
use brackets []. sql server can not misunderstand 
select a as [my new colname] from tab
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|