Mohit, sqlite> .separator / sqlite> create virtual table virfts4 using fts4 (residence); sqlite> insert into virfts4 select * from source sqlite> select count(*) from virfts4 where residence match '/*'; -- result is 0.
Please correct it. I think, i am doing something wrong. Note: there is no spelling mistakes. all sql stmts compiled. but dint get result. result should be greater than 0. it has 4 records. Thanks in advance. On Tue, Dec 27, 2011 at 7:40 PM, Mohit Sindhwani <m...@onghu.com> wrote: > On 27/12/2011 9:25 PM, Eduardo Morras wrote: > >> At 11:27 27/12/2011, you wrote: >> >>> Thank you. I agree. It's correct. >>> >>> I already have data base with /country/state/city/village format. Is it >>> possible to do that while virtual table creation time? >>> >>> if yes, how? >>> >> >> Change '/' to ','. This way you get a csv file which you can import >> directly. Perhaps you need to add a line with the table column description. >> >> > or at the SQLite3 shell do > sqlite>separator / > before doing a .import > > no? > > Cheers, > Mohit. > 27/12/2011 | 10:10 PM. > > > ______________________________**_________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-**bin/mailman/listinfo/sqlite-**users<http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users> > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users