Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

osql.exe

0 views
Skip to first unread message

John A Grandy

unread,
Sep 3, 2003, 5:41:26 PM9/3/03
to
apparently the recommended method to use the OSQL utility is not by running
osql.exe ....


Andrew J. Kelly

unread,
Sep 3, 2003, 8:09:53 PM9/3/03
to
John,

Is there a question that you want to ask rather than a statement?<g> If
your asking how do you use oSql then I would suggest taking a look in
BooksOnLine under oSql. There is a fair amount of info on this and if it
doesn't answer your "question" then please rephrase it with a little more
detail.

--

Andrew J. Kelly
SQL Server MVP


"John A Grandy" <johna...@yahoo.com> wrote in message
news:%23qLBiQm...@TK2MSFTNGP10.phx.gbl...

Kalen Delaney

unread,
Sep 3, 2003, 9:01:36 PM9/3/03
to

If you just doubleclick on osql.exe in Explorer, it won't have all the right
parameters to connect, so it will just produce an error and exit.

Open a command window.
Type osql /U<login name> /S<server name>

or follow examples in the Books Online

--
HTH
----------------
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com


"John A Grandy" <johna...@yahoo.com> wrote in message

news:#qLBiQmc...@TK2MSFTNGP10.phx.gbl...

John A Grandy

unread,
Sep 3, 2003, 9:56:39 PM9/3/03
to
Oh, hi! How's it going? I'm reading your book. Only a couple chapters in
.... but very interesting stuff. Much better than most programming/systems
books out there .... reminds me of my theory texts in engineering school.

"Kalen Delaney" <replies@public_newsgroups.com> wrote in message
news:exxNdAoc...@TK2MSFTNGP11.phx.gbl...

Kalen Delaney

unread,
Sep 3, 2003, 11:23:50 PM9/3/03
to
Thanks!
But, did this help you with your osql issues?

--
HTH
----------------
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com


"John A Grandy" <johna...@yahoo.com> wrote in message

news:OfBO9eoc...@TK2MSFTNGP12.phx.gbl...

psu...@eatel.net.nospam

unread,
Sep 11, 2003, 11:09:52 AM9/11/03
to

If the environment has the path you should be able to run
osql from any console window. But I tried installing the
old Win95 utility, Command Promp from Here, from Win95
Powertoys, I think, and it works (in W2k)! Now I can
rightclick on the data folder and get an instand command
console window in a non-pathed folder.

>.
>

0 new messages