Microsoft
Software
Hardware
Network
Question : Must Use An Updateable Query
I need to write an update query but I keep getting an error. I need the query to update [tbl_A].[field1] from this subquery's field called [field1]:
(SELECT tbl_B.Cust_ID, Min(tbl_B.field) as field1 FROM tbl_B GROUP BY tbl_B.Cust_ID) AS My_Subquery
My_Subquery and tbl_A join on field [Cust_ID].
Answer : Must Use An Updateable Query
An aggregate query (with Min or Group By) is not updateable. You will need to redesign the query to make it updateable. What are you trying to accomplish with the join?
Random Solutions
Convert SBS 2008 P2V
sql stored procedure select compare dates null issue
NTBACKUP scheduled backup fails - VSS problem?
ODBC connection to Oracle 9 db trough Cisco VPN and ISA
MBOX TO PST
interop.microsoft.office.c<wbr />ore.dll.
cascade combobox in a continuous form, access 2007
User name grayed out in SQL Server 2005 Server Management Studio
Do I have to select a predefined Identity field when using the SELECT INTO clause in a SQL Server stored procedure ?
IIS 7.0 Worker process crashes due to ODP.NET?