Fix this SQL Problem

Closed Posted 5 years ago Paid on delivery
Closed Paid on delivery

The following error is being encountered when an update query is executed.

-------------------------------------

Error Number: 22005

[Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Operand type clash: varchar is incompatible with varchar(8000) encrypted with (encryption_type = 'DETERMINISTIC', encryption_algorithm_name = 'AEAD_AES_256_CBC_HMAC_SHA_256', column_encryption_key_name = 'CEK_Auto1', column_encryption_key_database_name = 'Surf_927') collation_name = 'Latin1_General_BIN2'

UPDATE tblData SET [CREDIT CARD NO] = '5353' WHERE ClientID = '31341'

-------------------------------------

The problem is related to how the query is written and using an Always Encrypted Certificate.

The environment is:

IIS 8 webserver

SQL Express 14

Windows Server 2012 R2

Codeigniter 2.2.6

An ALWAYS ENCRYPTED certificate is being used on the column 'CREDIT CARD NO' and this is what is causing the problem.

The certificate is installed and configured correctly as decryption on a SELECT is fine.

Codeigniter framework is used in the PHP project and ACTIVE Record is used.

I have an idea of what needs to be done to resolve this, but I cannot do it personally. So to be selected for this you will need to explain to me what is causing the problem - this way I know you can fix the problem. Hint: its to do with Parametized

Please no cut and paste of links to your work or just saying you can fix this without demonstrating you have the knowledge.

Codeigniter Microsoft SQL Server MySQL PHP SQL

Project ID: #18869978

About the project

30 proposals Remote project Active 4 years ago

30 freelancers are bidding on average $145 for this job

fastworkontime1

Hello there, I have gone through with your requirement and I can fix it with perfection. ##Let me know the site URL ? Kindly check PMB Thanks Afsana

$155 AUD in 3 days
(655 Reviews)
8.5
dinotech

Hello there, Greeting of the day. I can explain this in chat window. Please allow me i will let you know what is the solution of this error please come in chat window Thanks Regards

$200 AUD in 2 days
(286 Reviews)
8.4
gamdurbhullar

Hello sir I hope you are doing well. After reading your offer, this looks like a perfect fit for my skill sets so May I discuss with you for further details about this project?

$155 AUD in 3 days
(169 Reviews)
7.2
ObjectCode1

Hi, To check the issue you are having in your SQL database , I need to have a code access of your database. SO that I can check n solve. Let me know the details. I am available here for further discuss. reg More

$177 AUD in 3 days
(18 Reviews)
5.9
mdramindz

Hello, Please message me so we can discuss more on it. Please view the profile to see more works of mine. Let's discuss so I can provide you more details about me. Waiting for Your Reply soon. Reg More

$55 AUD in 2 days
(15 Reviews)
4.9
creativemandy

Hi, I have read your given following issues and As Codeigniter Expert I can fix this issue without demonstrating and I want to check the issue in the website that encountered so please provide me a full access of yo More

$200 AUD in 3 days
(13 Reviews)
5.1
dilshadbukhari

Greetings!!! I am working in different platforms. (.NET Development, PHP (Core php, Codeigniter, Laravel, Opencart, WordPress), Android Development, Graphic Designing, Front-End Responsive Design) My Vision : To ach More

$155 AUD in 3 days
(28 Reviews)
4.8
baxianupam

Michael Leboeuf said, “A satisfied customer is the best business strategy of all”. We very well follow it. Our main goal is to provide you 100% service and extra 50% one. Our specialist is focus on web design & fro More

$70 AUD in 1 day
(10 Reviews)
4.1
krupa2806

Dear sir/madam, I have 4 years of experience in mobile and web development & design with wide skill. I am skilled in mobile application development as well as web application development. Qualifications and experienc More

$100 AUD in 3 days
(19 Reviews)
3.9
techobrie

Hello sir, we read project description carefully we can do this project..High Quality + Fast Speed = Excellent Result + Business Success, this is my working style. I have gone through your Job post and I can understa More

$97 AUD in 3 days
(48 Reviews)
5.2
jiteshparwal93

Hi, This problem is mostly due to one of following reasons: 1. Since your clientId is encrypted, but you aren't decrypting it in query. For this you need to decrypt it in query using SQL function. 2. There may be code More

$111 AUD in 1 day
(3 Reviews)
3.6
baphpwordress

Respected Sir/Ma'am, Good day !! I would like to introduce my self , hello I am Gautam and i have a team of 10+ developers those are best in their domain . I will make all the functions which you describe on your jo More

$150 AUD in 3 days
(12 Reviews)
3.8
DataOnMatrix

Hi, It seems that you are trying to perform CRUD on encrypted columns, right? In this case, the data must be manipulated using a parameterized query, and you cannot be done within SSMS. I have gone through the d More

$277 AUD in 3 days
(3 Reviews)
2.8
graphichaa

Hello I'm technical manager in a hosting company , and I can do it for you easily but I need more details Kind Regards

$155 AUD in 3 days
(1 Review)
0.8
bodarhetal22

I read through the job details extremely carefully and I am absolutely sure that I can do the project very well.

$155 AUD in 3 days
(0 Reviews)
0.0
sunilmudunuri

I'm an experienced freelancer database and report design, development and optimization with 10 years of experience . I have used Erwin tool for data modelling and i am well-versed with Normalization's for doing DB desi More

$155 AUD in 3 days
(0 Reviews)
0.0
Mscram

good exp in DBA , HA solutions , TDE , always on , handled 100 gB database also have exp in past 5 years

$35 AUD in 3 days
(0 Reviews)
0.0
acharyark

I have 12+ years of working experience with multiple technologies and databases including SQL Server, would love to help you achieve your goals. Please provide more information about the project. Thanks. Its a small More

$30 AUD in 3 days
(0 Reviews)
0.0