Click here to Skip to main content
13,189,324 members (68,009 online)
Click here to Skip to main content
Articles » Database » Database » General » Downloads

Stats

67.8K views
2.5K downloads
75 bookmarked
Posted 29 May 2006

Database Visualization

, 31 May 2006
This article aims to create a simple tool for visualizing database tables and relations, a database map to refer to.
src
msado15.tlh
msado15.tli
QueryBuilder.dsp
QueryBuilder.dsw
QueryBuilder.exe
QueryBuilder.clw
res
QueryBuilder.ico
logo.bmp
msado15.tlh
msado15.tli
Manifest
default1.bin
ListIcons.bmp
WinGraphViz
WinGraphviz_v1.02.25s.cab
WinGraphviz_v1.02.24.msi
WinGraphviz_v1.02.24.cab
WinGraphviz_v1.02.20.msi
WinGraphviz_v1.02.20.cab
dotguide.pdf
class CGlobals
{
public:
	CGlobals();

	BOOL			g_bConnectionEstablished;
	BOOL			g_bServerListUpdated;

	_ConnectionPtr	g_pDatabase;
	_RecordsetPtr	g_pRecordset;

	CString			g_strSQLServer;
	CString			g_strPassword;
	CString			g_strUserId;
	CString			g_strDatabase;

	CStringArray	g_strArrayServers;
	CStringArray	g_strArrayDatabases;
	CStringArray	g_strArrayTables;
	CStringArray	g_strArrayColumns;

	CStringArray	g_strSelectedColumnsList;
	CStringArray	g_strSelectedRelationsList;
};

CGlobals::CGlobals()
{
	g_bConnectionEstablished = FALSE;
	g_bServerListUpdated = FALSE;

	g_pDatabase = NULL;
	g_pRecordset = NULL;

	g_strSQLServer = _T("");
	g_strPassword = _T("");
	g_strUserId = _T("");

	g_strArrayServers.RemoveAll();
	g_strArrayDatabases.RemoveAll();
	g_strArrayTables.RemoveAll();
	g_strArrayColumns.RemoveAll();
	g_strSelectedColumnsList.RemoveAll();
	g_strSelectedRelationsList.RemoveAll();
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

VGirish
Founder
India India
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.171016.2 | Last Updated 31 May 2006
Article Copyright 2006 by VGirish
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid