Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 9th, 2004, 12:52 PM
Authorized User
 
Join Date: Mar 2004
Location: Maumee, OH, USA.
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default Merge Table

I'm trying to create a merge table in MySQL. While I have had success in the past now it's showing an error 1016: Can't open file 'allclaims.MRG' (allclaims is the merge table I'm trying to create) Any ideas???? The query is below:

CREATE TABLE allclaims(
  `ClaimNumber` varchar(100) NOT NULL default '',
  `Null` varchar(100) NOT NULL default '',
  `ClaimsAdmin` varchar(100) NOT NULL default '',
  `ClaimType` varchar(100) NOT NULL default '',
  `HOSType` varchar(100) NOT NULL default '',
  `COB` varchar(100) NOT NULL default '',
  `Printed` varchar(100) NOT NULL default '',
  `CheckNum` varchar(100) NOT NULL default '',
  `SSN` varchar(100) NOT NULL default '',
  `Branch` varchar(100) NOT NULL default '',
  `Status` varchar(100) NOT NULL default '',
  `Loc` varchar(100) NOT NULL default '',
  `Relationship` varchar(100) NOT NULL default '',
  `PatientDOB` varchar(100) NOT NULL default '',
  `PlanCode` varchar(100) NOT NULL default '',
  `TIN` varchar(100) NOT NULL default '',
  `GroupName` varchar(100) NOT NULL default '',
  `PhyLast` varchar(100) NOT NULL default '',
  `PhyFirst` varchar(100) NOT NULL default '',
  `ProvCont` varchar(100) NOT NULL default '',
  `FromDOS` varchar(100) NOT NULL default '',
  `ThruDOS` varchar(100) NOT NULL default '',
  `POS` varchar(100) NOT NULL default '',
  `TOS` varchar(100) NOT NULL default '',
  `ProcCD` varchar(100) NOT NULL default '',
  `MOD` varchar(100) NOT NULL default '',
  `Diag` varchar(100) NOT NULL default '',
  `RevCD` varchar(100) NOT NULL default '',
  `Null2` varchar(100) NOT NULL default '',
  `Null3` varchar(100) NOT NULL default '',
  `Null4` varchar(100) NOT NULL default '',
  `Units` varchar(100) NOT NULL default '',
  `BilledChg` varchar(100) NOT NULL default '',
  `OverRC` varchar(100) NOT NULL default '',
  `ProvDiscount` varchar(100) NOT NULL default '',
  `AllowedAmt` varchar(100) NOT NULL default '',
  `OtherINS` varchar(100) NOT NULL default '',
  `ChgDeny` varchar(100) NOT NULL default '',
  `Copay` varchar(100) NOT NULL default '',
  `DedAmt` varchar(100) NOT NULL default '',
  `CoinsAmt` varchar(100) NOT NULL default '',
  `AmtPd` varchar(100) NOT NULL default '',
  `BenefitCode` varchar(100) NOT NULL default '',
  `DRGCode` varchar(100) NOT NULL default '',
  `MDCCode` varchar(100) NOT NULL default '',
  `LOS` varchar(100) NOT NULL default '',
  `CovType` varchar(100) NOT NULL default ''
) TYPE=MERGE UNION=(claimdata,claims2002,claims2003) INSERT_METHOD=LAST;
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 Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multitiff merge nanjundakl C# 0 November 24th, 2006 12:22 AM
How to merge two xmldocuments together? NewToXSL XML 1 June 15th, 2006 12:59 PM
How to merge two datatables????????? avats ADO.NET 3 March 21st, 2006 08:40 AM
Merge Command uma_10_5 Oracle 3 January 11th, 2006 02:37 AM
Merge PDFs cherry111 Excel VBA 2 February 28th, 2005 04:37 PM



All times are GMT -4. The time now is 11:26 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.