Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DECLARE @Test TABLE (Fld1 Int NOT NULL DEFAULT 0, Fld2 Int)
INSERT INTO @Test (Fld2) VALUES (1)
SELECT * FROM @Test
DECLARE @Test TABLE (Fld1 Int NOT NULL DEFAULT 0, Fld2 Int)
INSERT INTO @Test (Fld1, Fld2) VALUES (DEFAULT, 1)
SELECT * FROM @Test
CREATE TABLE testing (Fld1 Int NOT NULL DEFAULT 0, Fld2 Int)
ALTER TABLE testing
ALTER COLUMN Fld1 Int NULL DEFAULT 0
the error code was :
Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword 'DEFAULT'.