Results 1 to 2 of 2

Thread: [Access 2003] Multiple SQL Queries

  1. #1

    Thread Starter
    Frenzied Member agmorgan's Avatar
    Join Date
    Dec 2000
    Location
    Lurking
    Posts
    1,383

    [Access 2003] Multiple SQL Queries

    Is it possible to run multiple queries in SQL (in access) separated by a semi-colon?
    I have a large csv file without reference numbers and I am trying to match up the rows with another (larger) csv file that does have references.
    I figured the easiest way to get the references would be to import the csv into access and run some SQL that matched up certain fields.
    I can also create the queries in Excel by writing it once then using autofill down.

    Unfortunately I can't seem to run them all at once.
    Can you import queries from a text file?

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: [Access 2003] Multiple SQL Queries

    I have queries that I import from a text file. It is just a matter of reading the text file, storing what is in it in a string, and then executing that string (I'm using VB6 - should be able to do the same in VBA though)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width