select queries

anixyz
Posts: 62
Joined: Fri Jul 20, 2001 11:43 am

select queries

Post by anixyz »

Hi.,

I am trying to execute some select queries.
our database is at ...\webinator\db\www>
I am giving the commands from ...\webinator\bin>
for example when I give > gw -st "select Url from html"
it says "database not specified."
How to give the database path to the gw.

thanks
User avatar
Kai
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

select queries

Post by Kai »

The same way it was specified when you walked the site: with the -d option. Since you're in bin already, you can give a relative path:

gw -d..\db\www -st "select Url from html"

Note there is no space between "d" and the path.
anixyz
Posts: 62
Joined: Fri Jul 20, 2001 11:43 am

select queries

Post by anixyz »

Thanks !! that worked.