I swear, i've done this before, but my alzheimers is kicking in again. I have two tables. Table A and Table B Table A has all the columns that Table B has, and then some. I need to insert the data from the columns in Table A which match the columns in Table B, while ignoring the columns that do not match. Why is the following not working????:INSERT INTO civil.dbo.receiptsSELECT ([RECEIPTNO] ,[AGENCYNO] ,[RECEIVEDATE] ,[RECEIVETIME] ,[CLERK] ,[CATEGORY] ,[TYPEWRIT] ,[STATUS] ,[STATUSDATE] ,[PLAINTIFF] ,[DEFENDANT] ,[THIRDPARTY] ,[CLERKOFCOURT] ,[COURTNAME] ,[CASENO] ,[DORCASENO] ,[COUNTY] ,[COURTDATE] ,[APPEARBEFORE] ,[SERVEBY] ,[SERVICECOST] ,[OTHERFEES] ,[FEETYPE] ,[DEPOSITAMOUNT] ,[DEPOSITRECEIPT] ,[PAYMENTTYPE] ,[CHECKNO] ,[DEPOSITDATE] ,[REFUNDDATE] ,[REFUND] ,[REFUNDCHECKNO] ,[REFUNDRECEIPT] ,[ATTORNEYID] ,[WKSHTOPTION] ,[EXCLUSIVE] ,[FIREUSE] ,[FIRESURR] ,[FIREARMSTO] ,[CUSTODY] ,[CHILDRENTO] ,[COMMENTS] ,[PRINTCOMMENTS] ,[UNIQUEKEY] ,[ProcessTypeFKey] ,[ISSUEDATE]) FROM GCSOCIVILCONVERSION.dbo.GCSOreceipts s
Even removing the parens from the select has no effect.driving me nuts