Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Database Recommendation?

Database Recommendation?

Scheduled Pinned Locked Moved C#
databasecsharpc++sql-serversqlite
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    Office Lineman
    wrote on last edited by
    #1

    I have a pet project designed for VC++ 6 that uses SQLite3 as a database engine. The database component is used to manage approximately 2500 entries with the following: - PID (string, 63) - GID (short integer) - TID (short integer) - ID1 (string, 7) - ID2 (string, 15) It's not a terribly data-intensive application, so SQLite3 serves well, and the price is right. Eventually, the project will be distributed to about 12 people. I'd like to migrate the project to C#, so I need to replace the database component. I'd really like to avoid having everyone get a copy of SQL Server, so I'm hoping for a suggestion or two for a suitable replacement. I'd prefer to stick with something SQL-y if possible; I like to SELECT things. :laugh: Thanks! -- I've killed again, haven't I?

    J M Z O O 5 Replies Last reply
    0
    • O Office Lineman

      I have a pet project designed for VC++ 6 that uses SQLite3 as a database engine. The database component is used to manage approximately 2500 entries with the following: - PID (string, 63) - GID (short integer) - TID (short integer) - ID1 (string, 7) - ID2 (string, 15) It's not a terribly data-intensive application, so SQLite3 serves well, and the price is right. Eventually, the project will be distributed to about 12 people. I'd like to migrate the project to C#, so I need to replace the database component. I'd really like to avoid having everyone get a copy of SQL Server, so I'm hoping for a suggestion or two for a suitable replacement. I'd prefer to stick with something SQL-y if possible; I like to SELECT things. :laugh: Thanks! -- I've killed again, haven't I?

      J Offline
      J Offline
      Judah Gabriel Himango
      wrote on last edited by
      #2

      Typically, you can just write a .NET component (typically written in Managed C++ for performance, but could be written in C#) that calls unmanaged code to manipulate the underlying umanaged database. This is how the various database providers in the .NET framework are written. So you *could* write your own .NET data provider for SqlLite, if you were up to the challenge. If you'd prefer an already existing solution, have a look at VistaDB[^] or the MySQL .NET adapter[^]. *edit* looks like someone's already written a SQLLite for .NET driver[^].

      Tech, life, family, faith: Give me a visit. I'm currently blogging about: Little House on the Flickr Judah Himango

      1 Reply Last reply
      0
      • O Office Lineman

        I have a pet project designed for VC++ 6 that uses SQLite3 as a database engine. The database component is used to manage approximately 2500 entries with the following: - PID (string, 63) - GID (short integer) - TID (short integer) - ID1 (string, 7) - ID2 (string, 15) It's not a terribly data-intensive application, so SQLite3 serves well, and the price is right. Eventually, the project will be distributed to about 12 people. I'd like to migrate the project to C#, so I need to replace the database component. I'd really like to avoid having everyone get a copy of SQL Server, so I'm hoping for a suggestion or two for a suitable replacement. I'd prefer to stick with something SQL-y if possible; I like to SELECT things. :laugh: Thanks! -- I've killed again, haven't I?

        M Offline
        M Offline
        Michael P Butler
        wrote on last edited by
        #3

        I've used SQLLite with C#, in one of my MyXaml samples[^] for example. I used this[^] .NET class Michael CP Blog [^] Development Blog [^]

        O 1 Reply Last reply
        0
        • M Michael P Butler

          I've used SQLLite with C#, in one of my MyXaml samples[^] for example. I used this[^] .NET class Michael CP Blog [^] Development Blog [^]

          O Offline
          O Offline
          Office Lineman
          wrote on last edited by
          #4

          Oh wow, I can still use my SQLite database. That should work nicely! :-D -- I've killed again, haven't I?

          1 Reply Last reply
          0
          • O Office Lineman

            I have a pet project designed for VC++ 6 that uses SQLite3 as a database engine. The database component is used to manage approximately 2500 entries with the following: - PID (string, 63) - GID (short integer) - TID (short integer) - ID1 (string, 7) - ID2 (string, 15) It's not a terribly data-intensive application, so SQLite3 serves well, and the price is right. Eventually, the project will be distributed to about 12 people. I'd like to migrate the project to C#, so I need to replace the database component. I'd really like to avoid having everyone get a copy of SQL Server, so I'm hoping for a suggestion or two for a suitable replacement. I'd prefer to stick with something SQL-y if possible; I like to SELECT things. :laugh: Thanks! -- I've killed again, haven't I?

            Z Offline
            Z Offline
            zopiro
            wrote on last edited by
            #5

            Forget about SQL and learning more and more languages. You can use a native object database like db4o (http://www.db4o.com/) which is extremely fast and reliable. Regards

            1 Reply Last reply
            0
            • O Office Lineman

              I have a pet project designed for VC++ 6 that uses SQLite3 as a database engine. The database component is used to manage approximately 2500 entries with the following: - PID (string, 63) - GID (short integer) - TID (short integer) - ID1 (string, 7) - ID2 (string, 15) It's not a terribly data-intensive application, so SQLite3 serves well, and the price is right. Eventually, the project will be distributed to about 12 people. I'd like to migrate the project to C#, so I need to replace the database component. I'd really like to avoid having everyone get a copy of SQL Server, so I'm hoping for a suggestion or two for a suitable replacement. I'd prefer to stick with something SQL-y if possible; I like to SELECT things. :laugh: Thanks! -- I've killed again, haven't I?

              O Offline
              O Offline
              OldDog Net
              wrote on last edited by
              #6

              If each of these 12 people is using their own copy on their own desk/lap top, you can look at MSDE (old name) / SQL Server Express (new name) which is a three connection max version of MS SQL Server and totally free. It's a lot more mainstream and you can pick up the 120 day trial copy of SQL Server and have the Server Manager for development as well.

              1 Reply Last reply
              0
              • O Office Lineman

                I have a pet project designed for VC++ 6 that uses SQLite3 as a database engine. The database component is used to manage approximately 2500 entries with the following: - PID (string, 63) - GID (short integer) - TID (short integer) - ID1 (string, 7) - ID2 (string, 15) It's not a terribly data-intensive application, so SQLite3 serves well, and the price is right. Eventually, the project will be distributed to about 12 people. I'd like to migrate the project to C#, so I need to replace the database component. I'd really like to avoid having everyone get a copy of SQL Server, so I'm hoping for a suggestion or two for a suitable replacement. I'd prefer to stick with something SQL-y if possible; I like to SELECT things. :laugh: Thanks! -- I've killed again, haven't I?

                O Offline
                O Offline
                Office Lineman
                wrote on last edited by
                #7

                Thanks for all the suggestions, everyone. Since I can access SQLite with just a slight modification to my overall design scheme, I'm going to use the wrapper to get this first iteration out. After that, I'll weigh these alternate DB solutions. -- I've killed again, haven't I?

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups