<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/724910#M38308</link>
    <description>&lt;P&gt;Hi saskiwi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this new method and am getting the same type of log as above, and no output data set.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2021 16:39:05 GMT</pubDate>
    <dc:creator>jv4</dc:creator>
    <dc:date>2021-03-09T16:39:05Z</dc:date>
    <item>
      <title>ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/721063#M38215</link>
      <description>&lt;P&gt;I have an ODBC connection to a replicated database. I am able to see all the tables and most of the data in the tables, however, some of the data is encrypted. How would I enter the sql statement so that I can see all of the encrypted data in SAS? In mysql I can just run the sql statement and then see the encrypted data in the tables. Is there a way to use that sql statement in SAS so that I can see that encrypted data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 20:57:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/721063#M38215</guid>
      <dc:creator>jv4</dc:creator>
      <dc:date>2021-02-22T20:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/721068#M38216</link>
      <description>&lt;P&gt;You could try an SQL Passthru query containing your native SQL statement(s).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname mysql odbc noprompt = "&amp;lt;MySQL connection string&amp;gt;";

proc sql;
 connect using mysql;
  create table Want as 
  select * from connection to mysql
  (&amp;lt;-Put your MySQL query here-&amp;gt;)
  ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Feb 2021 21:12:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/721068#M38216</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-02-22T21:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/721092#M38217</link>
      <description>&lt;P&gt;Thanks SASKiwi.I am a beginner when it comes to this ODBC connection scenarios.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a libname statement with the connection to the database. Please see example below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname db odbc datasrc=datasource schema = schema user=user password = password; --&amp;gt; this is my current statement which gets me to the tables. I just can't see the data in certain columns where it is encrypted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would I put the one line of sql code that decrypts the data into the noprompt section?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 21:48:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/721092#M38217</guid>
      <dc:creator>jv4</dc:creator>
      <dc:date>2021-02-22T21:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/721107#M38218</link>
      <description>&lt;P&gt;No, you just need to replace the LIBNAME I posted with yours:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname db odbc datasrc=datasource schema = schema user=user password = password;

