473,321 Members | 1,708 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,321 software developers and data experts.

table deletions

Hello,

i have access 2003 and trying to place t-sql code into access.
That for sure will not work, just copy and pasting,

does anyone know why, when i create a into statement access informs me
the table I want to put into will be deleted? eg: select xxxxx
xxxxx
into table2
from table1.
I would appreciate any help i can get

Thank you
Nov 13 '05 #1
2 1127
Access does not use T-SQL. Transact SQL is for Microsoft SQL Server. Access
has its own flavor of SQL, and the differences are not all minor ones. The
easy way to start learning Access SQL is to look in Help, and to create
Queries using the Access Query Builder and then switch to SQL view.

Larry Linson
Microsoft Access MVP

"Archer" <fa******@yahoo.com> wrote in message
news:13**************************@posting.google.c om...
Hello,

i have access 2003 and trying to place t-sql code into access.
That for sure will not work, just copy and pasting,

does anyone know why, when i create a into statement access informs me
the table I want to put into will be deleted? eg: select xxxxx
xxxxx
into table2
from table1.
I would appreciate any help i can get

Thank you

Nov 13 '05 #2
Try
Insert into Table2 Select Blah1 Blah2 from table1.

Your syntax is for creating tables, not appending to an existing one.

"Archer" <fa******@yahoo.com> wrote in message
news:13**************************@posting.google.c om...
Hello,

i have access 2003 and trying to place t-sql code into access.
That for sure will not work, just copy and pasting,

does anyone know why, when i create a into statement access informs me
the table I want to put into will be deleted? eg: select xxxxx
xxxxx
into table2
from table1.
I would appreciate any help i can get

Thank you

Nov 13 '05 #3

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

Similar topics

3
by: vishnu mahendra | last post by:
I have two table both say A and B. If i insert a record in A that record should be inserted in B. If i delete a record in A that record should be deleted from B. Is that possible.If yes please...
6
by: Jeff Kowalczyk | last post by:
I need to adapt this an update statement to a general form that will iterate over multiple orderids for a given customerinvoiceid. My first concern is a form that will work for a given orderid,...
4
by: Mike Dole | last post by:
I might have taken a wrong turn trying to do an update on a database the way I did but maybe somebody can help me out cause I'm stuck.. I have to update 12 tables in a database in a client...
8
by: Smartin | last post by:
I have a form in Access97 which facilitates a query against a production Access database. Users will enter some search terms and see a datasheet view of the results in a subform. The prod table is...
5
by: ronin 47th | last post by:
Hi group, In one of the books 'Gurus Guide to Transact SQL' i found this info: ------------------------------------------------------------ TRUNCATE TABLE empties a table without logging row...
2
by: Oxy | last post by:
Hi all, I have a pre-defined table with several fields. I'm trying to create a form that'll have a drop down list showing several records (e.g.names from the table) and several check boxes...
2
by: rdemyan via AccessMonster.com | last post by:
For some of my really important tables, I have backup tables in the backend file. The idea is that if a user accidentally screws up data, they can go to a form and restore from the backup table...
3
by: blakerrr | last post by:
Hello World! I'm a rookie with access and my green skin needs a little help. I have two tables, one called BOM and one called Junction. BOM contains parts and assemblies and subassemblies info and...
4
by: jbrumbau | last post by:
Hello, I have been successfully using a database I've created for several months to populate an equipment list for a project we've been working on. However, the form has recently stopped working...
10
by: Dean | last post by:
My client has a db I am working that uses temp tables. During an update procedure, I had the code If fTableExists(tempTblName) = True Then DoCmd.DeleteObject acTable, tempTblName Then I thought...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.