Please be aware that the SAP SQL Anywhere Forum will be shut down on August 29th, 2024 when all it's content will be migrated to the SAP Community.

I came across this in the documentation for parameters:

PARAMETERS department_id, file;
SELECT Surname
FROM Employees
WHERE DepartmentID = {department_id}

Then I ran a quick query:

select *
from mytable
># 'c:\junk.txt';

... and found the query results in c:junk.txt. The ">#" operator does not seem to be documented in the Sybase docs, or at least it did not appear when I did a search on it. Is this all there is to the operator? Are there options for it? Are there similar operators like ">>#" to concatenate?

asked 05 Apr '13, 13:13

scott97007's gravatar image

accept rate: 0%

edited 05 Apr '13, 13:29

Volker%20Barth's gravatar image

Volker Barth

It's an old dbisqlc feature, see

To append, you can use ">>#" and ">>&".

permanent link

answered 05 Apr '13, 13:29

Volker%20Barth's gravatar image

Volker Barth
accept rate: 34%

edited 05 Apr '13, 13:31

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 05 Apr '13, 13:13

question was seen: 2,683 times

last updated: 05 Apr '13, 13:31