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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:17:23+00:00 2026-05-28T01:17:23+00:00

I am working on building a SQL Interface which will act as an Interface

  • 0

I am working on building a SQL Interface which will act as an Interface to be able to build SQL Queries for many databases, including SQLite and MySql.

As the query string Syntax differs between these two database types, I think an interface would be the best workaround here.

I want to make sure that each method (Insert, CreateTable, ReadColumn) has all the necessary arguments to build up a working query that works, and gives maximum functionality.

Currently this is what I have…

public interface IDatabase
    {
        bool CreateTable(SqlTable table);
        bool AlterTable(SqlTable from, SqlTable to);
        bool UpdateValue(string table, List<SqlValue> values, List<SqlValue> wheres);
        bool InsertValues(string table, List<SqlValue> values);
        bool ReadColumn(string table, List<SqlValue> wheres);
        bool DeleteRow(string table, List<SqlValue> wheres);
    }

Can anyone suggest any additions/edits I should make to my interface to make it more functional?

Thanks
Twitchy

  • 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-28T01:17:23+00:00Added an answer on May 28, 2026 at 1:17 am

    What about ORDER, GROUP BY, HAVING, TOP (SQL-Server), LIMIT (MySQL) etc.? I don’t think this can easily be represented by an interface, unless you restrict yourself to a common subset of SQL.

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

Sidebar

Related Questions

I'm working on building a development tool that is written in JavaScript. This will
I'm working on building a Silverlight application whereas we want to be able to
I'm working on building a tree structure in MySQL and have been experimenting with
I am working on building a HTML5 video player with a custom interface, but
I'm working on building an HTTPHandler that will serve up plain text for use
I am working with multiple databases in a PHP/MySQL application. I have development, testing,
While I've been working with querying SQL databases for a while, I'm still quite
I'm working on building out a db2 database from scripts for build verification purposes.
I am building a very simple asp.net application that will have a SQL Server
I'm working on building the Boost platform for a currently unsupported toolchain. Obviously we'd

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.