anyone?
I have a large table with ~350k records for which I'm in the process of
standardising data. The fields I'm most interested in standardising are
albumartist, artist, performer and composer. I'm dealing with one at a
time and the logic for each is the same. I'll state in advance that I'm a
SQL
Thanks Keith
That's what I'd tried with my first attempt but naturally it didn't work.
Why is it that SQLite does not support a FROM clause in an update statement?
On Sat, Jan 16, 2016 at 10:07 AM, Keith Medcalf wrote:
>
> Of course, if there was a FROM clause for UPDATE it would be as simple
> Is it a typo in inner query or you ARE asking for a resource from target?
Apologies all, I'm fast asleep, it should've read:
UPDATE target
SET resource = (
SELECT s.resource FROM source s
WHERE ( s.ID = ID AND s.resource IS NOT NULL )
);
Apologies if I'm asking an obvious question, but I've searched and
tried various options and have not been able to arrive at an UPDATE
statement in SQLite that does what I need.
I've two tables with a unique identifier that enables me to link them.
I'm wanting to update the values of a particular
> What do you mean by "parse" ? Just to separate a string into its delimited
> substrings ? Since SQLite has no array or list variable-type there's no way
> to do that because there's no way to return the result. Can you not just
> return the value retrieved from the table and parse it in
I have a table of roughly 500k records with a number of fields
containing delimited text that needs to be parsed and written to
separate tables as a master lists. In order to do this I need to
parse the field contents, however, I don't see any functions within
SQLite to enable that. The number
I'm trying to get some consistency in the contents of a field in a
table. To do so involves multiple updates using REPLACE.
Is it acceptable to make multiple calls to replace involving the same
field in a single update operation, like so:
UPDATE audio SET
composer = REPLACE( composer, " / ",
8 matches
Mail list logo