proc sql;
 connect using db;
  create table Want as 
  select * from connection to db
  (&amp;lt;-Put your MySQL query here-&amp;gt;)
  ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Then put your actual MySQL query inside round brackets where I've indicated. Test it with something easy like: select * from MySQLTable.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 22:19:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/721107#M38218</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-02-22T22:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/721715#M38233</link>
      <description>I ran this and didn't get an error, or see anything in the log.&lt;BR /&gt;When I run another sql step the data is still encrypted.</description>
      <pubDate>Wed, 24 Feb 2021 23:17:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/721715#M38233</guid>
      <dc:creator>jv4</dc:creator>
      <dc:date>2021-02-24T23:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/721735#M38234</link>
      <description>&lt;P&gt;Please post your complete SAS log.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 02:13:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/721735#M38234</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-02-25T02:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/723191#M38282</link>
      <description>&lt;P&gt;&lt;BR /&gt;1 ;*';*";*/;quit;run;&lt;BR /&gt;2 OPTIONS PAGENO=MIN;&lt;BR /&gt;3 %LET _CLIENTTASKLABEL='CodeName';&lt;BR /&gt;4 %LET _CLIENTPROJECTPATH='';&lt;BR /&gt;5 %LET _CLIENTPROJECTNAME='';&lt;BR /&gt;6 %LET _SASPROGRAMFILE=;&lt;BR /&gt;7&lt;BR /&gt;8 ODS _ALL_ CLOSE;&lt;BR /&gt;9 OPTIONS DEV=ACTIVEX;&lt;BR /&gt;10 GOPTIONS XPIXELS=0 YPIXELS=0;&lt;BR /&gt;11 FILENAME EGSR TEMP;&lt;BR /&gt;12 ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR&lt;BR /&gt;13 STYLE=HtmlBlue&lt;BR /&gt;14 STYLESHEET=(URL="file:///C:/Program%20Files/SASHome/SASEnterpriseGuide/7.1/Styles/HtmlBlue.css")&lt;BR /&gt;15 NOGTITLE&lt;BR /&gt;16 NOGFOOTNOTE&lt;BR /&gt;17 GPATH=&amp;amp;sasworklocation&lt;BR /&gt;18 ENCODING=UTF8&lt;BR /&gt;19 options(rolap="on")&lt;BR /&gt;20 ;&lt;BR /&gt;NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR&lt;BR /&gt;21&lt;BR /&gt;22 GOPTIONS ACCESSIBLE;&lt;BR /&gt;23 proc sql;&lt;BR /&gt;24 connect using vh;&lt;BR /&gt;25 create table plan2 as&lt;BR /&gt;26 select *&lt;BR /&gt;27 from connection to vh&lt;BR /&gt;28 (call set_key('abcdefghjsfhdksjfbask0123dfjjsldkj'&lt;BR /&gt;29 )&lt;BR /&gt;30 ;quit;&lt;BR /&gt;31&lt;BR /&gt;32 GOPTIONS NOACCESSIBLE;&lt;BR /&gt;33 %LET _CLIENTTASKLABEL=;&lt;BR /&gt;34 %LET _CLIENTPROJECTPATH=;&lt;BR /&gt;35 %LET _CLIENTPROJECTNAME=;&lt;BR /&gt;36 %LET _SASPROGRAMFILE=;&lt;BR /&gt;37&lt;BR /&gt;38 ;*';*";*/;quit;run;&lt;BR /&gt;39 ODS _ALL_ CLOSE;&lt;BR /&gt;40&lt;BR /&gt;41&lt;BR /&gt;42 QUIT; RUN;&lt;BR /&gt;43&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 16:07:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/723191#M38282</guid>
      <dc:creator>jv4</dc:creator>
      <dc:date>2021-03-03T16:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/723252#M38283</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
