Transact-SQL (TSQL) features control-of-flow language, local variables with various support functions for string processing, date processing, mathematics, etc. Here you will find the TSQL tips, tweaks to improve the code to attain the performance.
SELECT SCHEMA_NAME(itab.schema_id) AS schema_name ,itab.name AS internal_table_name ,typ.name AS column_data_type