473,387 Members | 1,455 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Problem with database usage....

Ok I'm very new to the whole database thing, my problem is I'd like to
use firebirds embeded database engine so I can just send it as some
stand alone dlls to my user with my main program. I have two
problems:

1. I have no idea how to create database tables for the initial
database nor how to make the initial database (does this make sence).
2. What tools do I need to have to achieve the above, and where can I
get them.
If you think im missing something I probably am, this database is only
being used for simple storage and retrieval of data, albiet lots of
data, it will not need to be access by outside machines, just the
program on the clients computer.
Nov 20 '05 #1
11 1034
> Ok I'm very new to the whole database thing, my problem is I'd like to
use firebirds embeded database engine so I can just send it as some
stand alone dlls to my user with my main program. I have two
problems: Is Firebirds what used to be Borlands Database Engine ?, If so
Im not sure if there is a provider for this, I assume there is one
from the publishers. If there is . . .


1. I have no idea how to create database tables for the initial
database nor how to make the initial database (does this make sence). You need to add the provider for your database type and add the database to
the list of databases on the server explorer. This way you can drag the
tables to
the form.

2. What tools do I need to have to achieve the above, and where can I
get them.
If you think im missing something I probably am, this database is only
being used for simple storage and retrieval of data, albiet lots of
data, it will not need to be access by outside machines, just the
program on the clients computer.

Nov 20 '05 #2
[>You need to add the provider for your database type and add the
database to the list of databases on the server explorer.]

Hmm let's think about this here, how in the world am I suppose to ADD
A DATABASE to a list, if I havnt made one yet? What am I missing
here. Remember I don't know what am doing. So How do i make the
initial database (pretent I'm mind numblingly dumb), and databse type,
oh god more confusion.

Is there a databasses for dumbies somewhere, I think I need it. Iv'e
been programming since I was 12, I'm 21 now, so I'll catch on quick,
but I think I'm missing the keystone to understanding the terminology
here.
On Wed, 14 Jul 2004 16:13:53 +0100, "One Handed Man \( OHM - Terry
Burns \)" <news.microsoft.com> wrote:
Ok I'm very new to the whole database thing, my problem is I'd like to
use firebirds embeded database engine so I can just send it as some
stand alone dlls to my user with my main program. I have two
problems:

Is Firebirds what used to be Borlands Database Engine ?, If so
Im not sure if there is a provider for this, I assume there is one
from the publishers. If there is . . .


1. I have no idea how to create database tables for the initial
database nor how to make the initial database (does this make sence).

You need to add the provider for your database type and add the database to
the list of databases on the server explorer. This way you can drag the
tables to
the form.

2. What tools do I need to have to achieve the above, and where can I
get them.
If you think im missing something I probably am, this database is only
being used for simple storage and retrieval of data, albiet lots of
data, it will not need to be access by outside machines, just the
program on the clients computer.


Nov 20 '05 #3
OK, with .NET, you use something called ADO.NET ( part of the .NET
framework ) to connect to and access databases. You are referring to a third
party DataBase called FireBird embedded database engine right ?

Firstly, I think this is a derivitive of something formerly made by Borland,
but im not sure. Anyway, in other to connect to this database, you need
three things essentially.

Connection object / DataAdapter and a Dataset to store the retreived data.
There are three types of Database connections you can make.

SQL Connection
OLEDB Connection
ODBC Connection

You need first to find out from your embedded database publisher what
support they have for .NET
The fact that you mention that this is embedded sends alarm bells ringing
straight away, embedded in what ?

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Jay King" <mr********@cinci.rr.com> wrote in message
news:0e********************************@4ax.com...
[>You need to add the provider for your database type and add the
database to the list of databases on the server explorer.]

Hmm let's think about this here, how in the world am I suppose to ADD
A DATABASE to a list, if I havnt made one yet? What am I missing
here. Remember I don't know what am doing. So How do i make the
initial database (pretent I'm mind numblingly dumb), and databse type,
oh god more confusion.

Is there a databasses for dumbies somewhere, I think I need it. Iv'e
been programming since I was 12, I'm 21 now, so I'll catch on quick,
but I think I'm missing the keystone to understanding the terminology
here.
On Wed, 14 Jul 2004 16:13:53 +0100, "One Handed Man \( OHM - Terry
Burns \)" <news.microsoft.com> wrote:
Ok I'm very new to the whole database thing, my problem is I'd like to
use firebirds embeded database engine so I can just send it as some
stand alone dlls to my user with my main program. I have two
problems:

