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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:38:01+00:00 2026-06-05T20:38:01+00:00

I am writing data synchronization application between sql server and firebird. In firebird is

  • 0

I am writing data synchronization application between sql server and firebird. In firebird is for historical reason bool provided by domain like ‘Y’ or ‘N’. Now I want to create conversion function(s) between bool and char(1), but it should accept null values.

If input parameter will be bool or string and value from db will be null, it cause a problem right?

How can I do this?

  • 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-05T20:38:04+00:00Added an answer on June 5, 2026 at 8:38 pm

    Use Nullable bool?

    You can set

    bool? flag = false; // or null 
    

    later you can check using ?? operator

    var result = flag ?? false; // this will return false in case of null
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am used to writing data manipulation logic in SQL and now that I
I am writing data in a file. The file will look like this. [section1]
My application is SL2 reading and writing data through an Entity Framework Model exposed
I am writing a Silverlight application that will be both reading and writing data
In my application I am continually writing data to file1 and flushing it to
I am developing an application that is writing data to a file. Lets assume
To start I am coding in C#. I am writing data of varying sizes
i'm writing a data migration using south... but the question refers to the use
Hello I am writing some data structures in C, and I've realized that their
I'm writing a data access layer. It will have C# 2 and C# 3

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.