I took a quick look at the data provider for the module.
If you are brave enough to do things in SQL, it's often better to look for appropriate stored procedures ...
Now, I looked briefly, so this isn't an definitive answer, but it's a place to start. There is this store procedure created by the Links module:
CREATE PROCEDURE {databaseOwner}{objectQualifier}dnnLinks_AddLink
@ModuleId int,
@UserId int,
@CreatedDate datetime,
@Title nvarchar(100),
@Url nvarchar(250),
@ViewOrder int,
@Description nvarchar(2000),
@RefreshInterval int,
@GrantRoles nvarchar(500)
That seems to correspond to the screen shot of the Add Link part of the module, so you probably should be able to use it.