-
-
Save anonymous/706744ac9540c7527f39c54aa2ad7daf to your computer and use it in GitHub Desktop.
Bir veri tabanı tablosundaki tüm kolon adlarını listeleyen sorgu.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- SQL: Tablodaki Kolon Adlarını Sorgu ile Çekmek | |
select COLUMN_NAME as [Kolon Adı] from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'Sehir' and TABLE_SCHEMA = 'Adres' | |
-- Bu sorgu ile veri tabanında yer alan tüm tabloların tüm kolonlarına ulaşılabilir. | |
-- Aşağıdaki sorgu ile başka hangi bilgilerin ulaşılabilir olduğunu gözlemleyebilirsiniz. | |
select * from INFORMATION_SCHEMA.COLUMNS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment