I have an excel file (currently look like attached image) wanted to import it into my db.
currently my query look like this
INSERT INTO [inSharePoint] (processingDate, [url], [sharepointName], [ownerEmail], [secondaryOwnerEmail], [lastUpdateDate], [totalQuotaInMB], [totalStorageInMB], [storageUsedInPercentage], [lockStatus], [siteType], [spVersion])
VALUES ('{processingDate}', @url, @sharepointName, @ownerEmail, @secondaryOwnerEmail, @lastUpdateDate, @totalQuotaInMB, @totalStorageInMB, @storageUsedInPercentage, @lockStatus, @siteType, @spVersion)
but what if i wanted to insert the same file but the only difference is for my column [LockStatus], I ONLY want with the status nolock to be insert and not others status (No readonly and noaccess)
i am really new to sql hope somebody could explain it thank you
