Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8464327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:42:45+00:00 2026-06-10T14:42:45+00:00

I am using Sybase DB with TSQL. I am able to view all the

  • 0

I am using Sybase DB with TSQL.

I am able to view all the custom data types in my DB, however I cannot see the underlying native data type (INT, VARCHAR, CHAR, …) that they wrap around.

The command I used was :

SELECT * FROM systypes

This displays all the custom data type names, but not their underlying native data types.

Does anyone know how I can view the native data type for custom data types in Sybase DB?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T14:42:47+00:00Added an answer on June 10, 2026 at 2:42 pm

    First add a type:

    sp_addtype 'test', int
    go
    

    Then you have two possibilities.

    Using sp_help:

    sp_help 'test'
    go
    

    Or, at least for sybase 15.0.3, do the following query:

    select s.name, st.name
    from systypes s
    inner join systypes st on s.type = st.type
    where s.name = 'test'
    and st.usertype < 100
    go
    

    Note, I made this query seeing the code in sp_help stored procedure. If you know there’s a System SP that does part of what you want, just check its code at syssystemprocs database.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using a populated Table Type as the source for a TSQL-Merge. I want to
Using the Redis info command, I am able to get all the stats of
Have some data in a sybase image type column that I want to use
I've written a C++ DLL that connects to a Sybase database using the native
I am trying to connect to Sybase backend using PHP. However, when I run:
I am using Sybase DB with TSQL. The follow snippet of TSQL code is
I'm using Sybase::CTlib to query a Sybase server. However when I execute the following:
I am using Sybase DB with TSQL. I am trying to work between 2
I am executing the select statement with using jdbc sybase driver ( jconn3 ).
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.