oc A

oc A

  • NA
  • 30
  • 0

Check if Server, DB and SP exists

Feb 26 2008 6:39 AM

Hai
i am using VB.NET 2003 windows Application... In that i want to connect to SQL Server DataBase dependng on the Server Name AND DataBase name thats i enter in the textbox ... But i want to check if this server and database exists ... Also i want to execute a stored procedure.. That stored procedure Name is also entered in the text box .. before executing the stored procedure i want to check if that stored procedure exists ...How can i check these using VB.net code ? How shud i do the coding ?
If anybody knows plz do help me .. Any Help Appreciated ..


Answers (1)