I am evaluating in the moment dbForge for SQL server.
In my databases I have columns with a user id and a datetime2 value as timestamp. The table creation source looks like
Code: Select all
CREATE TABLE [Spiel-DB].dbo.tblTest1(
id INT IDENTITY,
[user] INT NOT NULL DEFAULT (suser_id()),
stamp DATETIME2(0) NOT NULL DEFAULT (sysdatetime()),
CONSTRAINT PK_tblTest1 PRIMARY KEY (id)
) ON [PRIMARY]In dbForge I cannot enter data in these tables, because the given default value or function is not taken into account, the fields are staying null, and null cannot be entered.
Is there any way how to enter datas in this kind of tables?
Regards,
firebird_hunter