Using VS2005 query designer - connector v. 4.0, in a DataSource object I try this query:
SELECT * FROM table_name
WHERE (REPLACE(FieldName, 'aa', 'b') = 'bb' )
The designer transforms it in
SELECT * FROM table_name
WHERE (`REPLACE`(FieldName, 'aa', 'b') = 'bb' )
and when I execute, I get an error '...FUNCTION database_name.REPLACE does not exist'
Any suggestion?
REPLACE FUNCTION not working with VS2005
Please refer to http://www.devart.com/forums/viewtopic.php?p=31415 . REPLACE, LIMIT and other keywords that are not supported in MS SQL Server cannot be used for other databases through Query Builder. This is a limitation of Query Builder.
-
- Posts: 2
- Joined: Mon 02 Mar 2009 17:36