Is Firebirds what used to be Borlands Database Engine ?, If so
Im not sure if there is a provider for this, I assume there is one
from the publishers. If there is . . .


1. I have no idea how to create database tables for the initial
database nor how to make the initial database (does this make sence).

You need to add the provider for your database type and add the database tothe list of databases on the server explorer. This way you can drag the
tables to
the form.

2. What tools do I need to have to achieve the above, and where can I
get them.
If you think im missing something I probably am, this database is only
being used for simple storage and retrieval of data, albiet lots of
data, it will not need to be access by outside machines, just the
program on the clients computer.

Nov 20 '05 #4
http://www.codeguru.com/Cpp/data/mfc...cle.php/c4309/

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Jay King" <mr********@cinci.rr.com> wrote in message
news:0e********************************@4ax.com...
[>You need to add the provider for your database type and add the
database to the list of databases on the server explorer.]

Hmm let's think about this here, how in the world am I suppose to ADD
A DATABASE to a list, if I havnt made one yet? What am I missing
here. Remember I don't know what am doing. So How do i make the
initial database (pretent I'm mind numblingly dumb), and databse type,
oh god more confusion.

Is there a databasses for dumbies somewhere, I think I need it. Iv'e
been programming since I was 12, I'm 21 now, so I'll catch on quick,
but I think I'm missing the keystone to understanding the terminology
here.
On Wed, 14 Jul 2004 16:13:53 +0100, "One Handed Man \( OHM - Terry
Burns \)" <news.microsoft.com> wrote:
Ok I'm very new to the whole database thing, my problem is I'd like to
use firebirds embeded database engine so I can just send it as some
stand alone dlls to my user with my main program. I have two
problems:

Is Firebirds what used to be Borlands Database Engine ?, If so
Im not sure if there is a provider for this, I assume there is one
from the publishers. If there is . . .


1. I have no idea how to create database tables for the initial
database nor how to make the initial database (does this make sence).

You need to add the provider for your database type and add the database tothe list of databases on the server explorer. This way you can drag the
tables to
the form.

2. What tools do I need to have to achieve the above, and where can I
get them.
If you think im missing something I probably am, this database is only
being used for simple storage and retrieval of data, albiet lots of
data, it will not need to be access by outside machines, just the
program on the clients computer.

