Mailing List
Home
MySQL General - General MySQL discussion
MaxDB - Everything about MaxDB, formerly known as SAP DB
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL++ - Programming with the C++ API to MySQL
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
LONG field in WHERE clause

LONG field in WHERE clause

2004-03-12       - By Bruno Arliguy

 Back
Reply:     1     2     3     4     5  

Hi list. It 's my fisrt message, happy to use MaxDB :)

Could you tell me if there is a way to use a LONG field in a WHERE clause?

For exemple, a table like this :
CREATE TABLE SYS_CODE
(
CREATED TIMESTAMP,
UPDATED TIMESTAMP,
PKREF INTEGER NOT NULL,
CODE_CONTENT LONG UNICODE
)

I would like to use the CODE_CONTENT field in a WHERE clause (mainly to
find a text). If I try this, I get an error message "General error;-7032
POS(32) SQL statement not allowed for column of data type LONG. "

Or do you know an other way to store text field (up to 10000 char) and
search on it?

Thanks.

--
Bruno







--
Ce message Envoi est certifie sans virus connu.
Analyse effectuee par Anti-virus AVG (http://www.grisoft.com).
Version: 7.0.225 / Base de donnees virus: 262.2.0 - Date: 04/03/2004





--
Ce message Envoi est certifie sans virus connu.
Analyse effectuee par Anti-virus AVG (http://www.grisoft.com).
Version: 7.0.225 / Base de donnees virus: 262.4.3 - Date: 11/03/2004


--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/maxdb?unsub=mysql@(protected)