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

phqqhaha
1111
accept rate: 0%

retagged 22 Aug '12, 08:06

Daz%20Liquid's gravatar image

Daz Liquid
861182338


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
26.9k438609883
accept rate: 21%

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
10.7k171174
accept rate: 24%

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

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:

×101

question asked: 22 Aug '12, 05:38

question was seen: 783 times

last updated: 22 Aug '12, 10:39