Important alert: (current site time 7/16/2013 3:28:06 AM EDT)
 

winzip icon

SQL Server Database Explorer

Email
Submitted on: 10/2/2000 7:13:58 PM
By: Srdjan Josipovic 
Level: Intermediate
User Rating: By 58 Users
Compatibility: VB 6.0
Views: 58181
 
     Connect to SQL Server Database ,and see all tables and columns in Treeview , Datagrid. All Stored Procedures ( Names and Texts of SP ) , Triggers ( Names and Texts of Triggers ) Views ( Names and Texts of Views ), Defaults ( Text and Name ) , Constraints ( Text and Name ) Primary Keys ( relationships ) , Foreign Key ( relationships ). Search Engine , Combo1 > TableName | Combo2 > Column Name , Criteria >> with each letter (or any other character ) you type , you will narrow the result. Direct Connection to Enterprise Manager ( with SQL Namespace object lib ) . You can perform full administration and implementation of SQL server and every Database ( if you have those rights ) : Create Trigger , Stored Procedure , Role , Rule , Default , User def. Type. Find out about Table Properties, Permissions , Dependencies,Delete Table. You can use EM interface for Generate Scripts , Manage Indexes . You can call EM interface for managing SQL server security, New Db user, and use EM's wizards for Import and Export DTS . Everything is commented and Constants are attached in two Word .doc files. With Query Builder you can perform very complex queries , Create tables , Update , Insert , Delete . It supports T-SQL commands , so you can perform (almost) everything as you can with Query Analyzer. Sample Queries , are attached as comments inside module. How to manipulate , easy , with more recodsets at the same time. Practically , this is simple console for administration and implementation SQL Server database ,with using full power of EM. I hope that You can find this app. useful . If so , vote. Thanks.
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 5 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

10/3/2000 6:22:41 AMasaf

Great code
Thanxs
(If this comment was disrespectful, please report it.)

 
10/5/2000 3:41:53 PMFriction

Keep up the good code DUDE!
(If this comment was disrespectful, please report it.)

 
10/5/2000 8:01:04 PMPablo

Something very usefull ! Excellent job .
(If this comment was disrespectful, please report it.)

 
10/21/2000 7:10:12 PMZIKA

Good CODE
(If this comment was disrespectful, please report it.)

 
11/4/2000 1:24:04 AMAnil Kulkarni

This is a very Good code.

We are looking for connectivity to Informix 7.24 database through VB.
Is any solution for this problem available?
The details on this page indicated that this code can be used to connect to any database. Solution for connecting to Informix will be highly useful.

Please let me know.
Thanks.
E-mail: 3512-ask@ue-dak.ltindia.com
(If this comment was disrespectful, please report it.)

 
11/6/2000 4:00:01 PMTmess

Good Code!
(If this comment was disrespectful, please report it.)

 
11/14/2000 11:20:18 PMRalph

In my first few minutes of viewing your code, I learned how to connect to an SQL server and list databases and tables. I'm looking forward to tomorrow. Thank you very much.
(If this comment was disrespectful, please report it.)

 
11/15/2000 8:03:05 AMDaniel

great program!

query:
what is the command to add a new table?

you have the following for new database role, but wld like to add a button for new table:
objSQLNSObj.Commands(
(If this comment was disrespectful, please report it.)

 
10/19/2001 11:48:47 AMBig Rich

Impressive. This is very useful and handy, and it has a purpose. I pity anyone using Informix. Sure, SQL is simple, but why make things harder? This is a great application that can even execute DMLs. Great job!
(If this comment was disrespectful, please report it.)

 
11/12/2001 1:33:40 PMMax

I cannot register sqlns.rll, sqlns.dll, sqldmo.rll, sqldmo.dll on win98 machines using regsvr32.exe

I created packeages but still did not register those dll or rll.

Can you tell me where I am wrong?
(If this comment was disrespectful, please report it.)

 
8/2/2003 1:45:22 PM

Cool man
(If this comment was disrespectful, please report it.)

 
2/9/2004 2:22:44 PM

Thats awesome. Good Work!
(If this comment was disrespectful, please report it.)

 
7/28/2004 6:41:57 PM

Great job.
Do you know how to add rows in tree view instand of the column. If i have 6 records in a table i need to add the first field witch is the title of the document to the treeview under the table name.
Thank you very much.
(If this comment was disrespectful, please report it.)

 
11/3/2004 3:45:20 AMa_zunaid

This is the best SQL Server and VB project I have seen here so far. Execellent work.
(If this comment was disrespectful, please report it.)

 
1/12/2005 3:10:08 AM

wow! great job! :D
(If this comment was disrespectful, please report it.)

 
1/24/2005 1:16:27 AM

Excellent Code - with this we can control Sql server through VB
(If this comment was disrespectful, please report it.)

 
3/22/2005 10:50:52 PM

good job...interesting and helpful codes...
(If this comment was disrespectful, please report it.)

 
3/22/2005 10:51:42 PM

cool

(If this comment was disrespectful, please report it.)

 
10/6/2005 12:03:17 PMSkullMan

Nice work. Good code. Excellent Thinking.
(If this comment was disrespectful, please report it.)

 
12/8/2005 4:12:25 PMDan Turc

go
(If this comment was disrespectful, please report it.)

 
8/22/2006 12:34:53 AMEdgar Mamugay

Wow! Good code! but seems I got a little problem when using the Restore Database thsi error comes up :"Exclusive access could not be obtained becuase the database is in use. RESTORE DATABASE is terminating abnormally."
(If this comment was disrespectful, please report it.)

 
6/28/2007 1:44:29 AMvd103

aaaaaaaaaa
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.