db documentation - database

hi is there a good data dictionary tool out there for a db2 database on linux or mac.
Could only find some win apps.
maybe something wiki like or html generator.
Thanks

druid druid.sourceforge.net is what i was looking for

I assume you want a tool to create some documentation (data model etc.) for a db2 database and not the db2 documentation?
If so these two questions should help:
DB sketcher for MacOS?
https://stackoverflow.com/questions/30474/database-schema-diagram-design-tool
If you're after something that will create a "data dictionary"-type document (list and description of tables and columns) then you're right, the best ones I know of (ERWin, ERStudio) are Windows only.

Related

Gui for Xamarin SQLite Database

I am new to app development and have followed this Tutorial in order to creat an SQlite database for my xamarin application.
https://msdn.microsoft.com/en-us/magazine/mt736454.aspx
Everythings worked fine I am only wondering if there's some kind of gui in order to manipulate database entries without using code?
Maybe something similar to netbeans?
Thank you.
If you do not want to create a GUI for viewing the database tables, you will have to pull the db file from the device and view it using a SQLite database viewer/editor. There are many open source and free database browsers available. I have written a detailed blog
. Please check it

integrating Cakephp with Informix database

I have an application and I want to use a table of Informix in my cakephp application. Is it possible?
I just want the users table of informix, the others tables i'll use mysql. Is it possible?
Thanks.
It can be done but it needs information about how you can access the data. Is it standardised like REST/SOAP or something? Or do you need hard database access?
In general in CakePHP you build a custom datasource for it: http://book.cakephp.org/2.0/en/models/datasources.html or you can work with behaviours which you attach to models.
There are some examples of this approach like this for REST:
http://www.neilcrookes.com/2010/06/01/rest-datasource-plugin-for-cakephp/

Does Nhibernate support Sybase?

I'm about to start on a new WPF application with a Sybase datastore. The team has experience with Nhibernate, but we are not really sure how well it supports Sybase and if there are some major pitfalls we should look out for.
If yes, how about Fluent nhibernate?
If not, do you know any other ORM products that we could use for Sybase in this scenario?
Thanks.
Sybase is officially supported in NHibernate.
From what I've seen, Fluent NH doesn't expose a class for configuring a Sybase DB, but you can probably do that in a just couple of lines (the rest of it is not dependent on the DB)
Are you asking about Sybase ASE or Sybase Anywhere. NHibernate supports both and FluentNHibernate supports neither.
I'd like to correct the statements made here, even though this is an older post. NHibernate does NOT exactly support Sybase.
As a reference for why I say this statment please look here:
http://community.jboss.org/wiki/DatabasessupportedbynHibernate
Granted that post is from 2009. NHibernate has since released version 3.0 which does have dialects available for Sybase:
http://nhforge.org/blogs/nhibernate/archive/2010/12/05/nhibernate-3-0-released.aspx
But the issue here is it is only for Sybase Anywhere, so if you have ASE you will have to refer to Glenn Paulley's independent releases for NHibernate, and I do not believe he is actually affiliated with NHibernate.
All this being said, I've tried for the past few hours to get what is out there working with Sybase ASE 15 and I've been unsuccessful. Looks like I'll just make my own with the .NET drivers provided.
According to this link, I would say that it does. There seems to have known issues, though. But depending on what you need, it might suit your needs.
The SQLAnywhere12Dialect seems to have repaired some of the buggy stuff.
To follow up on Joseph's answer:
I downloaded the binaries for NHibernate 3.2.0.GA about two weeks ago (about 10/5/2011) and it didn't seem to come with ASE 15 support out of the box (no dialect or drivers, closest one maybe being SQL Anywhere).
This issue was reported in their Jira.
Today (10/20/2011) I downloaded the source code for the project to try to add my own and I found out that there are classes now that offer this support, SybaseASE15Dialect.cs and SybaseASEDriver.
I'm not sure if the binaries now have this support, but if not you can just download the source files, build the NHibernate project and use the dlls, or just wait until they make a new release with this.
I've done a similar project using NHibernate, and using ODBC to connect to Sybase SQL Anywhere, it works fine with the "GenericDialect".
Here's some sample code to build your session factory.
var mapper = new ModelMapper();
mapper.AddMappings(Assembly.GetExecutingAssembly().GetExportedTypes());
HbmMapping mapping = mapper.CompileMappingForAllExplicitlyAddedEntities();
NHibernate.Cfg.Configuration cfg = new NHibernate.Cfg.Configuration()
.DataBaseIntegration(db =>
{
db.ConnectionString = connectionStr;
db.Dialect<NHibernate.Dialect.GenericDialect>();
db.Driver<NHibernate.Driver.OdbcDriver>();
});
cfg.AddMapping(mapping);
cfg.BuildSessionFactory();

How to build a DataBase Miner?

Has everybody here ever built a DB Miner?
If you have ever built a DB Miner then can
you give some sort of knowledge of how to build
one or suggest me some books that i should read
in preparing for it.
Cause i'm trying to build a DB Miner but i stuck
in what to begin.
Thank you !
I suppose it would be terrible advice if I tell you not to build your own? It has to be a hellishly complex subject if you're attempting to build something that works on many data sets.
Here's a demo of how to do some data mining on the StackOverflow database using some free Excel plug-in from Microsoft:
http://sqlserverpedia.com/blog/sql-server-tutorial/data-mining-the-stackoverflow-database/
Amazon has lots of stuff. Pick one. I chose this because I guessed that you'd like it to be SQL Server-specific.

Transfering User Names from One Forum to Another?

How do I transfer the users of a vBulletin forum to a new installation of IceBB?
Presumably, they both have a database back-end of some sort, right? SQL dump, followed by patching stuff up in your favorite scripting language, followed by SQL load, seems do-able.
There is a tool called ImpEx for vBulletin to do exactly this. It imports and exports users and data. Doing the SQL yourself can be error prone and difficult compared to using ImpEx.

Resources