Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create tables from sqldmo

Status
Not open for further replies.

meravsha

Programmer
Jul 27, 2001
21
0
0
IL
I wrote a script with 50 tables definition It's called:
NewTables.sql
my question is: How can I run this script from vb6 -> sqlDmo?
 
With MS SQLServer I would just create a stored procedure and execute that from VB by issuing an SQL statement like EXEC stored_procedure_name?
 
You can also create an SQL statement to create your tables and execute it through an ADO connection.

There are SQLDMO examples available for download at as well. Including this complete enterprise manager clone.


Take Care,

zemp

"If the grass looks greener... it's probably because there is more manure."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top