User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 402,448 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,017 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser: Programming Forums

Its really a problem on INSERT statement

Join Date: Jan 2006
Posts: 218
Reputation: katharnakh is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 19
katharnakh's Avatar
katharnakh katharnakh is offline Offline
Posting Whiz in Training

Help Its really a problem on INSERT statement

  #1  
Jul 17th, 2006
mysql> insert into fund_history select * from temp_fund_history 
where data_date='2006-06-30' and index_num between 1 and 10;

Query OK, 0 rows affected (0.03 sec)
Records: 10  Duplicates: 10  Warnings: 0


I am really wondering why this INSERT statement is not inserting 10 records. Its saying 10 Duplicates: 10, and there is no records from index_num from 1 to 10 in fund_history table.


Can any one please help me to know the reason/cause and solution for this problem.

Thanks,
Kath
Last edited by katharnakh : Jul 17th, 2006 at 2:03 pm.
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 3:10 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC