data-dictionary

lower_case_table_names Settings in MySQL 8.0.12

跟風遠走 提交于 2019-12-01 07:15:27
问题 I've just compiled the version MySQL 8.0.12 in a Ubuntu 16.0.4. After following the instructions in the website and making the following my.cnf file: [mysqld] datadir=/usr/local/mysql/data socket=/tmp/mysql.sock port=3306 log-error=/usr/local/mysql/data/localhost.localdomain.err user=mysql secure_file_priv=/usr/local/mysql/mysql-files local_infile=OFF log_error = /var/log/mysql/error.log # Remove case sensitive in table names lower_case_table_names=1 I get the following error: 2018-08-11T19

How can you tell which columns are unused in ALL_TAB_COLS?

别来无恙 提交于 2019-12-01 06:44:39
问题 When you query the ALL_TAB_COLS view on Oracle 9i, it lists columns marked as UNUSED as well as the 'active' table columns. There doesn't seem to be a field that explicitly says whether a column is UNUSED, or any view I can join to that lists the unused columns in a table. How can I easily find out which are the unused columns, so I can filter them out of ALL_TAB_COLS? 回答1: Try using ALL_TAB_COLUMNS instead of ALL_TAB_COLS. In Oracle 11.2 I find that unused columns appear in ALL_TAB_COLS

Text segmentation: dictionary-based word splitting [closed]

点点圈 提交于 2019-11-30 07:31:54
Background Split database column names into equivalent English text to seed a data dictionary. The English dictionary is created from a corpus of corporate documents, wikis, and email. The dictionary ( lexicon.csv ) is a CSV file with words and probabilities. Thus, the more often someone writes the word "therapist" (in email or on a wiki page) the higher the chance of "therapistname" splits to "therapist name" as opposed to something else. (The lexicon probably won't even include the word rapist.) Source Code TextSegmenter.java @ http://pastebin.com/taXyE03L SortableValueMap.java @ http:/

Text segmentation: dictionary-based word splitting [closed]

匆匆过客 提交于 2019-11-29 10:06:10
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . Background Split database column names into equivalent English text to seed a data dictionary. The English dictionary is created from a corpus of corporate documents, wikis, and email. The dictionary ( lexicon.csv ) is a CSV file with words and probabilities. Thus, the more often

Query columns names from a table from another user

安稳与你 提交于 2019-11-28 13:41:52
Sounds pretty easy query the column names from a table, right? Indeed there is a answer to this question How can I get column names from a table in Oracle? The main issue is that the table belongs to another user. My user is just for integration and I don't have any database privileges. So I'm able to do some query like: SELECT * FROM anotherUser.THE_TABLE; But something like SELECT * FROM USER_TAB_COLUMNS return no rows. Perhaps I can create queries over all_tab_columns, Are there another faster options without procedures? *It´s a oracle database! SELECT * FROM ALL_TAB_COLUMNS WHERE OWNER=

How to get list of all the procedure inside a package oracle

放肆的年华 提交于 2019-11-27 17:15:43
问题 Can I get the name of all the function inside a package. Suppose I have a package PKG_OWA and I want to list all the procedure inside the package. 回答1: The data dictionary view ALL_PROCEDURES (or USER_PROCEDURES if you just want your packages). Find out more. select procedure_name from all_procedures where owner = 'YOU' and object_name = 'YOUR_PACKAGE' This lists the public procedures exposed in the package specification. There is no easy way of retrieving the private procedures (that is,

Query columns names from a table from another user

不羁岁月 提交于 2019-11-27 07:48:32
问题 Sounds pretty easy query the column names from a table, right? Indeed there is a answer to this question How can I get column names from a table in Oracle? The main issue is that the table belongs to another user. My user is just for integration and I don't have any database privileges. So I'm able to do some query like: SELECT * FROM anotherUser.THE_TABLE; But something like SELECT * FROM USER_TAB_COLUMNS return no rows. Perhaps I can create queries over all_tab_columns, Are there another

How can I describe a table in Oracle without using the DESCRIBE command?

∥☆過路亽.° 提交于 2019-11-26 09:44:27
问题 I\'m having a hard time with a class I am taking. We need to write an Oracle script that will act just like the DESCRIBE command. The book we are using describes how to work with the Data Dictionary very poorly. Not looking for answers, but a point in the correct direction. 回答1: You're looking for USER_TAB_COLUMNS - all the columns, and their descriptions in the schema the query is executed in - or ALL_TAB_COLUMNS - the same except for all tables that user has permission to view. A typical