If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > concatenate columns in sql 2000

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-08-04, 15:37
carlm carlm is offline
Registered User
 
Join Date: Jun 2004
Posts: 6
concatenate columns in sql 2000

i need to concatenate two columns into one column in a table for sql 2000.
Reply With Quote
  #2 (permalink)  
Old 07-08-04, 16:40
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
Has the teacher covered this in class yet? There are multiple ways to do it, and without knowing what they've covered or what the assignment actually says it is tough to guess which answer they want.

-PatP
Reply With Quote
  #3 (permalink)  
Old 07-08-04, 18:08
carlm carlm is offline
Registered User
 
Join Date: Jun 2004
Posts: 6
Concatenating columns in SQL 2000

I am simply trying to get some help. I am not a DBA, I am not in class for it, nor do I want to be one. I am a networking guy trying to get as much help as I can from other professionals. I have some basic familiarity with SQL but not much. I have to perform this concatenation for my job, but my company does not have a DBA either.

Can anyone help??
Reply With Quote
  #4 (permalink)  
Old 07-08-04, 18:12
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
If all you need is to get the job done, then I'd try using something like:
Code:
UPDATE myTable
   SET first_column = first_column + second_column
-PatP
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On