由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Access 'memo' data type
相关主题
One question on SQL ServerUNIDATA怎么连接进asp.net c#? (转载)
Use Access Link table to use SQL server tables.help about SQL for ACCESS
Re: Use Access Link table to h use SQL server tables.how to get the result in the middle of resultset?
Is there anyone familiar with data warehouse?Re: Is there any easy way to truncate the LDF file of SQL SERVER?
SQL Server 和Access到底有多大区别Re: [转载] JDBC用完了oracle的large pool (memor
求教高手:odbc更新数据出错error of access IBM Netteza database from C# in Visual Stud (转载)
数据库问题一问Truncation error import csv file to SQL table
问个SQL的问题java database access problem!!!
相关话题的讨论汇总
话题: access话题: sql话题: memo话题: length话题: string
进入Database版参与讨论
1 (共1页)
l*********l
发帖数: 1
1
Tricky question. There is a table in access 2000 which has a column with type
memo. The long (>255) length string is stored in that column. If I write a sql
in access to retrieve it, the length of the string returned is correct. The
insteresting thing is that when I write the sql in java application and
retrieve it through ODBC, the length of the string returned will be truncated
to 255 no matter how long it was.
My code is like:
...
Statement stmt = con.createStatement();
ResultSet rs = stmt.ex
g***o
发帖数: 297
2
I got exactly the same problem when i was doing a project with Access as
backend and ASP as frontend. the tricky topics here is
1). Donot include DISTINCT keyword in your SQL statement, otherwise, an error
will be thrown.
2). Try to address MEMO field as the last column in your SQL statement.
or
3) Seperate your SQL statement into two. For example,
select other_field1, other_field2 from **** ; and select memo_field from ****
;
instead of select * from ****;

type
sql
truncated

【在 l*********l 的大作中提到】
: Tricky question. There is a table in access 2000 which has a column with type
: memo. The long (>255) length string is stored in that column. If I write a sql
: in access to retrieve it, the length of the string returned is correct. The
: insteresting thing is that when I write the sql in java application and
: retrieve it through ODBC, the length of the string returned will be truncated
: to 255 no matter how long it was.
: My code is like:
: ...
: Statement stmt = con.createStatement();
: ResultSet rs = stmt.ex

1 (共1页)
进入Database版参与讨论
相关主题
java database access problem!!!SQL Server 和Access到底有多大区别
What are two methods of retrieving SQL?求教高手:odbc更新数据出错
Help for VB 6 and MS Access DB数据库问题一问
用Servlet显示数据库里的数据,分页的? (很实际的问题)问个SQL的问题
One question on SQL ServerUNIDATA怎么连接进asp.net c#? (转载)
Use Access Link table to use SQL server tables.help about SQL for ACCESS
Re: Use Access Link table to h use SQL server tables.how to get the result in the middle of resultset?
Is there anyone familiar with data warehouse?Re: Is there any easy way to truncate the LDF file of SQL SERVER?
相关话题的讨论汇总
话题: access话题: sql话题: memo话题: length话题: string