Load Encrypted Column Data..............

  • Hi all,

    I m having source as eaxcel with following type of data.

    EmpId,Fname,Lname,Sal

    and i want to load this data frequently into sqlserver table. But while loading i want to encrtypt Sal column data.

    Pls help.............

    Thanks

    Abhas

  • What's the point of encrypting? Who are you trying to protect the data against?

    Look at the SQL functions EncryptByKey and EncryptByCert

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Here's an example by Steve Jones that should help get you started. And he uses a salary column for his encryption/decryption example. 😉

    http://voiceofthedba.wordpress.com/2012/06/27/using-a-symmetric-key/

     

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply