osql to connect to a Database
From: Manzoorul Hassan (manzoorul.hassan_at_gmail.com)
Date: 01/06/05
- Next message: Gert E.R. Drapers: "Re: osql to connect to a Database"
- Previous message: getinked: "Re: NEED Query to Find out all Databases sizes"
- Next in thread: Gert E.R. Drapers: "Re: osql to connect to a Database"
- Reply: Gert E.R. Drapers: "Re: osql to connect to a Database"
- Reply: Yogish: "RE: osql to connect to a Database"
- Messages sorted by: [ date ] [ thread ]
Date: 6 Jan 2005 15:05:24 -0800
I am running MSDE 2000 Rel A on a Windows XP machine and am able to
connect to it by doing the following:
osql -U sa
or
osql -E
But how do I connect to a Particular Database or see all the tables
etc? I am a but familiar with sql (which could be the problem) and an
trying to do the following that I can with it:
sql user_name/database_name@password
so that I can connect directly to the DB I'm interested and then I can
do:
select tablenames;
desc table_name;
select * from table_name;
etc
Any ideas? Like I mentioned, maybe I'm trying to do things that is not
supposed to be possible with osql (which would really suck).
- manzoor
- Next message: Gert E.R. Drapers: "Re: osql to connect to a Database"
- Previous message: getinked: "Re: NEED Query to Find out all Databases sizes"
- Next in thread: Gert E.R. Drapers: "Re: osql to connect to a Database"
- Reply: Gert E.R. Drapers: "Re: osql to connect to a Database"
- Reply: Yogish: "RE: osql to connect to a Database"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|