wish24bone
Registered User.
- Local time
- Today, 02:11
- Joined
- Nov 28, 2011
- Messages
- 10
All,
How can I run multiple update statements that join to other tables, using 1 sql script? Here is the query I have now that is failing.. Ideas?
UPDATE EXCEPTION SET [exception].[assigned to] = [UserInfo].[Name]
IIF( [exception].[Assigned_to_id] = [UserInfo].[id]),
IIF( [exception].[Assigned_to_id] = [UserInfo2].[id]),
IIF( [exception].[Assigned_to_id] = [UserInfo3].[id]);
Thanks in advance
How can I run multiple update statements that join to other tables, using 1 sql script? Here is the query I have now that is failing.. Ideas?
UPDATE EXCEPTION SET [exception].[assigned to] = [UserInfo].[Name]
IIF( [exception].[Assigned_to_id] = [UserInfo].[id]),
IIF( [exception].[Assigned_to_id] = [UserInfo2].[id]),
IIF( [exception].[Assigned_to_id] = [UserInfo3].[id]);
Thanks in advance