MS SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMS SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old February 20th, 2004, 03:02 PM
BratCat2 BratCat2 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 20 BratCat2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Inner Join for this ?

I had help doing his query and it works but now I need to create an actual field from this query

My query joins two fields, Last_Name and First_Name

SELECT [Participants].[First_Name]+' '+[Participants].[Last_Name] AS Full_Name
FROM Participants
ORDER BY [Participants].[First_Name]+' '+[Participants].[Last_Name];

Now I need to have the Full_Name relate to the correct name in First_Nme and Last_Name fields in the db, so when I scroll through the Last_Name and First_Name via a DataControl the corresponding Full_Name is shown.

Since the AS Full_Name is a query, it does not show up automatically under the Full_Name field in the db. If this can be done so as the correct names correspond, that would be great.

Thanks in advance.

Reply With Quote
  #2  
Old March 1st, 2004, 05:56 PM
sypher sypher is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Montreal
Posts: 92 sypher User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 10 sec
Reputation Power: 5
this is not join at all..when you are speaking of Join...you should speak about tables joining NOT fields...I don't think there is a name of fields joining.

anyway what's your problem? cuz you seem to have it figured it out..

just link you datacontrol onto your query and everything should works out...

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMS SQL Development > Inner Join for this ?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway