clear markdown compare help best fiddles feedback dbanow.uk a leap of faith?
clear markdown donate comments/suggestions/bugs a leap of faith? bible365 diddy dollings
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0. 1130684 fiddles created (16593 in the last week).

CREATE TABLE dbo.Something ( Id bigint, OtherId bigint, CONSTRAINT PK_Something PRIMARY KEY (Id) );
 hidden batch(es)


SELECT [name], is_nullable FROM sys.columns c WHERE c.[object_id] = OBJECT_ID('dbo.Something');
name is_nullable
Id False
OtherId True
 hidden batch(es)


ALTER TABLE dbo.Something DROP CONSTRAINT PK_Something;
 hidden batch(es)


SELECT [name], is_nullable FROM sys.columns c WHERE c.[object_id] = OBJECT_ID('dbo.Something');
name is_nullable
Id False
OtherId True
 hidden batch(es)