Bluehost.com Web Hosting $6.95

Inserting multiple rows into a blob

This is a discussion on Inserting multiple rows into a blob within the MySQL Database forums, part of the Database Forums category; I have some tables similar to the following (very simplified) layout: first_table: id int, first_string char(4), matches blob default ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-26-2007
 
Posts: n/a
Default Inserting multiple rows into a blob

I have some tables similar to the following (very simplified) layout:

first_table:
id int,
first_string char(4),
matches blob default NULL

second_table:
id int,
first_string char(4),
second_string char(4)

For each first_string in first_table, there are several first_strings in
second_table, each having a different second_string associated with it.
I would like to insert all the possible values of second_string into
first_table.matches as a text blob.
Is there any way that this could be done? Preferably with sql commands
only, if at all possible.
Thanks.
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 04:53 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0