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.

When the connection-level property connection_type = 'Event', is Name ever different from EventName?

If the answer is "no, they're always the same", what is the purpose of EventName?

asked 29 May '17, 16:13

Breck%20Carter's gravatar image

Breck Carter
32.5k5417261050
accept rate: 20%


See that ancient FAQ with Bruce Hay's answer, to cite the first statements:

The value of connection_property('Name',number) for an event will be the name of the event; however, there is nothing preventing a normal connection from using the same name. The value of connection_property('EventName',number) is also the name of the event, but will be NULL for non-event connections.

While re-reading that, it comes to my mind how thoughtful, thorough and dense Bruce's answers were...

permanent link

answered 02 Jun '17, 09:33

Volker%20Barth's gravatar image

Volker Barth
40.2k361550822
accept rate: 34%

edited 02 Jun '17, 09:37

1

On sa16 connection_property('EventName') returns an empty string. Don't expect NULL values !

(08 Jun '17, 11:55) Thomas Dueme...
Replies hidden

The same goes for recent v12.0.1 and 17.0.7.3382 releases.

(09 Jun '17, 04:20) Volker Barth
Your answer
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:

×11

question asked: 29 May '17, 16:13

question was seen: 1,639 times

last updated: 09 Jun '17, 04:20