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 you translate a log file, i think there is a date and time attached to each sql statement. Ex: --INSERT-1073-0367432565. i believe 1073 is a connection number, and 0367432565 is the date and time. is there a way to translate the date and time info into something more useful?

asked 29 Apr '13, 11:22

Tom%20Mangano's gravatar image

Tom Mangano
672242738
accept rate: 8%

edited 29 Apr '13, 13:03

Mark%20Culp's gravatar image

Mark Culp
24.9k10141297


You are correct, the '1073' in '--INSERT-1073-0367432565' refers to the unique number given to the connection that originally executed the operation. The '0367432565' refers to the logical log offset within transaction log and unfortunately there is no method (that I know of) that can be used to definitively convert this number into a date and time.

You could narrow down the time that the operation occurred by looking at other operations (e.g. CONNECT and CHECKPOINT operations, and to some degree other transaction operations that include timestamps that were created with CURRENT TIMESTAMP) that come before and after the operation.

permanent link

answered 29 Apr '13, 11:32

Mark%20Culp's gravatar image

Mark Culp
24.9k10141297
accept rate: 41%

edited 29 Apr '13, 11:36

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:

×48
×22
×13

question asked: 29 Apr '13, 11:22

question was seen: 2,716 times

last updated: 29 Apr '13, 13:03