Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
mrkensr
Starting Member
9 Posts |
Posted - 2009-03-03 : 14:34:06
|
Dim sql As New SQLDMO.SQLServer2Dim db As New SQLDMO.Database2Dim objstor As SQLDMO.StoredProcedure2Dim objdependents As SQLDMO.QueryResults For Each db In sql.Databases For Each objstor In db.StoredProcedures If objstor.SystemObject = False Then objdependents = objstor.EnumDependencies(SQLDMODep_Parents) End If Next ' for each objstor Next ' databaseIn the above code snippet I keep get RunTime 91 ErrorObject Variable not set on the EnumDependencies callWhat Am I missing? Thanks in advance |
|
|
|
|