Re: Escape character weirdness



Hi;

Just tried it - didn't work (good idea though).

thanks - dave


On Tue, 11 Apr 2006 08:18:30 -0700, Joe Weinstein <joeNOSPAM@xxxxxxx>
wrote:



David Thielen wrote:

Hi;

This works:
SELECT * FROM demo WHERE (name LIKE 'Da[%]ve')

This dies not:
SELECT * FROM demo WHERE (name LIKE 'Da\%ve') - it returns no rows

Did you try:
SELECT * FROM demo WHERE (name LIKE 'Da\\%ve')


Yet DatabaseMetaData.getSearchStringEscape(); returns "\\".

Any ideas as to what is going on?

Sql Server 2000 and latest JDBC driver.

thanks - dave



david@at-at-at@windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com


david@at-at-at@windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com
.



Relevant Pages

  • Re: Escape character weirdness
    ... This dies not: ... Sql Server 2000 and latest JDBC driver. ... Windward Reports -- http://www.WindwardReports.com ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Escape character weirdness
    ... This dies not: ... Sql Server 2000 and latest JDBC driver. ... Windward Reports -- http://www.WindwardReports.com ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: Sql Server Express wont let me connect
    ... In your original post you mentioned that SQL Server Express 2005 would be ... If you point the connection to BELLE\SQLEXPRESS, ... Express bootstrapper as part of the install. ... Windward Reports -- http://www.WindwardReports.com ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Sql Server Express wont let me connect
    ... If you point the connection to BELLE\SQLEXPRESS, ... Our program installs Sql Server Express 2005 using the Sql Server ... Express bootstrapper as part of the install. ... Windward Reports -- http://www.WindwardReports.com ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Sql Server Express wont let me connect
    ... not a remote connection. ... Our program installs Sql Server Express 2005 using the Sql Server ... Express bootstrapper as part of the install. ... Windward Reports -- http://www.WindwardReports.com ...
    (microsoft.public.dotnet.framework.adonet)