Skip to content

Commit a8fb8b3

Browse files
authored
Update osql-utility.md
1 parent 20bfa44 commit a8fb8b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/tools/osql-utility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ osql -E -i titles.qry -o titles.res
256256
> When using **osql**, [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] treats the batch separator GO, if it appears in a SQL script file, as a syntax error.
257257
258258
## Inserting Comments
259-
You can include comments in a Transact-SQL statement submitted to [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] by **osql**. Two types of commenting styles are allowed: -- and /\*...\*/.
259+
You can include comments in a Transact-SQL statement submitted to [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] by **osql**. Two types of commenting styles are allowed: `--` and `/*...*/`.
260260

261261
## Using EXIT to Return Results in osql
262262
You can use the result of a SELECT statement as the return value from **osql**. If it is numeric, the last column of the last result row is converted to a 4-byte integer (long). MS-DOS passes the low byte to the parent process or operating system error level. Windows passes the entire 4-byte integer. The syntax is:

0 commit comments

Comments
 (0)