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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:26:26+00:00 2026-05-31T19:26:26+00:00

Question: How can I (programmatically) obtain a complete list of reserved keywords in Sybase?

  • 0

Question:

  • How can I (programmatically) obtain a complete list of reserved keywords in Sybase?

    Specifically, ones that can not be a column name in a table.

  • Alternately, how can I check whether a specific identifier is a reserved keyword in Sybase?

Background:

I have a process which takes a comma separated file with headers and loads into a temp table in Sybase.

The goal is to have the temp table column names match the file column names.

This will fail if the file has a column named after a reserved keyword.

I’d like to catch that scenario BEFORE the CREATE TABLE statement fails.

Notes:

  1. I am looking for a Sybase-version-independent solution.

    Therefore “copy all the words in Sybase Reference Manual (e.g. this for v.12.5) is NOT a valid answer. I’m perfectly aware I can do that. But it will not work in Sybase 15 without changing the keyword list by hand.

  2. If the solution exists but not available in earlier Sybase versions, I need something compatible with Sybase 12.5 and later

  3. I’m also perfectly aware of how to do this by creating a table with any words I have, trapping CREATE TABLE failure, and reading which word failed. I’m looking for a more elegant solution if available.

  • 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-31T19:26:27+00:00Added an answer on May 31, 2026 at 7:26 pm

    First, turn on “quoted_identifier” in your config (set quoted_identifier on). Then escape all your column names with double quotes.

    That way you don’t need to catch which ones are reserved words, and all columns will have the names you expect them to have.

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

Sidebar

Related Questions

Similar to this question but for MySQL.... How can I programmatically determine foreign key
Question Can I build a image database/library that has an e-commerce style checkout system
[Apologies if my question title does not accurately describe my problem- if you can
Following up from this question: How can I unlock a file that is locked
Is there a way to programmatically obtain a list of open tabs in a
In the developers's guide, it's said that a Fragment can be added programmatically at
Question: Can anyone please provide a full code example that shows how one does
Forgive me If this is a dumb question. Can one programmatically observe the contents
Simple question: Can a swing frame be completely modal ( block all others windows
Simple question: Can I mix in my desktop application Java and JavaFX Script code?

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.