View Single Post
Unread 05-25-2005, 05:30 PM   #18
bigben2k
Responsible for 2%
of all the posts here.
 
bigben2k's Avatar
 
Join Date: May 2002
Location: Texas, U.S.A.
Posts: 8,302
Default

Must be nice!


All right, I have it down to one last task; updating the post "subject" field. Can anyone help me formulate the SQL query to do this?

The field in table A is called "subject". (Table A contains the post's information)

It needs to be updated to the field called "title" from table B (Table B contains the thread info).

The two tables are linked as follows:
table A , field "ID_TOPIC"
and
table B, field "tid"

The trick is that in the update, the information has to be preceded with "Re: " .


Anyone?
bigben2k is offline   Reply With Quote