Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Urgent please help

Author  Topic 

Rita Bhatnagar
Posting Yak Master

172 Posts

Posted - 2001-09-26 : 10:46:20
I have this query that is a save query and supposed to save in two tables but it gives me error
'Can't insert or update from multiple tables'

my query is like this

SELECT CRMilitary.*, Identifier.Identifier AS VANumber
FROM CRMilitary
INNER JOIN (CareRecipient
INNER JOIN Identifier
ON (CareRecipient.CareRecipientEntityId = Identifier.EntityId))
ON CRMilitary.eCRID = CareRecipient.CareRecipientId
WHERE eCRID = @prmCREntID
And Identifier.IdentifierTypeID=34

i am confused how do i save in identifier table how do i get the same record?

   

- Advertisement -