Sir I want to change data type in view. How to change? please give me the solution
You can easily use CAST or Convert to change the datatypes
ALTER view [dbo].[Products] AS SELECT CAST(Products.ProductId as VARCHAR(5)) [ProductId] FROM Products
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.