Project

General

Profile

Actions

Bug #66686

closed

The data types text and varchar are incompatible in the equal to operator

Added by Xavier Perseguers over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2015-04-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

This query fails with MSSQL:

SELECT COUNT(uid) FROM sys_file WHERE storage = 1 AND identifier = '/_migrated/content_upload/whatever.jpg'

Solution is to use identifier LIKE '/_migrated/...' instead.

Actions

Also available in: Atom PDF