TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
try abc
1.4k
306
488.1k
How to check whether database or table exist?
Dec 20 2007 8:05 AM
Hello,,
I want to to check whether the Database is already exist in to the Specified Database server.. and also for table.. Is anybody knows the query for this?? i alreasy use the following query . but as the ExecuteNonQuery() only return the rows affeted by the Insert, Update and Delete query. Plz Help
query = "show tables from db_micro_structure;
com = new MySqlCommand(query, myConnection);
try
{
myConnection.Open();
MessageBox.Show(com.ExecuteNonQuery().ToString());
myConnection.Close();
}
catch
{
}
Reply
Answers (
2
)
ASP.NET 3.5 Tool Position
Can some one help on reading the element's name of the XML schema