information-schema
Poor performance of INFORMATION_SCHEMA.key_column_usage in MySQL
I\'m running version 5.5.11 of MySQL and the performance when querying the INFORMATION_SCHEMA.key_column_usage table is really bad.[详细]
2023-04-01 08:20 分类:问答Determine InnoDB FK Constraints without information_schema
I\'m writing some code to inspect a MySQL database structure, and need information about Foreign K开发者_StackOverflowey constraints (on InnoDB tables).[详细]
2023-03-28 22:34 分类:问答Information schema and Primary Keys
How do I just print out a \'primary key\' for the column with the primary key? I get \'primary key\' for all the columns if the table has a primary key, instead of the one column with the primary ke[详细]
2023-03-15 14:42 分类:问答LinqToSQL definition for INFORMATION_SCHEMA.ROUTINES
I\'ve been able to successfully create definitions for Tables and Views.I\'m trying to finish a Class definition for Routines.I\'ve compared my property definitions to the information at MSDN and it l[详细]
2023-03-12 06:47 分类:问答Explanation on INFORMATION_SCHEMA.RIGHTS
What is the purpose of this table? From it\'s name, could we assume that it lists all rights assigned to each user?[详细]
2023-03-09 05:59 分类:问答Invalid object name 'information_schema.columns' in SQL Server
The following query used to 开发者_C百科work: select * from information_schema.columns where column_name like ...[详细]
2023-03-06 03:14 分类:问答Show only user created tables in MySQL?
Is there a SQL command by which I can display only the tables created by users and excluding those present by defau开发者_运维百科lt in the MySQL database?This about wraps it up:[详细]
2023-03-05 10:41 分类:问答Find a specific column entry in an unknown table in a database?
I\'m aware of this topic ( Find a specific column in an unknown table in a database? ) and my problem is quite similar. The query 开发者_StackOverflow中文版I need is quite similar to this one (I think[详细]
2023-03-01 20:32 分类:问答SQL - INFORMATION_SCHEMA for All Databases On Server
INFORMATION_SCHEMA.TABLES or INFORMATI开发者_Python百科ON_SCHEMA.COLUMNS work for only specified databases.[详细]
2023-02-28 22:13 分类:问答MySQL query to show difference between development and production schema
I would like to have a query using the schema database in MySQL that shows the difference between the columns, triggers and stored procedures between two database schema\'s: production and developmen[详细]
2023-02-25 09:01 分类:问答