Generation

text to sql syntaxTue, 17 Jan 2023

Найди все таблицы в базе данных и их поля, тип поля с case

select t.name, c.name, c.system_type_id, c.user_type_id from sys.tables t inner join sys.columns c on t.object_id = c.object_id

Questions about programming?Chat with your personal AI assistant