Nov 20 '05 #5
Jay King <mr********@cinci.rr.com> wrote in
news:0e********************************@4ax.com:
Hmm let's think about this here, how in the world am I suppose to ADD
A DATABASE to a list, if I havnt made one yet? What am I missing
here. Remember I don't know what am doing. So How do i make the
initial database (pretent I'm mind numblingly dumb), and databse type,
oh god more confusion.


Because you're using the embedded version, there is no GUI to add/remove.

You need to load the full version of Firebird, create the tables using one
of the many free administrator tools, then copy the tables (could of data
files) into your project directory.

BTW, you should read a database modeling book before continuing... because
if you don't design the data model correctly, it can be very hard to fix
later on.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 20 '05 #6
"One Handed Man \( OHM - Terry Burns \)" <news.microsoft.com> wrote in
news:#o**************@TK2MSFTNGP09.phx.gbl:
The fact that you mention that this is embedded sends alarm bells ringing
straight away, embedded in what ?


Firebird has the ability to be embedded into a .NET project - you'll get a
fully functioning SQL database embedded into a project. So you get more
power than Microsoft Access without all the bloat of loading MSDE/MS SQL or
MySQL.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 20 '05 #7
Thank you :-)
On Wed, 14 Jul 2004 17:24:59 GMT, Lucas Tam <RE********@rogers.com>
wrote:
Jay King <mr********@cinci.rr.com> wrote in
news:0e********************************@4ax.com :
Hmm let's think about this here, how in the world am I suppose to ADD
A DATABASE to a list, if I havnt made one yet? What am I missing
here. Remember I don't know what am doing. So How do i make the
initial database (pretent I'm mind numblingly dumb), and databse type,
oh god more confusion.


Because you're using the embedded version, there is no GUI to add/remove.

You need to load the full version of Firebird, create the tables using one
of the many free administrator tools, then copy the tables (could of data
files) into your project directory.

BTW, you should read a database modeling book before continuing... because
if you don't design the data model correctly, it can be very hard to fix
later on.


Nov 20 '05 #8
I see, sounds interesting, I'd never heardof Firebird before today.

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Lucas Tam" <RE********@rogers.com> wrote in message
news:Xn***************************@140.99.99.130.. .
"One Handed Man \( OHM - Terry Burns \)" <news.microsoft.com> wrote in
news:#o**************@TK2MSFTNGP09.phx.gbl:
The fact that you mention that this is embedded sends alarm bells ringing straight away, embedded in what ?
Firebird has the ability to be embedded into a .NET project - you'll get a
fully functioning SQL database embedded into a project. So you get more
power than Microsoft Access without all the bloat of loading MSDE/MS SQL

or MySQL.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/

Nov 20 '05 #9
How does this fit in with ADO.NET ?

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Lucas Tam" <RE********@rogers.com> wrote in message
news:Xn***************************@140.99.99.130.. .
"One Handed Man \( OHM - Terry Burns \)" <news.microsoft.com> wrote in
news:#o**************@TK2MSFTNGP09.phx.gbl:
The fact that you mention that this is embedded sends alarm bells ringing straight away, embedded in what ?
Firebird has the ability to be embedded into a .NET project - you'll get a
fully functioning SQL database embedded into a project. So you get more
power than Microsoft Access without all the bloat of loading MSDE/MS SQL

or MySQL.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/

Nov 20 '05 #10
"One Handed Man \( OHM - Terry Burns \)" <news.microsoft.com> wrote in
news:Oi**************@TK2MSFTNGP09.phx.gbl:
How does this fit in with ADO.NET ?


The Firebird project has an offical ADO.NET driver. The latest beta version
supports the embedded version of Firebird.

http://firebird.sourceforge.net/inde...id=netprovider

It would be interesting to see the database performance between Firebird
and Access.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 20 '05 #11
Thanks, I might try this out when I get a minute.

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Lucas Tam" <RE********@rogers.com> wrote in message
news:Xn***************************@140.99.99.130.. .
"One Handed Man \( OHM - Terry Burns \)" <news.microsoft.com> wrote in
news:Oi**************@TK2MSFTNGP09.phx.gbl:
How does this fit in with ADO.NET ?
The Firebird project has an offical ADO.NET driver. The latest beta

version supports the embedded version of Firebird.

http://firebird.sourceforge.net/inde...id=netprovider

It would be interesting to see the database performance between Firebird
and Access.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/

Nov 20 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Matthieu MARC | last post by:
Hi everybody, I'm writting a script which take image data from mysql (blob) and draw the image to screen. At the end of the message you will find my php code. I put lots of numbered message...
0
by: Markus Enders | last post by:
Hi everybody, we are using version 7 of db2 and need to replicate a database. We are using two web-based systems, which access two different databases. One system is used for import data...
7
by: Jon Trickey | last post by:
We migrated to 8.1 from 7.2 this weekend. Everything ran ok over the weekend, but we have a light user load then (about 200 users.) Today when we had close to 600 users connecting and running...
1
by: Buzz Bonner | last post by:
Hi, We have developed a distributed system that uses multiple .NET remoting servers hosted by Windows Services. However, the single server used for performing all database access using ADO.NET...
4
by: Jason Chu | last post by:
I have a big asp.net app that does many functions, some do alot of database cross searching, some that does upload/download from database. When two users use the application, sometimes, if one of...
4
by: Koen Hoorelbeke | last post by:
Hi there, I'm about to commit suicide :) Since a couple of weeks I have a persistent problem with the performance of my sites (well, actually it's one particular site). For some reason the site...
7
by: HeatherS | last post by:
We are having issues with our windows services using memory and never releasing it. We have one service that has a file watcher which takes an xml file, inserts some records into a database, and...
1
by: | last post by:
weve installed our asp.net 11. (32 bit) web app on windows 2002 64 bit server running under 32 bit emulation mode. should work ok, but were seeing cpu at 100%, but the server is a qaud dual core...
6
by: Joe Adams | last post by:
I am attempting to reinstall from a windows gone bad problem. XP had "died" and unable boot into os, so there was no backup or copy database made. Have installed new hdd. copied most all of the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.