November 29th, 2012, 05:32 PM
|
#3 (permalink)
|
|
Senior Member
Join Date: Jul 2010
Gender: Male
Posts: 1,925
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT
Thanks: 235
Thanked 462 Times in 285 Posts
|
Quote:
Originally Posted by mills2533
Isn't that the same as:
DELETE FROM tbl1 WHERE cat=21
|
Yes, this query is the same and also much cleaner than the OP's query.
As for why it is not working on the device, but does on the emulator, it's hard to tell with the given information. Do you receive an exception? An SQL Error code? Both?
__________________
My blog, Inverted Keystrokes, is looking for aspiring developers (not necessarily with Android) to post articles. If you have any development experience and are interested in participating, please PM me. =)
|
|
|