Linked Questions
39 questions linked to/from How can I find all the tables in MySQL with specific column names in them?
37
votes
3
answers
44k
views
How do I search a MySQL database for a specific column name? [duplicate]
I'm trying to find if my database has a column named sort_method. I have had a look around the forums, but I don't seem to be able to find the right answer. My database has over 300 tables, so ...
18
votes
2
answers
41k
views
How to search a column name from a MySQL database? [duplicate]
I am running a huge database with so many tables and tables are having so many columns.
My DB is MySQL and I have to search for a particular column.
Is there a way available in MySQL to search a ...
-1
votes
1
answer
11k
views
How to select specific table in sql? [duplicate]
Possible Duplicate:
How to find all the tables in MySQL with specific column names in them?
I want to select tables from sql where the table has a column named "TimeStamp". How do I list all the ...
2
votes
1
answer
17k
views
Filter table with column name [duplicate]
I am working on a huge database. I want to find all the tables in all the database which contains columns name say "xyz" (cann't say actual column name). Is there any query or other way to solve the ...
1076
votes
24
answers
3.4m
views
How can I get column names from a table in SQL Server?
I want to query the name of all columns of a table. I found how to do this in:
Oracle
MySQL
PostgreSQL
But I also need to know: how can this be done in Microsoft SQL Server (2008 in my case)?
227
votes
28
answers
954k
views
How can I get column names from a table in Oracle?
I need to query the database to get the column names, not to be confused with data in the table. For example, if I have a table named EVENT_LOG that contains eventID, eventType, eventDesc, and ...
20
votes
4
answers
28k
views
Search database if column name/field name exists in a table in mySQL
Is there a way to search the database if a column name / field name exists in a table in mysql?
19
votes
3
answers
46k
views
How can I alter multiple tables at once in mysql?
I am trying to alter multiple tables and change the size of the username VARCHAR column to 999 as its current size is too small and now things are screwed up. How can I do this?
I have tried the ...
5
votes
2
answers
44k
views
How to find all the tables in database Teradata with specific column names in them?
I have 2-3 different column names that I want to look up in the entire DB and list out all tables which have those columns. Any easy query?
I have seen solution for MySQL, which won't work here ...
1
vote
6
answers
12k
views
Search and get tablename which has a given column name?
Can I write an sql query that can find the names of all tables in a database that have column name like %COL_FAX_ID%. If so, how?
Database used is oracle or db2.
2
votes
2
answers
12k
views
How to get columns' name from a table in sqlite3 database using python3?
I already have read some answers on this. But all of them are giving me the same error.
Here are the solutions I read:
Link 1
Link 2
import sqlite3 as sql
#connect to database
connection = sql....
5
votes
2
answers
4k
views
MySql select all tables with multiple specific columns
I want to get all table names which has 3 specific columns.
What I want is from information schema I want to get all table names which contains columnA AND columnB AND columnC.
Currently I am using ...
4
votes
3
answers
2k
views
How can I find all columns where the column name length is greater than 5?
I have a database named bbs, which have 37 tables. I want to find all columns in these tables where the column name length is greater than 5!
mysql> show tables;
+---------------------+
| ...
2
votes
1
answer
1k
views
mysql: SHOW TABLES - define column name
I am doing a mySQL 'SHOW TABLES' with a 'LIKE'. For example:
show TABLES like 'address_%'
... to return all tables that start with 'address_'. That works fine.
The table name that is returned has a ...
-1
votes
1
answer
2k
views
Update multiple database/tables on one server
I'm using Workbench, I'm not an expert at SQL but always open to learning.
My goal is to Update multiple tables at once and have the Replace happen on all found results.
Something like:
SELECT * ...