数据库使用问题.... [英] Problem with database usage....

查看:66
本文介绍了数据库使用问题....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我对整个数据库的事情都很新,我的问题是我想要/ b $ b使用firebirds嵌入数据库引擎所以我可以把它作为一些发送给
使用我的主程序,
独立dll给我的用户。我有两个

问题:


1.我不知道如何为初始的

数据库创建数据库表,也不知道如何制作初始数据库(这是否有效)。

2.我需要哪些工具来实现上述目标,哪里可以获得


如果您认为我可能遗漏了一些东西,那么这个数据库只是用于简单存储和检索数据的
,这是一个很好的

数据,它不需要外部机器访问,只需要客户端计算机上的

程序。

解决方案

>好吧,我对整个数据库事情都很陌生,我的问题是我想

使用firebirds embeded数据库引擎所以我可以把它作为一些独立的dll发送用我的主程序给我的用户。我有两个问题:
Firebirds曾经是Borlands数据库引擎吗?如果是这样的话

我不确定是否有供应商,我认为有一个

来自出版商。如果有 。 。 。

1.我不知道如何为初始数据库创建数据库表,也不知道如何创建初始数据库(这样做)。
您需要为数据库类型添加提供程序,并将数据库添加到服务器资源管理器上的数据库列表中。通过这种方式,您可以将

表拖到

表格。


2.我需要使用哪些工具才能实现以上,我在哪里可以获得它们。

如果你认为我可能遗漏了一些东西,那么这个数据库只能用于简单的存储和数据检索, albette很多
数据,它不需要外部机器访问,只需要客户端计算机上的
程序。



[>您需要为数据库类型添加提供程序,并将

数据库添加到服务器资源管理器上的数据库列表中。]


Hmm让我们在这里考虑一下,我想在世界上如何添加

数据库到列表,如果我已经制作了一个?我错过了什么

这里。记住,我不知道自己在做什么。那么我如何制作

初始数据库(假装我心里傻哑)和数据库类型,

哦上帝更混乱。


在某处有dumbies的数据库,我想我需要它。 Iv''e

从我12岁开始编程,我现在21岁了,所以我会快点,

但我想我是错过理解术语的基石

这里。

2004年7月14日星期三16:13:53 +0100,一个人的人(OHM - 特里)

Burns \)" < news.microsoft.com>写道:

好的我对整个数据库的事情都很新,我的问题是我想要使用火鸟嵌入式数据库引擎,所以我可以将它作为一些单独的dll发送给我的用户使用我的主程序。我有两个问题:


Firebirds曾经是Borlands数据库引擎吗?如果是的话
我不确定是否有提供者,我认为有一个
来自出版商。如果有 。 。 。


1.我不知道如何为初始数据库创建数据库表,也不知道如何创建初始数据库(这是您需要为数据库类型添加提供程序,并将数据库添加到服务器资源管理器上的数据库列表中。


通过这种方式,您可以将
表格拖到表格中。

2.我需要哪些工具来实现上述目标,以及我在哪里可以获得它们。

如果您认为我可能遗漏了一些东西,那么这个数据库只能用于简单存储和检索数据,数据,它不需要外部机器访问,只需要客户端计算机上的
程序。




好的,使用.NET,您可以使用名为ADO.NET(.NET

框架的一部分)的东西来连接和访问数据库。你指的是第三个名为FireBird嵌入式数据库引擎的派对DataBase吧?


首先,我认为这是以前由Borland制作的东西的衍生物,

但我不确定。无论如何,在连接到这个数据库的其他地方,你需要

三件事。


连接对象/ DataAdapter和一个存储已检索数据的数据集。 br />
您可以使用三种类型的数据库连接。


SQL连接

OLEDB连接

ODBC连接


首先需要从嵌入式数据库发布者那里了解他们对.NET支持的
支持

事实你提到这是嵌入式发出警报铃声

马上,嵌入什么?


-


OHM(特里伯恩斯)

。 。 。单手人。 。


当你不知道自己在做什么时,过得很快


Jay King <先生******** @ cinci.rr.com>在留言中写道

news:0e ******************************** @ 4ax.com ...

[>您需要为数据库类型添加提供程序,并将
数据库添加到服务器资源管理器上的数据库列表中。]
嗯,让我们在这里考虑一下,我想在世界上如何添加一个数据库列表,如果我已经制作了一个?我在这里错过了什么?记住,我不知道自己在做什么。那么我如何制作
初始数据库(假装我心里傻哑)和数据库类型,哦,上帝更混乱。

是否有dumbies的数据库在某个地方,我想我需要它。 Iv''e
从我12岁开始编程,我现在21岁了,所以我会快速赶上,
但我认为我错过了理解术语的基石
这里。

2004年7月14日星期三16:13:53 +0100,One Handed Man \(OHM - Terry
Burns \) < news.microsoft.com>写道:

好的我对整个数据库的事情都很新,我的问题是我想要使用火鸟嵌入式数据库引擎,所以我可以将它作为一些单独的dll发送给我的用户使用我的主程序。我有两个问题:


Firebirds曾经是Borlands数据库引擎吗?如果是的话
我不确定是否有提供者,我认为有一个
来自出版商。如果有 。 。 。


1.我不知道如何为初始数据库创建数据库表,也不知道如何创建初始数据库(这是您需要为数据库类型添加提供程序,并将数据库
添加到服务器资源管理器上的数据库列表中。通过这种方式,您可以将
表格拖到表格中。

2.我需要哪些工具来实现上述目标,以及我在哪里可以获得它们。

如果您认为我可能遗漏了一些东西,那么这个数据库只能用于简单存储和检索数据,数据,它不需要外部机器访问,只需要客户端计算机上的
程序。



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.

解决方案

> 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.



[>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.




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.



这篇关于数据库使用问题....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