SELECT OBJECT_NAME(c.OBJECT_ID) TableName ,c.name AS ColumnName ,SCHEMA_NAME(t.schema_id) AS SchemaName ,t.name AS TypeName ,c.max_length FROM sys.columns AS c JOIN sys.types AS t ON c.user_type_id=t.user_type_id ORDER BY c.OBJECT_ID;
ChaudharyTechBlog is a technology-focused blog dedicated to providing simple, practical, and easy-to-understand tech guides.
Here, you’ll find tutorials, blogging tips, SEO basics, and helpful resources designed to make technology accessible for everyone.
Our content is carefully researched and written to help you learn, grow, and make informed decisions in the digital world.