Please be aware that the SAP SQL Anywhere Forum will be shut down on August 29th, 2024 when all it's content will be migrated to the SAP Community.

I found a table named 'mt' and creator is dba, but in the code seems we didn't create it.

If the table create by db, it should be a sys table, but it showed as created by dba...Does sql anywhere 9.0 create any table as dba automatically? Since I didn't find this table using sqlanaywhere 10.0

asked 22 Aug '12, 05:38

phqqhaha's gravatar image

accept rate: 0%

retagged 22 Aug '12, 08:06

Daz%20Liquid's gravatar image

Daz Liquid

Even the MobiLink tables start with the letters "ml", not "mt", and in Version 9 they were all owned by dbo.

So, no, mt was probably created after SQL Anywhere 9 was installed. If you show us what the table looks like (schema and data) perhaps someone will recognize what might have created it (if it was created by some other software package).

permanent link

answered 22 Aug '12, 09:17

Breck%20Carter's gravatar image

Breck Carter
accept rate: 20%

As Breck has implied, SQL Anywhere does not (and has never) created a table named 'mt'. Perhaps it was a typo in syntax at one point...?

Do you have a complete transaction log for the database since it was initialized? You can try translating the transaction log using "dbtran" to a SQL file and look for "CREATE TABLE" statements.

permanent link

answered 22 Aug '12, 10:33

Jeff%20Albion's gravatar image

Jeff Albion
accept rate: 25%

FWIW, looking for "ALTER TABLE ... RENAME " would also make sense.

If you don't have the according log, you still might be able to use the table_id value of that table (in systable) to find out whether that table was created before/after tables you are aware of, as table_ids are incremented chronologically - that might or might not give a clue...

(22 Aug '12, 10:39) 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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 22 Aug '12, 05:38

question was seen: 1,571 times

last updated: 22 Aug '12, 10:39