I came across this in the documentation for parameters:

PARAMETERS department_id, file;
SELECT Surname
FROM Employees
WHERE DepartmentID = {department_id}
>#{file}.dat;

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

scott97007
1504411
accept rate: 0%

edited 05 Apr '13, 13:29

Volker%20Barth's gravatar image

Volker Barth
31.5k318461676


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
31.5k318461676
accept rate: 33%

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×36
×25
×19
×8

question asked: 05 Apr '13, 13:13

question was seen: 892 times

last updated: 05 Apr '13, 13:31