Unix Technical Forum

mysql merge table

This is a discussion on mysql merge table within the MySQL General forum forums, part of the MySQL category; --> hi there, i dont know if i did something wrong with the merge table or didnt understand the purpose ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 06:17 AM
Frederic Belleudy
 
Posts: n/a
Default mysql merge table

hi there, i dont know if i did something wrong with the merge table or
didnt understand the purpose of it....
so here is what i did, i ve created 2 tables with the same definition
(keys and colums)
then ive create the merge table and replace the primary key by an index
key and every other indexes remain the same.

everything is fine at this stage. So im doing a simple search on the
merge table and it returns nothing! if i do a select * from merge_table,
it returns all the fields. So im wondering why i dont get a result when
i specify a where definition and im sure that it should return a set of
results? Any idea?
Tks

--
Frederic Belleudy
Programmer
PWIdeas
ICQ #: 253-372-030

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 06:17 AM
Rolando Edwards
 
Posts: n/a
Default Re: mysql merge table

Please do a 'show create table <table name>\G'
Then we could explore the Merge Table scenario.

----- Original Message -----
From: "Frederic Belleudy" <fredericb@pwideas.com>
To: mysql@lists.mysql.com
Sent: Monday, April 30, 2007 11:14:24 AM (GMT-0500) America/New_York
Subject: mysql merge table

hi there, i dont know if i did something wrong with the merge table or
didnt understand the purpose of it....
so here is what i did, i ve created 2 tables with the same definition
(keys and colums)
then ive create the merge table and replace the primary key by an index
key and every other indexes remain the same.

everything is fine at this stage. So im doing a simple search on the
merge table and it returns nothing! if i do a select * from merge_table,
it returns all the fields. So im wondering why i dont get a result when
i specify a where definition and im sure that it should return a set of
results? Any idea?
Tks

--
Frederic Belleudy
Programmer
PWIdeas
ICQ #: 253-372-030


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=redwards@swmx.com


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:31 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com