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.

Does anyone know how to see the date a user was created in Sybase using a select statement?

asked 08 Dec '10, 10:04

John%20Dickerson's gravatar image

John Dickerson
11112
accept rate: 0%


If you are running SQL Anywhere 10 or newer, the following access on the system catalog should work:

select user_name, creation_time
from sys.sysobject key join sys.sysuser
order by 1

I'm not really sure for v10, as I currently use 11.0.1 and 12.0.0, but AFAIK starting with v10 all database objects are contained with their creation timestamp in table sysobject.


Note: Starting with v11, sysuser additionally contains a field password_creation_time in case that timestamp is important, too.

permanent link

answered 08 Dec '10, 12:16

Volker%20Barth's gravatar image

Volker Barth
40.4k364553825
accept rate: 34%

1

Works on V10.1.

(23 Dec '10, 07:56) Dmitri
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:

×25

question asked: 08 Dec '10, 10:04

question was seen: 6,149 times

last updated: 22 Dec '10, 12:22