Dear NG - I've got a bunch of SQL statements (Insert Into "Access Table
Name") generated from another software program. They look like this:
Pasting these lines into the SQL view as they are generates a couple of
different errors (missing semicolon being one of them). They work fine
if I paste 1 line at a time. Can someone tell me what I need to do to
remedy the situation? I can't hardly paste 1 at a time! Your help is
very much appreciated.
Mike
insert into
test(BatchNo,Ba tchPgNo,BatchTr ackID,CheckCoun ty,CheckDate,Ch eckDateFlag,Che ckDateStatusCod e,CheckStation, CheckStationFla g,CheckTimeStam p,City,county,C ountyFlag,CSID, DateOfBirth,Dee r,DeerFlag,DLIn terface,FirstNa me,HarvestDate, HarvestDateFlag ,HarvestTimeSta mp,HrvstCheckSt atus,HrvstDateS tatusCode,Inval idKillCheck,Las tName,Metal,Mid dleInitial,Perm it,PermitFlag,P rocessed,State, TimeOfCheck,Tim eOfHarvest,Weap on,WeaponFlag,Z ip,Vname,ScanGr oup)
values (5948,0,"4008", 40,#12/30/2006#,"0","Vali d",8,"0",#12/30/2006
2:20:00 PM#,"Dayton","J ackson","0","00 005948
1",#10/08/1980#,"Doe","0" ,"RR243407","BE NJAMIN",#12/30/2006#,"0",#12/30/2006
11:05:00
AM#,"0","Valid" ,"0","SCHAAF",2 47962,"J","spec ial","0",#01/17/2007
12:24:03 PM#,"OH",#2:20 PM#,#11:05
AM#,"Muzzleload er","0",45420," kinnard","ML")
insert into
test(BatchNo,Ba tchPgNo,BatchTr ackID,CheckCoun ty,CheckDate,Ch eckDateFlag,Che ckDateStatusCod e,CheckStation, CheckStationFla g,CheckTimeStam p,City,county,C ountyFlag,CSID, DateOfBirth,Dee r,DeerFlag,DLIn terface,FirstNa me,HarvestDate, HarvestDateFlag ,HarvestTimeSta mp,HrvstCheckSt atus,HrvstDateS tatusCode,Inval idKillCheck,Las tName,Metal,Mid dleInitial,Perm it,PermitFlag,P rocessed,State, TimeOfCheck,Tim eOfHarvest,Weap on,WeaponFlag,Z ip,Vname,ScanGr oup)
values (5948,1,"4008", 40,#12/30/2006#,"0","Vali d",8,"0",#12/30/2006
1:15:00 PM#,"Wellston", "Jackson","0"," 00005948
2",#12/26/1946#,"Antlered ","0","RQ468348 ","JAMES",# 12/30/2006#,"0",#12/30/2006
10:00:00
AM#,"0","Valid" ,"0","JOHNSON", 247961,"C","own er","0",#01/17/2007
12:24:03 PM#,"OH",#1:15 PM#,#10:00
AM#,"Muzzleload er","0",45692," kinnard","ML")
Name") generated from another software program. They look like this:
Pasting these lines into the SQL view as they are generates a couple of
different errors (missing semicolon being one of them). They work fine
if I paste 1 line at a time. Can someone tell me what I need to do to
remedy the situation? I can't hardly paste 1 at a time! Your help is
very much appreciated.
Mike
insert into
test(BatchNo,Ba tchPgNo,BatchTr ackID,CheckCoun ty,CheckDate,Ch eckDateFlag,Che ckDateStatusCod e,CheckStation, CheckStationFla g,CheckTimeStam p,City,county,C ountyFlag,CSID, DateOfBirth,Dee r,DeerFlag,DLIn terface,FirstNa me,HarvestDate, HarvestDateFlag ,HarvestTimeSta mp,HrvstCheckSt atus,HrvstDateS tatusCode,Inval idKillCheck,Las tName,Metal,Mid dleInitial,Perm it,PermitFlag,P rocessed,State, TimeOfCheck,Tim eOfHarvest,Weap on,WeaponFlag,Z ip,Vname,ScanGr oup)
values (5948,0,"4008", 40,#12/30/2006#,"0","Vali d",8,"0",#12/30/2006
2:20:00 PM#,"Dayton","J ackson","0","00 005948
1",#10/08/1980#,"Doe","0" ,"RR243407","BE NJAMIN",#12/30/2006#,"0",#12/30/2006
11:05:00
AM#,"0","Valid" ,"0","SCHAAF",2 47962,"J","spec ial","0",#01/17/2007
12:24:03 PM#,"OH",#2:20 PM#,#11:05
AM#,"Muzzleload er","0",45420," kinnard","ML")
insert into
test(BatchNo,Ba tchPgNo,BatchTr ackID,CheckCoun ty,CheckDate,Ch eckDateFlag,Che ckDateStatusCod e,CheckStation, CheckStationFla g,CheckTimeStam p,City,county,C ountyFlag,CSID, DateOfBirth,Dee r,DeerFlag,DLIn terface,FirstNa me,HarvestDate, HarvestDateFlag ,HarvestTimeSta mp,HrvstCheckSt atus,HrvstDateS tatusCode,Inval idKillCheck,Las tName,Metal,Mid dleInitial,Perm it,PermitFlag,P rocessed,State, TimeOfCheck,Tim eOfHarvest,Weap on,WeaponFlag,Z ip,Vname,ScanGr oup)
values (5948,1,"4008", 40,#12/30/2006#,"0","Vali d",8,"0",#12/30/2006
1:15:00 PM#,"Wellston", "Jackson","0"," 00005948
2",#12/26/1946#,"Antlered ","0","RQ468348 ","JAMES",# 12/30/2006#,"0",#12/30/2006
10:00:00
AM#,"0","Valid" ,"0","JOHNSON", 247961,"C","own er","0",#01/17/2007
12:24:03 PM#,"OH",#1:15 PM#,#10:00
AM#,"Muzzleload er","0",45692," kinnard","ML")
Comment