how can i see the real table name??

when i use DataAdapter to fill a dataset,but the real table name in original database has been changed,for ex: it will be changed as" table" ."table1"....and so forth..

can i get the real name of the table and how could you tell me




Answer this question

how can i see the real table name??

  • Peter Dorotiak

    really

    but how does the server explorer know the table name of the database



  • nkpatt

    Now I don't know what are you looking for. If you need to see the tables in database you can use system views for that, for example:

    SELECT * FROM INFORMATION_SCHEMA.TABLES

    If you alway know that table will begin with some string 'table', than you can make some filter from previous view and see what is the latest table that you need. But it will be better to use view.



  • toront

    oh ,i am just finding the system table.....

    thank you for reminding me:D



  • Stefan Kratzert

    You can't directly find out. But you can use views instead or stored procedures. So when the table is changed then the view or stored procedure should be changed also but result from them will be always the same.

  • how can i see the real table name??