[personal profile] gwywnnydd
What's the SQL syntax for the query :
Select Table_Name where (contains column_name)

:|
This would make my job easier today.

Date: 2009-06-03 07:11 pm (UTC)
From: [identity profile] burgunder.livejournal.com
I don't have SQL in front of me, but I believe there are indeed meta tables that contain the info you're looking for (I've used Postgres, Oracle and MySQL, so I think it's available in those? It's been a loooong time...). Good luck!

Date: 2009-06-03 11:28 pm (UTC)
From: [identity profile] sistawendy.livejournal.com
I know Microsoft SQL Server has metadata for this sort of thing, but I don't know exactly how to query it.

Date: 2009-06-04 05:07 am (UTC)
From: [identity profile] kaneda-khan.livejournal.com
select table_schema, table_name
from information_schema.columns
where column_name = 'whatever';

Date: 2009-06-05 04:20 pm (UTC)
From: [identity profile] kaneda-khan.livejournal.com
<han-solo>I know.</han-solo>

Profile

gwywnnydd

January 2023

S M T W T F S
1234567
891011121314
1516171819 2021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 27th, 2026 07:52 am
Powered by Dreamwidth Studios