Jun 27, 2017
SQLite: Loop simplified
As I was discussing this last tip using a simile loop in SQLite to populate data entry http://blogmymix.blogspot.com/2017/06/sqlite-using-table-to-loop.html
A comment was made that the tRange table was not absolutely necessary
as the following command would suffice:
insert into tTarget(i) select ('My test without tRange: ' || tIndex.id) from tIndex where tIndex.id <=10000 ;
or with proper formatting
insert into tTarget(i)
select ('My test without tRange: ' || tIndex.id)
from tIndex where tIndex.id <=10000 ;
A comment was made that the tRange table was not absolutely necessary
as the following command would suffice:
insert into tTarget(i) select ('My test without tRange: ' || tIndex.id) from tIndex where tIndex.id <=10000 ;
or with proper formatting
insert into tTarget(i)
select ('My test without tRange: ' || tIndex.id)
from tIndex where tIndex.id <=10000 ;
Subscribe to:
Post Comments (Atom)
Popular Posts
-
What is it lately, this unexplainable need to change everything that works ? What about this idiom " if it ain't broke, don't ...
-
Hannah Wagner (better known by her stage name Miss Hannah Minx; born Oct. 1990) is an American vlogger known on Youtube for her Kawaii ...
-
After I gave a shot at ArtRage2 bundled with the Wacom tablet, I took the other cd that was in the box - and installed .... Photoshop Eleme...
No comments:
Post a Comment