If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Sql Error, Why?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-05-05, 11:47
kiko123456 kiko123456 is offline
Registered User
 
Join Date: Oct 2003
Posts: 6
Sql Error, Why?

UPDATE jose INNER JOIN (SELECT First(jose.a) AS a1, Last(jose.a) AS a2, jose.valor, Count(jose.valor) AS CuentaDevalor FROM jose GROUP BY jose.valor HAVING (((Count(jose.valor))>1))) AS j ON jose.valor = j.valor SET jose.ai = j.a1, jose.af = j.a2;

I have an error, the query is not actualizable.

is this sql correct?
Reply With Quote
  #2 (permalink)  
Old 02-05-05, 12:18
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
That depends. Not for Microsoft SQL Server, but it looks ok at first blush for Jet, the database engine used by Microsoft Access.

Please don't cross post, or at least be up-front about cross-posting if you aren't sure where to post the question.

-PatP
Reply With Quote
  #3 (permalink)  
Old 02-05-05, 14:16
chris_n_osborne chris_n_osborne is offline
Registered User
 
Join Date: Jan 2005
Posts: 31
See the Access forum.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On