INF: ISQL or OSQL Lines That Have Already Been Typed in Can Be Edited
ID: Q67623
|
The information in this article applies to:
-
Microsoft SQL Server versions 4.2x, 6.0, 6.5, 7.0
You can edit ISQL or OSQL lines once you have typed them in by following the
instructions below:
- You must have a "SET EDITOR=<path>\<editor name>" line in your
OS/2 CONFIG.SYS or MS-DOS AUTOEXEC.BAT file. For example:
SET EDITOR=C:\BIN\M.EXE
- Type "ed" at any line number prompt.
This allows you to edit all of your ISQL or OSQL lines, back to the last
GO. Lines prior to the last GO are, of course, inaccessible for
editing.
You can also call your editor from the first line "following" a GO
("1>") command and re-edit your previous query.
You can also use this technique to add any boilerplate lines you
want to import.
Additional query words:
Keywords : kbtool SSrvISQL
Version : winnt:4.2x,6.0,6.5,7.0
Platform : winnt
Issue type :
|