0

I am trying to find Show Columns like and referring to this : sql show columns

But something wrong with Syntax:

SHOW COLUMNS  LIKE '%ACCOUNT_ID%'   IN { ACCOUNT | [ DATABASE ] "CLIENT_DB" | [ SCHEMA ] "ACCOUNTS" }
Alapan Das
  • 17,144
  • 3
  • 29
  • 52
Steve Logue
  • 45
  • 2
  • 7

1 Answers1

0

Try something like the statements below:

SHOW COLUMNS LIKE '%ACCOUNT_ID%' IN DATABASE CLIENT_DB;

SHOW COLUMNS LIKE  '%ACCOUNT_ID%' IN SCHEMA CLIENT_DB.ACCOUNTS;
Dale K
  • 25,246
  • 15
  • 42
  • 71
Mike Gohl
  • 627
  • 4
  • 7