Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 143529

SQL Error on Data Import

$
0
0

Hi guys !

I'm facing an issue for 3 days that makes me mad.

I'm trying to import some data via the Shared Category Entity. The mapping is doing well.
But when I start the import, I get these errors :

Results. Cannot execute the required database operation.
The SQL database has issued an error.
Object Server Azure:
[Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Update or insert of view or function
'SHAREDCATEGORYENTITY' failed because it contains a derived or constant field.
UPDATE SHAREDCATEGORYENTITY SET CATEGORYID = T1.CATEGORYID,CATEGORYNAME = T1.CATEGORYNAME,EXPENSETYPE = T1.EXPENSETYPE,USEINEXPENSE = T1.USEINEXPENSE,USEINPRODUCTION = T1.USEINPRODUCTION,USEINPROJECT = T1.USEINPROJECT  FROM SHAREDCATEGORYSTAGING T1 CROSS JOIN SHAREDCATEGORYENTITY T2 WHERE ((T1.PARTITION=5637144576) AND (((T1.DEFINITIONGROUP=N'MNS Test Shared Category') AND (T1.EXECUTIONID=N'MNS Test Shared Category-2017-08-29T13:50:38-1582FB3FDBEB4BD894809AD6BA867D42')) AND  NOT ((T1.TRANSFERSTATUS=2)))) AND ((T2.PARTITION=5637144576) AND (T1.CATEGORYID=T2.CATEGORYID))
session 3342 (Mathieu.Nanse)
'35' 'Shared category' record(s) inserted in staging

I assume this issue is linked to one or more fields of the data entity but I don't understand the real problem about these fields. Can you help me ?

Regards,

Rokkart.


Viewing all articles
Browse latest Browse all 143529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>