我正在使用python提取推文,起初在加载推文时出现此错误,因为json不能有多个对象,所以我创建了一个推文数组,然后将整个数组转储到子文件,但是我仍然面临相同的错误,我试图从json文件中打印一条推文及其数据。这是一些有关如何存储数据然后尝试读取数据的代码。
MERGE INTO FOO X
USING (
SELECT T2.ROWID AS RID, -- ADD THIS HERE
T1.V_CUST_NUMBER AS MAN_CUST,T1.N_RA_ID, T2.V_CUST_NUMBER
FROM FOO T1
JOIN FOO T2
ON T1.N_RA_ID = T2.N_RA_ID
AND UPPER(T1.V_CUST_NUMBER) NOT LIKE 'MANUAL%'
) Z
ON (X.ROWID = Z.RID) -- CHANGE THE "ON" CLAUSE LIKE THIS
WHEN MATCHED THEN UPDATE
SET X.N_RA_ID = null
WHERE UPPER(X.V_CUST_NUMBER) LIKE 'MANUAL%'