some simple test data
First we need some simple test data */ CREATE TABLE ##CambridgePubs (Pubname VARCHAR(40), Address VARCHAR(80), Postcode VARCHAR(8))
INSERT INTO ##CambridgePubs (PubName, Address, Postcode) SELECT 'Bees In The Wall','36 North Road, Whittlesford, Cambridge','CB2 4NZ' INSERT INTO ##CambridgePubs (PubName, Address, Postcode) SELECT 'Blackamoors Head','205 Victoria Road, Cambridge','CB4 3LF' INSERT INTO ##CambridgePubs (PubName, Address, Postcode) SELECT 'Blue Lion','2 Horningsea Road, Fen Ditton, Cambridge','CB5 8SZ' INSERT INTO ##CambridgePubs (PubName, Address, Postcode) SELECT 'Cambridge Blue','85-87 Gwydir Street, Cambridge','CB1 2LG' INSERT INTO ##CambridgePubs (PubName, Address, Postcode) SELECT 'Champion Of The Thames','68 King Street, Cambridge','CB1 1LN' INSERT INTO ##CambridgePubs (PubName, Address, Postcode) SELECT 'Cross Keys','77 Ermine Street, Caxton, Cambridge','CB3 8PQ' INSERT INTO ##CambridgePubs (PubName, Address, Postcode) SELECT 'Crown Inn','11 High Street, Linton, Cambridge','CB1 6HS' INSERT INTO ##CambridgePubs (PubName, Address, Postcode) SELECT 'Devonshire Arms','1 Devonshire Road, Cambridge','CB1 2BH' INSERT INTO ##CambridgePubs (PubName, Address, Postcode) SELECT 'Duke Of Argyle','90 Argyle Street, Cambridge','CB1 3LS' INSERT INTO ##CambridgePubs (PubName, Address, Postcode) SELECT 'Duke Of Wellington','49 Alms Hill, Bourn, Cambridge','CB3 7SH' INSERT INTO ##CambridgePubs (PubName, Address, Postcode) SELECT 'Eagle Public House','Benet Street, Cambridge','CB2 3QN' /*And so on. (The full import file is in the ZIP, as is the Excel file!) Create the table and then execute the contents of CambridgePubs.SQL
Creating Excel spreadsheets via ADODB -----------------------------------------
First, we need to create the spreadsheet with the correct headings (PubName, Address, PostCode) |
手机版|小黑屋|BC Morning Website ( Best Deal Inc. 001 )
GMT-8, 2026-2-5 15:12 , Processed in 0.015093 second(s), 22 queries .
Powered by Discuz! X3.5
© 2001-2026 Discuz! Team.