Microsoft
Software
Hardware
Network
Question : MSSQL proble with insert statement - query will not compile
all the Radactive_ILoad_Images table and fields have red lines under them and inavailed object tags. this same script work one time, but now I cannot compile it in the query
-----------------------
INSERT INTO [CustomerImages] ([ImageID],[EquipmentID], [ImageData], MIMEType)
SELECT DISTINCT Equipment.[UserId], Equipment.[EquipmentID], [ImageBytes],[MIMEType]
FROM Equipment, [Radactive_ILoad_Images], [Example_E_204__Records]
WHERE Equipment.ID = (SELECT MAX(ID) FROM Equipment)
AND [ConfigurationInternalCode
] = 'Ex_E_204_ILoad1'
AND ResizeInternalCode = 'Thumb1' AND ImageId = (SELECT MAX(ImageId) FROM Radactive_ILoad_Images)
Answer : MSSQL proble with insert statement - query will not compile
this means that THAT object name does not exist (any longer?) or the login does not have permissions to it.
please double (aka triple)- check the table names, resp the db you are connected to.
Random Solutions
Calling a DLL Function Dynamically
Exchange 2007 OWA causes 2 audit failures on failed login attempt
chess game without a database
Server 2008 NLB problem
Sort Records in Descending Order on Pivot Chart
UV spectroscopy and exponential decay of tranmission
Could Linkserver provide me DB schema?
Upgrading from Windows 7 Home Ultimate to a professional version - how?
Set variable
Incorrect function. error