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 4543262
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:30:24+00:00 2026-05-21T15:30:24+00:00

Is there a shortcut to selecting all the components of a user-defined datatype/structure in

  • 0

Is there a shortcut to selecting all the components of a user-defined datatype/structure in SYBASE 10?

So if Resrv is a field based on a user-defined datatype/structure, something like:

 SELECT Name, Resrv from AGC_AREAPARM

(which doesn’t work)

Note: SELECT Name, * from AGC_AREAPARM doesn’t work either.

What does work is specifying each child item, like:

 SELECT Name, Resrv.SysReqOper, Resrv.SysReqSpin from AGC_AREAPARM

EDIT : If anyone can give me the correct verbiage for the structure, that’d be great. I’m having a hard time finding it in the Sybase documentation.

Here’s a pic of some of the sp_helptype output, AGC_RESERVE is the type for the Resrv field:

sphelptype

  • 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-05-21T15:30:25+00:00Added an answer on May 21, 2026 at 3:30 pm

    First, what you are seeing is definitely not something created via the Create Domain or Create DataType predicate. Per the documentation:

    Domains are aliases for built-in data types, including precision and scale values where applicable. They improve convenience and encourage consistency in the database. *

    Instead, my guess is that you are using is a Java class (which sp_helptype shows as a structure). There is no mechanism using the Sybase SQL dialect to natively select all properties of a class. You must explicitly declare them in your Select statement:

    Select Name
        , Resrv.SysRegOper
        , Resrv.SysRegSpin
    From Table
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a shortcut that allows me to repoint all classes that use the
Textmate - Is there a shortcut for selecting matching HTML tags or another way
Is there a shortcut to clear all breakpoints within all projects within a solution
Is there a shortcut for creating the most basic WCF Binding based on the
Does anybody know if there is a shortcut or something similar for changing the
Is there a shortcut method much like NSHomeDirectory() and NSTemporaryDirectory to get to the
Is there a shortcut in IntelliJ IDEA to close all opened windows?
Is there a shortcut key in Visual Studio that will minimize all of the
Is there a shortcut in Vim for going to the next word which is
If I ran a search pattern and nothing was found, is there a shortcut

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.