Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Micorosft Access 2003 -How To Run Multiple update queries at the same time
Old 01-06-2011, 04:24 AM Micorosft Access 2003 -How To Run Multiple update queries at the same time
Junior Talker

Posts: 1
Trades: 0
Hi,
Whenever i try to run multiple update queries at the same time , i will encounter this error "Characters Found After End Of SQL Statement".

update Table1
set ColumnA="A"
Where ColumnB="B";

update Table1
set ColumnA="C"
Where ColumnB="D";


Do any one has idea on how to overcome this?
I find online and some suggest that make a macro and run the queries in the macro.
BUT
I find out that the queries that i can put into macro does not support multiple update queries at the same time.

Does anyone has idea on this?

TQ...
johnsonlim026 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-03-2011, 07:09 AM Re: Micorosft Access 2003 -How To Run Multiple update queries at the same time
Junior Talker

Posts: 2
Trades: 0
The error "Characters Found After End Of SQL Statement" refers to the colon at the end of your first update statement. When writing SQL there should only be one colon and it should alwys be the last character.
__________________
-----------------------------------
Software-Matters

Please login or register to view this content. Registration is FREE
softwarematters is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Micorosft Access 2003 -How To Run Multiple update queries at the same time
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09626 seconds with 12 queries