Microsoft
Software
Hardware
Network
Question : Mssql: Need help on this insert statement - I am entering two 2 rows instead of One 1
Need help on this insert statement - I am entering double 2 rows instead of One 1.
into the customerImages table. could i be missing a join between these two tables
Radactive_ILoad_Images and Radactive_ILoad_Indexes ??
I have provide sanpshot of each table:
--------------------------
----------
----------
---------
INSERT INTO [CustomerImages] ([UserId], [EquipmentID], [Title], [ImageData], [MIMEType], [ImageId])
SELECT DISTINCT [Equipment].[UserId], [Equipment].[EquipmentID],
t.[Title],
[ImageBytes],[MIMEType],[R
adactive_I
Load_Image
s].[ImageI
D]
FROM [Equipment], [Radactive_ILoad_Images], [Radactive_ILoad_Indexes],
[Example_E_204__Records] t
WHERE [Equipment].[ID] = (SELECT MAX(ID) FROM [Equipment])
AND [Radactive_ILoad_Images].[
Configurat
ionInterna
lCode] = 'Ex_E_204_ILoad1'
AND [Radactive_ILoad_Images].[
ResizeInte
rnalCode] = 'Thumb2' AND [Radactive_ILoad_Images].[
ImageId] = (SELECT MAX(ImageId) FROM [Radactive_ILoad_Indexes])
sshot-21.png
(11 KB)
(File Type Details)
CustomerImages
sshot-20.png
(15 KB)
(File Type Details)
Radactive_ILoad_Images
sshot-22.png
(6 KB)
(File Type Details)
Radactive_ILoad_Indexes
Answer : Mssql: Need help on this insert statement - I am entering two 2 rows instead of One 1
Hi,
Yes, because it is trying to load one of the broken .mov files (AntrimIntro.mov).
If you can get all the .mov files to play it will work ok.
Chris.
Random Solutions
Stand-Alone Terminal Server
Importing a text file into Access
Error Code 10061: Connection refused after replacing certificates
Code was working in Android 2.1 SDK but not on 2.2
Iphone Can't get Exchange mail on LAN but ok on 3G.
how long will deleted table hold values
Running RMI on Tomcat Servlet - How do I set up RMISecurityManager?
Is there a funtion that if I use substr(col,1,1) will tell me where a value is not a character
EIGRP Feasibility Condition
Resize multi select boxes in SharePoint form