Search
 
SCRIPT & CODE EXAMPLE
 

SQL

sql server search column name in all tables

SELECT      COLUMN_NAME AS 'ColumnName'
            ,TABLE_NAME AS  'TableName'
FROM        INFORMATION_SCHEMA.COLUMNS
WHERE       COLUMN_NAME LIKE '%MyName%'
ORDER BY    TableName
            ,ColumnName;
Comment

PREVIOUS NEXT
Code Example
Sql :: rermove categories woocommerce sql 
Sql :: ms sql rename database 
Sql :: how to unlock table in mysql 
Sql :: convert varchar to int in sqlite 
Sql :: find names starting with vowels in sql 
Sql :: mssql current date 
Sql :: mysql remove last character 
Sql :: oracle sql log to console 
Sql :: get current month mysql 
Sql :: Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details. 
Sql :: find a column in all tables postgres 
Sql :: top 10 rows in mysql 
Sql :: sql select table header 
Sql :: sql count duplicate rows 
Sql :: mysql not supported auth mode 
Sql :: import database in phpmyadmin command line 
Sql :: sql exclude duplicates and find even id 
Sql :: install mysql powershell 
Sql :: add mysql to path 
Sql :: ifnull postgres 
Sql :: jooq convert using gbk 
Sql :: mysql return text after a final full stop 
Sql :: sql current timestamp 
Sql :: oracle get trigger ddl 
Sql :: role does not exist psql 
Sql :: delete all rows from table mysql 
Sql :: mqtt Error: Address not available 
Sql :: change name of colum in sql table 
Sql :: add column to table sql 
Sql :: select count from table mysql 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =