I keep getting an error when I try to add in a TOP 1
to my select statement. The SQL runs fine without the TOP 1
so it got me thinking that TOP
is not supported in WEB SQL but I can't find any documentation online.
Has anyone successfully used TOP
in their WEB SQL?
This Doesn't Work!
tx.executeSql('SELECT TOP 1 * FROM MyForms WHERE laganRef IS NOT NULL', [], trySend, errorHandler);
But This Works!
tx.executeSql('SELECT * FROM MyForms WHERE laganRef IS NOT NULL', [], trySend, errorHandler);
Any help would be much appreciated.
Steven