数据库中 sql2000 有个image 字段 数据类型 为 image
我在java 中用什么类型存储 插入 或查找
------解决方案--------------------
LZ自己对照吧:
SQL Server 2000 Data Types SQL Server Data Type JDBC Data Type
bigint BIGINT
bigint identity BIGINT
binary BINARY
bit BIT
char CHAR
datetime TIMESTAMP
decimal DECIMAL
decimal() identity DECIMAL
float FLOAT
image LONGVARBINARY
int INTEGER
int identity INTEGER
money DECIMAL
nchar CHAR
ntext LONGVARCHAR
numeric NUMERIC
numeric() identity NUMERIC
nvarchar VARCHAR
real REAL
smalldatetime TIMESTAMP
smallint SMALLINT
smallint identity SMALLINT
smallmoney DECIMAL
sql_variant VARCHAR
sysname VARCHAR
text LONGVARCHAR
timestamp BINARY
tinyint TINYINT
tinyint identity TINYINT
uniqueidentifier CHAR
varbinary VARBINARY
varchar VARCHAR