بتاريخ: 30 يونيو 201312 سنة comment_238097 اسلام عليكم ورحمة الله وبراكاته اريد ان اعرف كم عدد الجداول واسمائها في مشروع الكلية مع حقولها ان امكن والشكر الجزيل لكم.............. تقديم بلاغ
بتاريخ: 30 يونيو 201312 سنة comment_238101 و عليكم السلام و رحمة الله و بركاته Query to get names of different tables in Schema SELECT OBJECT_NAMEFROM ALL_OBJECTSWHERE OBJECT_TYPE = 'TABLE' AND OWNER ='your_schema' you can replace TABLE word by other objects --> VIEW , FUNCTION , PROCEDURE Also you can use tables like user_tables , user_views , and so on to get your tables , views Select TABLE_NAME from user_tables But the 1st query is more generic because it contain all objects in one query ----------------------------------------------- Query to get the columns of the table SELECT TABLE_NAME , column_name , COLUMN_IDFROM USER_tab_colsWHERE table_name = 'your_table' you can replace your_table by a sub query from table ALL_OBJECTS to get the columns of all tables بالتوفيق تم تعديل 30 يونيو 201312 سنة بواسطة AElsaber تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.