sql server - Using Com+ (VBScript) Function in a SQL Function -


I usually code used to encode a string using a DLL Com + Component / Object and I'm wondering how and if something

write me know how SQL works, but cOM + library can not be inserted objects, can it be accomplished? In

Set the way I write code in the code:

  sMyKey = "1234567" sStr = "encoded to the text" Crypt = server. CreateObject ( "aspCrypt.EasyCRYPT") Crypt.Algorithm = 162 Crypt.Mode = CmCTS Crypt.Counter (-1) Crypt.initKey (sMyKey) sEncodedString = Crypt.EncodeString (Sstiar, 1) not set Crypt = a   

the sEncodedString gives me how to write a SQL function this code?

Well, shows a bit of googling that Sp_OACreate .

View

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -