Queries to shopsite_db Copy Returns Empty Resultsets

General ShopSite user discussion

Queries to shopsite_db Copy Returns Empty Resultsets

Postby OldSalt » Wed Dec 18, 2013 3:47 pm

Hello,

I am debugging an issue with duplicate orders and tried to query a copy of shopsite_db.

Here's the results:
-sh-3.00$ sqlite3 ./shopsite_db
SQLite version 3.4.1
Enter ".help" for instructions
sqlite> .mode line
sqlite> select * from ss_Order where ss_Name='anita samuel';
sqlite> select * from ss_Order where ss_OrderNum='3131';
sqlite> select * from ss_Order where ss_OrderID='3131';
sqlite> select * from Purchase where ShipGivenName='anita' and ShipFamilyName='samuel';
sqlite> select * from Purchase where OrderNum='3131';
sqlite> select * from Purchase where PurchaseID='3131';
sqlite> select OrderDate from Purchase limit 5;
sqlite> select ss_Date from ss_Order limit 5;
sqlite> select * from ss_Order;
sqlite> select * from Purchase;
sqlite> .q
-sh-3.00$ ls -l shopsite_db
-rwxr-xr-x 1 waterwor waterwor 124928 Dec 18 13:23 shopsite_db

Any idea why this is happening?

Thanks!
OldSalt
 
Posts: 23
Joined: Mon Sep 28, 2009 4:37 pm
Location: MA

Re: Queries to shopsite_db Copy Returns Empty Resultsets

Postby loren_d_c » Thu Feb 13, 2014 2:26 pm

Direct access to the shopsite_db file isn't recommended or supported, but that being said, it's possibleyou may have some problem with your sqlite3 command shell. It says it's version 3.4.1, which is fairly old, so maybe try upgrading it?

-Loren
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum

Who is online

Users browsing this forum: No registered users and 68 guests