tags:

views:

375

answers:

2

Hello,

I am trying prepare a table before exporting to CSV however the Sqlite administrator software I am using is reporting invalid syntax. Anybody see whats gone wrong?

UPDATE 'tblTags'
SET 'tagUsageCount' =
(SELECT COUNT(*) FROM 'tblTagLinks'
WHERE 'tblTagLinks'.'TLTagId' = 'tblTags'.'tagId')
A: 

SQLiteSpy doesn't report a syntax error.
Can you try to un-stringify the names? ie 'tblTags' --> tblTags

Nick D
+1  A: 

There is no semicolon ; at the end. Otherwise the syntax is valid.

laalto
Thank you, I thought I had tried that but clearly I missed it
Phil Hannent