Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我收到类似于此的错误:Unitils dataset - insert into sybase datetime column
我的情况是需要插入一个空的日期值。空字符串不做这件事。谁能帮我?
如果您将日期元素从行定义中删除,则不会在该字段中添加任何内容。因此,表定义为:
CREATE TABLE Table ( id INTEGER, name VARCHAR, birthDate DATE );
像这样创建一行:
<table id="3" name="Katie"/> <table id="4" name="Christie" birthDate="2001-04-22"/>
在 ID 3 中加载一个空日期。