vinit kumar
asked on
how to set column width in Sybase
Hello Experts
How to set the column width in sybase databse.I am looking for alternative of oracle alternative "column <column name> format a<width>" in Sybase.
Vinit kumar
How to set the column width in sybase databse.I am looking for alternative of oracle alternative "column <column name> format a<width>" in Sybase.
Vinit kumar
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Changes will be permanent.
ASKER
Pawan,what will be the command for session specific setting as I don't want to change data default settings.
I need environment setting for so that output is displayed in good format.
I need environment setting for so that output is displayed in good format.
you can use left or right function or both and specify the number of characters returned in the query ..
or try using the sp_autoformat stored procedure provided by sybase .
sp_autoformat will dynamically resize columns wrt to the largets value ..
performance may be a concern if processing large result sets ..
or try using the sp_autoformat stored procedure provided by sybase .
sp_autoformat will dynamically resize columns wrt to the largets value ..
performance may be a concern if processing large result sets ..
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Question abandoned.
Provided solution.
Provided solution.
ASKER
Changes using above command is temporary or permanent.?
I mean changes in width value will be lost as soon as I logout from sybase?