Ask a Question related to ASP Database, Design and Development.
-
ryanb006 #1
Statement Conversion Access -> mySQL
SQL = "DELETE FROM table WHERE ID IN (1, 9, 15, 20)"
The above statement is for deleting records in access using checkboxes on a
form (deletes records with ID 1, 9, 15, 20). How can I use the same
principle for mySQL?
--
[email]ryanbNOSPAM006@hotNOSPAMmail.com[/email]
(remove the NOSPAMs to reply by email)
ryanb006 Guest
-
Java: MySQL DATETIME conversion errors?
I do the following in my java application: Statement s = myConnection.createStatement(); ResultSet rs = s.executeQuery("SELECT startTime FROM... -
mysql charaters conversion
Dears, Is there any simple way to convert characters from national characters to 'flat' ascii characters without using cast or convert... -
MySQL to PostGres conversion
Hi, I'm porting some php code from mysql to postgres but I canąt find something equivalent to mysql_select_db(). I use this function to switch... -
Conversion problem from Access 97 to Access 2002
I have an old access 97 database and I tried to convert to Access 2002. After the conversion, some of the forms and all modules are not converted... -
Help needed for TimeStamp conversion between MySQL and PHP
On Sun, 06 Jul 2003 19:17:58 GMT, "Steven" <xueming@comcast.net> wrote: ... -
Mark Schupp #2
Re: Statement Conversion Access -> mySQL
Are you saying that mySQL does not support "IN" in SQL statements?
Have you checked the mySQL docs?
If IN is not supported then you will have to change the where clause to use
OR
where id=1 or id=9 or...
--
Mark Schupp
--
Head of Development
Integrity eLearning
Online Learning Solutions Provider
[email]mschupp@ielearning.com[/email]
[url]http://www.ielearning.com[/url]
714.637.9480 x17
"ryanb006" <ryanbNOSPAM006@hotNOSPAMmail.com> wrote in message
news:OkgjorWQDHA.2176@TK2MSFTNGP12.phx.gbl...a>
> SQL = "DELETE FROM table WHERE ID IN (1, 9, 15, 20)"
>
> The above statement is for deleting records in access using checkboxes on> form (deletes records with ID 1, 9, 15, 20). How can I use the same
> principle for mySQL?
>
> --
> [email]ryanbNOSPAM006@hotNOSPAMmail.com[/email]
> (remove the NOSPAMs to reply by email)
>
>
Mark Schupp Guest
-
ryanb006 #3
Re: Statement Conversion Access -> mySQL
I just tested it and it works. I thought maybe you had to do it a
little different than in Access; like Access does not support "...LIMIT
0, 30".
Mark Schupp wrote:> Are you saying that mySQL does not support "IN" in SQL statements?
> Have you checked the mySQL docs?
>
> If IN is not supported then you will have to change the where clause to use
> OR
>
> where id=1 or id=9 or...
>ryanb006 Guest



Reply With Quote

