SQL find table by column name

Discussion in 'Software' started by Mada_Milty, Dec 12, 2005.

  1. Mada_Milty

    Mada_Milty MajorGeek

    Good morning all,

    I have a databse that I need to find a table in. I am using SQLTalk to query the database. I have a column name that exists in this table. I was hoping someone could help me with a command that will give the table name by searching for the column. Any help is appreciated!
     
  2. Publius

    Publius Sergeant

    Is it an enormous DB?

    Do you have any idea what table the column would be found in? You could use:
    show tables;
    to see all tables and then:
    describe (each individual table name);
    to see all columns. If this isn't too expansive, you can copy all and paste to notepad or word and do a find for your column name.

    Hope this was of some help.
     
  3. Mada_Milty

    Mada_Milty MajorGeek

    Yeah dude. Its HUGE. I've tried the method you've described, but for some reason it doesn't like the show tables command. Go figure. It says:

    show tables
    ^
    Error: 05034 TLK ISH Invalid show command

    This is a SQLBase DB, for the record.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds