INF: ISQL or OSQL Lines That Have Already Been Typed in Can Be Edited (67623)
The information in this article applies to:
- Microsoft SQL Server 4.2x
- Microsoft SQL Server 6.0
- Microsoft SQL Server 6.5
- Microsoft SQL Server 7.0
This article was previously published under Q67623
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:
- 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.
Modification Type: | Minor | Last Reviewed: | 2/14/2005 |
---|
Keywords: | KB67623 |
---|
|