0

In SQLServer for creating a column of type, say VARBINARY or VARCHAR, we can specify the maximum length as

create table sample (c1 varbinary(MAX));
create table sample1 (c1 varchar(MAX));

What is the equivalent syntax for SYBASE ?

VARBINARY(MAX) does not seem to work

Thanks in advance

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Jackson
  • 91
  • 1
  • 2
  • 6
  • 2
    Read docs: http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc00269.1550/html/raxpdb/CIHHGDCE.htm – Arvo May 31 '21 at 07:06

1 Answers1

0

You can use

create table sample (c1 Long Binary);
create table sample1 (c1 Long Varchar);

Please check with this solution.

Gokul Kannan
  • 53
  • 2
  • 14