Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

SQLite error #3115 in Flex/Air App: with (')

$
0
0

Hi,

 

I am trying to do a simple SQLite query from inside and Air application:

 

 

var sqls:SQLStatement = new SQLStatement();

sqls.sqlConnection = sqlc;

sqls.text = "UPDATE videos SET thumb = 'ram's' where id = 2";

sqls.execute();

 

I need to add ' same as ram's

 

Error:

SQLError: 'Error #3115: SQL Error.', details:'near 's': syntax error', operation:'execute', detailID:'2003'

 

I'm using "addslashes()" but not working

 

Not sure why it does not work. Please help me.

 

Thanks,

Dhaval


Viewing all articles
Browse latest Browse all 21156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>