Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

...as opposed to the usual fallback DECLARE @key LONG VARCHAR?

asked 21 Oct '18, 15:23

Breck%20Carter's gravatar image

Breck Carter
32.5k5417261050
accept rate: 20%

Hm, according to the underlying an_unload_db structure, it's a C "const char*", and the v17 topic on "Security: Keys for encrypted databases" says

Encryption keys are always case sensitive, and they cannot contain leading or trailing spaces or semicolons. Encryption keys can be of arbitrary length. Longer keys are better because a shorter key is easier to guess.

So I guess LONG VARCHAR is appropriate.

Nevertheless, it's astonishing that the data type is not explicitly mentioned for functions like ENCRYPT.

(22 Oct '18, 03:10) Volker Barth
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×46

question asked: 21 Oct '18, 15:23

question was seen: 828 times

last updated: 22 Oct '18, 03:10