Re: Sql Query
From: Barney (anonymous_at_discussions.microsoft.com)
Date: 08/20/04
- Next message: Jerold Schulman: "Re: Admin password win2000"
- Previous message: Valentin: "Admin password win2000"
- In reply to: Ray at <%=sLocation%> [MVP]: "Re: Sql Query"
- Next in thread: Ray at <%=sLocation%> [MVP]: "Re: Sql Query"
- Reply: Ray at <%=sLocation%> [MVP]: "Re: Sql Query"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 20 Aug 2004 05:03:40 -0700
We dont have an SQL server - we have an AS400 running
DB2. Where can I download osql.exe?
>-----Original Message-----
>Use osql.exe in your batch, which you should have from
any SQL Server
>installation, including the "client tools only" install.
>
>osql -?
>
>usage: osql [-U login id] [-P
password]
> [-S server] [-H hostname] [-E
trusted connection]
> [-d use database name] [-l login timeout] [-t
query timeout]
> [-h headers] [-s colseparator] [-w
columnwidth]
> [-a packetsize] [-e echo input] [-I
Enable Quoted
>Identifiers]
> [-L list servers] [-c cmdend] [-D ODBC
DSN name]
> [-q "cmdline query"] [-Q "cmdline query" and exit]
> [-n remove numbering] [-m errorlevel]
> [-r msgs to stderr] [-V severitylevel]
> [-i inputfile] [-o outputfile]
> [-p print statistics] [-b On error batch abort]
> [-O use Old ISQL behavior disables the following]
> <EOF> batch processing
> Auto console width scaling
> Wide messages
> default errorlevel is -1 vs 1
> [-? show syntax summary]
>
>Ray at work
>
>"Patrick Bonneau" <anonymous@discussions.microsoft.com>
wrote in message
>news:84b001c48525$712aefe0$a401280a@phx.gbl...
>> Is there away to make a sql query with a batch file?
>>
>> If so, what is the utility for doing this?
>>
>
>
>.
>
- Next message: Jerold Schulman: "Re: Admin password win2000"
- Previous message: Valentin: "Admin password win2000"
- In reply to: Ray at <%=sLocation%> [MVP]: "Re: Sql Query"
- Next in thread: Ray at <%=sLocation%> [MVP]: "Re: Sql Query"
- Reply: Ray at <%=sLocation%> [MVP]: "Re: Sql Query"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|