March 6, 2003 at 10:14 am
Would someone kindly clarify these statements from SQL7 BOL?
1. Use the GenerateSQL method when capturing object definition. Use the Script method when capturing an image of an exiting (sic) component. (Script Method (SQL-DMO))
2. The GenerateSQL method generates a Transact-SQL batch that creates a database. The method fails if the Database object used references an existing SQL Server database. Use the Script method of the Database object to create a Transact-SQL command batch defining an existing database. (GenerateSQL Method (Database) (SQL-DMO))
Say what????
I don't understand the distinction.
Thanks!
March 6, 2003 at 10:43 am
Not a DMO guru, but it appears script is for dbs (existing) and generate is for other objects.
Is definitely poorly written.
Steve Jones
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply