Re: Insert Multiple Rows into a Table Without Using Select

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Wed, 28 Sep 2005 13:22:02 -0700, RitaG wrote:

>Thanks Hugo for your response.
>I have 4 lines that I want to insert into a table in 30 databases.
>The column values are always the same for the 30 databases and I don't need
>a "Select" statement.

Hi Rita,

Well, you can either have 4 INSERT statements with a VALUES clause, or
one INSERT statement with a UNION'ed SELECT clause, as I wrote in my
previous reply. There are no other alternatives.

But I guess the real question is: why do you store the same data in 30
identical tables in 30 databases? Maybe it's time to get rid of some of
the redundancy?

Best, Hugo
--

(Remove _NO_ and _SPAM_ to get my e-mail address)
.



Relevant Pages

  • Re: re-linking tables
    ... Hugo ... if I move both databases to another place. ... > Tim F ... Prev by Date: ...
    (microsoft.public.access.modulesdaovba)
  • Re: lets deposit in charge of the poor sentences, but dont build the think semi-finals
    ... How Estefana's compact paint ... appreciates, Catherine extracts toward classic, just databases. ... civil projects own in response to the fond classroom. ...
    (news.software.readers)
  • Re: Draw backs of Serialized Objects
    ... Multiple data stores (could be SQL Server databases across LAN, WAN, ... When returned to the requestor, the results will be displayed in a tree ... The requestor unzips or unserializes the response and displays ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Current Audit file in use by a database
    ... The DMINQ option is going ... inquiring on multiple databases from different usercodes. ... a "NULL RESPONSE". ... STATUS followed by a DCKEYIN of MSG and hope that the ...
    (comp.sys.unisys)
  • Re: Anybody from Access development team or from MS can help me?
    ... I had looked up the IN clause in Access 2003 help, ... that information, Tim. ... >> joins different tables from both databases) and those 2 databases are ... >> secured with a workgroup file. ...
    (microsoft.public.access.tablesdbdesign)