Link to home
Start Free TrialLog in
Avatar of lastbattle
lastbattle

asked on

How can I get the based data type of user-defined datatype in Sybase?

Which system tables in Sybase contain information about the based datatype of user-defined datatype?
I know that we can use sp_help <user-defined datatype name> to get information about the based datatype.

What I want is I would like to retrieve the based-datatype of user-defined datatype using SELECT statement by myself? systypes table contain datatype information including user-defined datatype of all the fields in the tables. But it doesn't contaion the based-dataype of user-defined data type.

How can I do that?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Doc_McAlister
Doc_McAlister

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lastbattle
lastbattle

ASKER

We got some idea from your query though it is not completely fit with our situation.

Now it is solved.

Thanks.
Thanks you so much