{"version":"1.0","type":"rich","title":"Gist 79872f318f741408f6c6a418c5104465","description":"This example demonstrates how to modify a SQL Server table schema by converting the `Status` column from a bit data type to an NVARCHAR(50) field with a default value of 'Pending'. It shows the process of dropping the existing default constraint, altering the column type, and then re-adding a new constraint. The code uses SQL Server T-SQL commands such as `ALTER TABLE`, `DROP CONSTRAINT`, and `ADD CONSTRAINT` to achieve the migration. The example is based on a gist by abonello and references the `Orders` table from a SalesDB database, highlighting the foreign key relationship with the `Customers` table.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-79872f318f741408f6c6a418c5104465?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}