gpt4 book ai didi

ms-access - 如何在 MS Access 中指定 blob 类型?

转载 作者:行者123 更新时间:2023-12-02 00:39:46 26 4
gpt4 key购买 nike

如何在 MS Access 中指定 blob 类型?我安装了Office 2007。

我正在使用 jdbc,但这对于我传递的 SQL 查询应该无关紧要。试图将长度或 FILE 类型传递给它,但没有帮助。

CREATE TABLE  mytable  (  [integer] INTEGER not null,  [string] VARCHAR (255),  [datetime] DATETIME,  [boolean] BIT,  [char] CHAR,  [short] SHORT,  [double] DOUBLE,  [float] FLOAT,  [long] LONG,  [blob] BLOB, // does not work  Primary Key ([integer]))

最佳答案

在 DDL 语句中使用 LONGBINARY 作为 blob 字段的数据类型。参见 Field type reference - names and values for DDL, DAO, and ADOX

关于ms-access - 如何在 MS Access 中指定 blob 类型?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3002026/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com