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

  • Home
  • SEARCH
  • 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 5840815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:48:14+00:00 2026-05-22T11:48:14+00:00

Unfortunately we are using the Advantage Database Server Torture Edition Version 8.1. After I

  • 0

Unfortunately we are using the Advantage Database Server Torture Edition Version 8.1.
After I had finished my project, I heard that the data base is configured to be case sensitive. So I changed the table structure, all Char data types to CIChar, which is a case insensitive char field. But I get this error while executing my program:

Advantage.Data.Provider.AdsException:

Error 7200: AQE Error: State =
HY000; NativeError = 2214;
[Extended Systems][Advantage SQL
Engine]Invalid coercion: Result of
expression is an ambiguous character
type.

I found that the ISNULL(myciChar,”) is causing this problem, but I don’t understand, WHY?
How could I solve this problem? Is there other known issues with the cichar data type?

Any help will be appreciated. Thanks.

[update]

I found the reason for this error. There was two points to clarify.

  1. The data base has the version 8.1, but the data architect has the version 7.1 and in local mode it takes the architect engine version 7.1. That means it’s a v7.1 issue.
  2. The 2nd parameter in the isnull function is in default case sensitive collation in version 7.1 while my column mytext is cichar and that’s the ambiguous character type. So if someone has the same problem, it will work in v7.1 with the collate declaration:

works in v7.1:

select myid, isnull(mytext, '-' COLLATE ads_default_ci) as mytext from mytable

error in v7.1:

select myid, isnull(mytext, '-') as mytext from mytable
  • 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-22T11:48:15+00:00Added an answer on May 22, 2026 at 11:48 am

    Probably need to see more of your expression to tell you why you are getting this error. It doesn’t have as much to do with the ISNULL as it does the expression the ISNULL is being used in. The engine likely encountered a comparison and couldn’t automatically determine if you wanted the comparison to be case sensitive or not. See the documentation which describes case insensitive precedence and coercion.

    If not used in an expression, it might just be a bug (I just tried with 10.1 and it worked), verify you are using the latest version of 8.1, which is 8.10.0.38

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

Sidebar

Related Questions

(Advantage Database Server) I have a table of service providers that, for auditing purposes,
I start to learn asm using fasm, unfortunately after compile code below I get
I'm using an external library (Phonegap) in a fairly large Closure project. Unfortunately Phonegap
Unfortunately, I need to do this. I'm using ELMAH for my error log. Before
We're using WatiN for testing our UI, but one page (which is unfortunately not
Using the default TWebBrowser makes things easy to embed a web browser. Unfortunately the
I'm using LaTeX 's listings package to format source code. Unfortunately I get curly
I'm implementing charts using The Ziya Charts Gem . Unfortunately, the documentation isn't really
I am using the jQuery tableSorter plugin on a page. Unfortunatley, the table that
Is it possible to log to an XML column in SQL Server using the

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.