|
Right, as I recall, to do the decrypt, you must
Set encryption password = 'testenc'
Then use
decrypt_char(ppswd)
-Eric DeLong
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Gqcy
Sent: Thursday, April 10, 2014 4:05 PM
To: midrange-l@xxxxxxxxxxxx
Subject: SQL - Encrypt fields
I have got the INSERT to work...
insert into XXXXXX values(
'REDROCKS', 'gmagnuson',
ENCRYPT_AES('brickbat15','testenc'),'test1','test2')
1 rows inserted...
select decrypt_char(ppswd,'testenc') from XXXXXX
column or global variable testenc not found
how do I format my select to get my data back???????????
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.