The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

xPLMediaNet sql stuff


  • Subject: xPLMediaNet sql stuff
  • From: "Tony Tofts" <tony@xxxxxxxxxx>
  • Date: Tue, 29 Mar 2005 16:30:15 +0100


Hi all,

A couple of sql issues:

Can anyone please confirm that (like ms access) both mssql and mysql are
happy with both:

Select * from music where artist like "blondie%"

And

Select * from music where artist like 'blondie%'

i.e. can use either " or ' to indicate a string?

Also, I want to do away with the trapping of ", [, ] into //0, //1,
//2 in
strings (working in vb with sql there are issues with using these
characters)

So I want to use " to denote strings (as per the issue above) and in
the
code when reading/storing the characters always convert " to ' (or
should
that be '') and [, ] to (, ).

This saves having to keep converting strings back, and means the databases
are readable by outside applications if required

Any thoughts/comments please?

Many thanks
Tony



xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe:  ukha_xpl-subscribe@xxxxxxx
To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx

xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.