| Author |
Message |
RRB
Joined: 19 Jun 2009 Posts: 4
|
Posted: Wed Nov 10, 2010 5:32 pm Post subject: Prompt Failure w/MERGE statements |
|
|
<Extract>
MERGE Wine.Producer AS CurrentData
USING
(
SELECT DISTINCT ProducerID, ProducerName
FROM Wine.Import
) AS NewData
ON CurrentData.ProducerID = NewData.ProducerID
WHEN MATCHED THEN
UPDATE
SET
CurrentData.ProducerName = NewData.
</Extract>
SQL Prompt fails to suggest any of the column names for the "NewData" object (or any other for that matter) after I enter the final period as shown in the extract. No error messages of any kind are generated. |
|
| Back to top |
|
 |
RRB
Joined: 19 Jun 2009 Posts: 4
|
Posted: Wed Nov 10, 2010 5:34 pm Post subject: |
|
|
| Correction: the prompt failures are ONLY related to the references to the "NewData" object. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group