473,385 Members | 1,400 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Using Make Table Query - Do I do this in the .be database, or the regular one

I want to move several records from one table to a new table. My
database is set up so that there's the "regular" database, and the
".be" database. In which do I use the Make Table Query?
Nov 12 '05 #1
3 2090
rr*****@yahoo.com (Rich N) wrote in message news:<24**************************@posting.google. com>...
I want to move several records from one table to a new table. My
database is set up so that there's the "regular" database, and the
".be" database. In which do I use the Make Table Query?


Use an append query to copy the records to the new table, and then a
delete query to remove the old ones. Be sure to keep the criteria the
same. And if you really want something like robustness, wrap the
whole thing in a transaction so if one part fails, it all fails.
Nov 12 '05 #2
Thanks Pieter, but I don't think you understood my question (or maybe
I wasn't clear). I understand how to do it. The database is split:
I don't know whether to do the Make Table Query, etc, in the "regular"
database, or the .be database

pi********@hotmail.com (Pieter Linden) wrote in message news:<bf************************@posting.google.co m>...
rr*****@yahoo.com (Rich N) wrote in message news:<24**************************@posting.google. com>...
I want to move several records from one table to a new table. My
database is set up so that there's the "regular" database, and the
".be" database. In which do I use the Make Table Query?


Use an append query to copy the records to the new table, and then a
delete query to remove the old ones. Be sure to keep the criteria the
same. And if you really want something like robustness, wrap the
whole thing in a transaction so if one part fails, it all fails.

Nov 12 '05 #3
rr*****@yahoo.com (Rich N) wrote in message news:<24**************************@posting.google. com>...
Thanks Pieter, but I don't think you understood my question (or maybe
I wasn't clear). I understand how to do it. The database is split:
I don't know whether to do the Make Table Query, etc, in the "regular"
database, or the .be database

pi********@hotmail.com (Pieter Linden) wrote in message news:<bf************************@posting.google.co m>...
rr*****@yahoo.com (Rich N) wrote in message news:<24**************************@posting.google. com>...
I want to move several records from one table to a new table. My
database is set up so that there's the "regular" database, and the
".be" database. In which do I use the Make Table Query?


Use an append query to copy the records to the new table, and then a
delete query to remove the old ones. Be sure to keep the criteria the
same. And if you really want something like robustness, wrap the
whole thing in a transaction so if one part fails, it all fails.


Correct. My mistake. Totally misunderstood your question. So...

The table would go in the back end if:
1. you wanted everyone using the DB to have access to the table.
2. the table was permanent.

Put it in the front end if:
1. it's a "work" table that you're going to throw away/delete the
contents of on a regular basis. (Actually, if it's one of those, put
it in a third db, link to that DB in code and then just delete your
connections and the temp db. See Tony Toews's site for an example.
2. (kind of an expansion on 1) Everyone will need separate copies of
the dataset to play with at once.

Hope this clarifies things a little.

pieter
Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Bing Wu | last post by:
Hi Folks, I have a very large table containing 170 million rows of coordinats: CREATE TABLE "DB2ADMIN"."COORDINATE" ( "FID" INTEGER NOT NULL , "AID" INTEGER NOT NULL , "X" REAL NOT NULL ,...
4
by: banz | last post by:
Hello I have a problem to resolve: I wrote a Perlscript which caches data from a server (local on my machine) I would like to have a other connection to a remote server but I don't know how to...
5
by: deko | last post by:
How to run action query against linked table? I have an Access 2003 mdb with an Excel 2003 Workbook as a linked table. When I attempt to run an action query against the linked table I get this...
4
by: Laura | last post by:
Here's the situation: I'm trying to use an update query to copy data from one row to another. Here is the situation: I have 5 companies that are linked to each other. I need to show all 5...
4
by: Együd Csaba | last post by:
Hi All, I'd like to "compress" the following two filter expressions into one - assuming that it makes sense regarding query execution performance. .... where (adate LIKE "2004.01.10 __:30" or...
5
by: minjie | last post by:
Is it possible to run a simple script to alter a table column in Access database from an interger to a double? I have been writing C++ programs every time we need to upgrade (modify) the Access...
2
by: marcsirois | last post by:
I've been working with MS Access for 2 days now, so please bear with me if I don't know all the lingo and technical terms. I was assigned to work on an existing Access database, which contains...
221
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t. In situations where your PHP application...
0
by: David | last post by:
- Are there any peculiarities with using curs.executemany(...) vs. multiple How many times are you calling execute vs a single executemany? The python call overhead will add up for thousands of...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.