connect using vh;
execute (call set_key('abcdefghjsfhdksjfbask0123dfjjsldkj') by vh;
create table plan2 as
select *
from connection to vh
(select * from MyEncryptedTable)
;
;quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 19:29:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/723252#M38283</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-03-03T19:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/723553#M38290</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;Please have a look at this&amp;nbsp;&lt;A href="https://www.sqlshack.com/an-overview-of-the-column-level-sql-server-encryption/" target="_blank"&gt;https://www.sqlshack.com/an-overview-of-the-column-level-sql-server-encryption/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine?view=sql-server-ver15" target="_blank"&gt;https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine?view=sql-server-ver15&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;The purpose of encryption of sensitive data is to prevent it being viewed without proper authorization and keys/certificate.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 18:51:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/723553#M38290</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-03-04T18:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/724910#M38308</link>
      <description>&lt;P&gt;Hi saskiwi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this new method and am getting the same type of log as above, and no output data set.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 16:39:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/724910#M38308</guid>
      <dc:creator>jv4</dc:creator>
      <dc:date>2021-03-09T16:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/724927#M38309</link>
      <description>&lt;P&gt;Your pass-through misses a closing bracket:&lt;/P&gt;
&lt;PRE&gt;27 from connection to vh
28 (call set_key('abcdefghjsfhdksjfbask0123dfjjsldkj'
29 )
30 ;quit;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Mar 2021 17:58:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/724927#M38309</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-03-09T17:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/724957#M38310</link>
      <description>&lt;P&gt;Please post your SAS log including code and any notes. Also you would be best opening a SAS Tech Support Track on this to tap into their database experts.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 19:20:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/724957#M38310</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-03-09T19:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/728872#M38409</link>
      <description>&lt;P&gt;below is the log. I apologize I didn't see your response. I will definitely open a task support track.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 ;*';*";*/;quit;run;&lt;BR /&gt;2 OPTIONS PAGENO=MIN;&lt;BR /&gt;3 %LET _CLIENTTASKLABEL='Pull';&lt;BR /&gt;4 %LET _CLIENTPROJECTPATH='';&lt;BR /&gt;5 %LET _CLIENTPROJECTNAME='';&lt;BR /&gt;6 %LET _SASPROGRAMFILE=;&lt;BR /&gt;7&lt;BR /&gt;8 ODS _ALL_ CLOSE;&lt;BR /&gt;9 OPTIONS DEV=ACTIVEX;&lt;BR /&gt;10 GOPTIONS XPIXELS=0 YPIXELS=0;&lt;BR /&gt;11 FILENAME EGSR TEMP;&lt;BR /&gt;12 ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR&lt;BR /&gt;13 STYLE=HtmlBlue&lt;BR /&gt;14 STYLESHEET=(URL="file:///C:/Program%20Files/SASHome/SASEnterpriseGuide/7.1/Styles/HtmlBlue.css")&lt;BR /&gt;15 NOGTITLE&lt;BR /&gt;16 NOGFOOTNOTE&lt;BR /&gt;17 GPATH=&amp;amp;sasworklocation&lt;BR /&gt;18 ENCODING=UTF8&lt;BR /&gt;19 options(rolap="on")&lt;BR /&gt;20 ;&lt;BR /&gt;NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR&lt;BR /&gt;21&lt;BR /&gt;22 GOPTIONS ACCESSIBLE;&lt;BR /&gt;23 proc sql;&lt;BR /&gt;24 connect using vh;&lt;BR /&gt;25 execute (call set_key('abcdedhksjhfksdjhflkfh3f215s3d1fsdfhskdjfhlsdj') by vh;&lt;BR /&gt;26 create table plan2 as&lt;BR /&gt;27 select *&lt;BR /&gt;28 from connection to vh&lt;BR /&gt;29 (select * from table)&lt;BR /&gt;30 ;&lt;BR /&gt;31 ;quit;&lt;BR /&gt;32&lt;BR /&gt;33 GOPTIONS NOACCESSIBLE;&lt;BR /&gt;34 %LET _CLIENTTASKLABEL=;&lt;BR /&gt;35 %LET _CLIENTPROJECTPATH=;&lt;BR /&gt;36 %LET _CLIENTPROJECTNAME=;&lt;BR /&gt;37 %LET _SASPROGRAMFILE=;&lt;BR /&gt;38&lt;BR /&gt;39 ;*';*";*/;quit;run;&lt;BR /&gt;40 ODS _ALL_ CLOSE;&lt;BR /&gt;41&lt;BR /&gt;42&lt;BR /&gt;43 QUIT; RUN;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 19:52:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/728872#M38409</guid>
      <dc:creator>jv4</dc:creator>
      <dc:date>2021-03-24T19:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/728982#M38410</link>
      <description>&lt;P&gt;You still miss a closing bracket to end the EXECUTE:&lt;/P&gt;
&lt;PRE&gt;execute (call set_key('abcdedhksjhfksdjhflkfh3f215s3d1fsdfhskdjfhlsdj') by vh;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Mar 2021 05:52:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/728982#M38410</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-03-25T05:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/730415#M38439</link>
      <description>Oh my goodness, I thought I got it. Sorry about that! But it did work this time! Thank you so much for your help!</description>
      <pubDate>Wed, 31 Mar 2021 15:21:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/730415#M38439</guid>
      <dc:creator>jv4</dc:creator>
      <dc:date>2021-03-31T15:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection SAS Enterprise Guide - Data is Encrypted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/730488#M38447</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/370589"&gt;@jv4&lt;/a&gt;&amp;nbsp;- Please mark your post as answered in that case.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 20:11:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-Connection-SAS-Enterprise-Guide-Data-is-Encrypted/m-p/730488#M38447</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-03-31T20:11:47Z</dc:date>
    </item>
  </channel>
</rss>

