[Koha] Mass updating a field
Roche III, Edward
edward_roche at solanco.k12.pa.us
Sat Mar 7 08:25:57 NZDT 2009
This is funny. I tried everything to updates this field. I tried the
import file and sql statements. It didn't update then I go back about 15
minutes later and the field is updated. The time I didn't get an error
was when I did the import but after I ran the import the field wasn't
changed. Would the import continues to run even if I navigated away from
that page?
Thanks
Ed
Edward J. Roche
Network Administrator
Solanco School District
717.786.2151 x2437
"At the End of the Day, Did You Play to Win or Not to Lose?"
From: Winter, James [mailto:WinterJ at arcadia.edu]
Sent: Friday, March 06, 2009 1:37 PM
To: Roche III, Edward; koha at lists.katipo.co.nz
Subject: RE: [Koha] Mass updating a field
How are you connecting to MySQL? Through ODBC or through the MySQL
administrator, or running commands directly in the command line?
James Winter
215.517.2588
From: Roche III, Edward [mailto:edward_roche at solanco.k12.pa.us]
Sent: Friday, March 06, 2009 1:32 PM
To: Winter, James; koha at lists.katipo.co.nz
Subject: RE: [Koha] Mass updating a field
I get this error:
Output from SQL command UPDATE items i, temp t SET i.barcode = t.barcode
WHERE i.itemnumber = t.itemnumber ..
No data returned
Just about everything I tried so far gives me this error.
Thanks
Ed
Edward J. Roche
Network Administrator
Solanco School District
717.786.2151 x2437
"At the End of the Day, Did You Play to Win or Not to Lose?"
From: Winter, James [mailto:WinterJ at arcadia.edu]
Sent: Friday, March 06, 2009 1:26 PM
To: Roche III, Edward; koha at lists.katipo.co.nz
Subject: RE: [Koha] Mass updating a field
UPDATE items i, temptable t
SET i.barcode = t.barcode
WHERE i.itemnumber = t.itemnumber
James Winter
215.517.2588
From: koha-bounces at lists.katipo.co.nz
[mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Roche III, Edward
Sent: Friday, March 06, 2009 1:24 PM
To: koha at lists.katipo.co.nz
Subject: [Koha] Mass updating a field
Good Afternoon All
I am in need of a SQL statement to update my barcode field in the items
table. When we exported our catalog from Follett it removed a space that
was in out barcodes so now when we try to scan an item it is not being
found because the barcode field in Koha is missing the space. What I
have done so far:
1) Export from the items table: itemnumber and barcode
2) Added the space back into the barcode field
3) Created a temp table in the koha db
4) Imported the data into the temp table
I now need to move the data from the temp table over to the items table
to update the barcode field.
Any thoughts?
Thanks
Ed
Edward J. Roche
Network Administrator
Solanco School District
717.786.2151 x2437
"At the End of the Day, Did You Play to Win or Not to Lose?"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20090306/a9a5c89e/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 4626 bytes
Desc: image003.jpg
Url : http://lists.katipo.co.nz/pipermail/koha/attachments/20090306/a9a5c89e/attachment-0003.jpeg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 5195 bytes
Desc: image004.jpg
Url : http://lists.katipo.co.nz/pipermail/koha/attachments/20090306/a9a5c89e/attachment-0004.jpeg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 4626 bytes
Desc: image005.jpg
Url : http://lists.katipo.co.nz/pipermail/koha/attachments/20090306/a9a5c89e/attachment-0005.jpeg
More information about the Koha
mailing list